Re: Location of shmfs; devfs automagics

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Tue Mar 28 2000 - 12:03:58 EST


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.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:22 EST