All pastes #423184 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-03 23:20 UTC
rendered paste body
# Move the real filesystem's /dev to beneath our tmpfs, then move it all
# to the real filesystem
mkdir -m 0700 -p /dev/.static/
mkdir /dev/.static/dev/
mount -n -o bind $rootmnt/dev /dev/.static/dev
mount -n -o move /dev $rootmnt/dev