lkml.org 
[lkml]   [2000]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Location of shmfs; devfs automagics
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans