change permissions on /dev/null

Matthew Burgess matthew at linuxfromscratch.org
Tue Aug 16 10:58:29 PDT 2005


Andrew Benton wrote:

> If udev is running, won't /dev be a temporary filesystem that will 
> disappear when you reboot?

Well, kind of!  It's pretty subtle in the book, but we do actually 
create /dev/null and /dev/console devices on disk so that booting into 
single user mode will work.  During a normal boot, though, a tmpfs will 
be mounted at /dev with the apparent effect of "overwriting" the on-disk 
devices.

Matt.



More information about the blfs-support mailing list