[lkml]   [2000]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Location of shmfs; devfs automagics
H. Peter Anvin writes:
> The second is that devfs seems to think it is above the normal way of
> doing things (unlike ALL OTHER filesystems, including procfs and
> shmfs) and not only will mount itself on /dev automatically, but will
> do so *by default*. This is incredibly antisocial behaviour, and has
> no justification. If there are conditions under which you would need
> devfs before you have mount(8) available -- which I do not believe is
> ever the case -- it may be justifiable to have it as an option, but
> making it default behaviour is pretty much unacceptable. Use
> /etc/fstab like everything else, please.

No, it's not antisocial. It was done for good reason. Before I even
consider changing the default, I want someone to fix init/main:init()
so it doesn't do:
if (open("/dev/console", O_RDWR, 0) < 0)
printk("Warning: unable to open an initial console.\n");

instead it should talk to the console driver directly.

I'd have to back into my archives and check, but there was more than
one reason why having the kernel mount devfs was preferable. The above
was the staw that broke the camel's back.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.143 / U:5.464 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site