Re: Location of shmfs; devfs automagics

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Tue Mar 28 2000 - 23:01:50 EST


Rask Ingemann Lambertsen writes:
> Den 28-Mar-00 19:03:58 skrev Richard Gooch f=F8lgende om "Re: Location of=
> shmfs; devfs automagics":
>
> > 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");
>
> Also, perhaps devfs could mount on /dev even if /dev is missing?
> Currently, you can get a nasty surprice when not being careful during a
> transition to devfs: If you forget to mkdir /dev before rebooting, you ge=
> t
> "Unable to mount devfs on /dev: -36", followed by "unable to open initial
> console", at which point you can safely forget about booting from that ro=
> ot
> fs.

This seems like an unlikely situation anyway. Prior to devfs, you must
have had a /dev directory (populated with device nodes), otherwise
nothing would have worked anyway.

The kernel can't really help it if the admin removes /dev. What if the
admin removes /sbin/init ?

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