Anonymous
public text v1 · immutable# 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