change permissions on /dev/null

Jens Olav Nygaard jens_olav.nygaard at chello.no
Tue Aug 16 12:55:45 PDT 2005


Matthew Burgess wrote:

> 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.

Hmmmm. Can this explain the following: I wanted to make a mirror of my
installation, and did 'cp -ax / /mnt', the empty mirror root mounted
on /mnt. I tried to boot it, but something went wrong rather quickly.
Could the reason be that I did not do 'cp -ax /dev /mnt' after the first
copy?

J.O.



More information about the blfs-support mailing list