Re: /proc/misc has bad mode

Robert Nichols (rnichols@interaccess.com)
Thu, 25 Apr 1996 13:56:29 GMT


Andreas Jaeger wrote:
:
: But what are you doing with /dev? I need to mount /dev read-write to
: change e.g. on login the permissions on /dev/tty*. And I fear I cannot
: put /dev on a different partition, can I (I think I need /dev to mount
: other partitions and if I don't have /dev ... :-( )?
: The only possibility that I can see for a read-only root file-system
: is making my /dev/tty* links to another partition.

Make /dev a symbolic link to /var/dev. Under the /var mount point
directory in the root file system, construct a rudimentary "dev"
directory containing only the devices essential for booting and mounting
file systems. (Be sure that you have enough to come up in single-user
mode too.) Put the full "dev" driectory within the file system that
gets mounted on /var.

No, I don't particularly like this solution. Maintaining that
rudimentary "dev" directory would be a big headache for anyone not
involved in inventing it. The fact that it seldom changes just makes it
less likely that Joe Sysadmin would be aware of it when he does
something that would require a change. It is also unlikely that such
a directory would get included in routine backups.

-- 
Bob Nichols         rnichols@interaccess.com