Re: Location of shmfs; devfs automagics

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Wed Mar 29 2000 - 13:32:51 EST


On Wed, 29 Mar 2000, Stephen C. Tweedie wrote:
> On Tue, Mar 28, 2000 at 10:03:58AM -0700, Richard Gooch wrote:
> > 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*.
>
> > 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");
>
> Really? I've got two machines here on which /dev/console is a hard
> link to /dev/ttyS0. I cannot have that functionality with devfs? No
> problem, I disable devfs on every kernel build I make from now on.

Why do you hardlink it to /dev/ttyS0? `console=ttyS0' does that automagically
if /dev/console is char major 5 minor 1.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- 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:25 EST