[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Where is /dev/eth0 ? What are major & minor devicenumbers?



On Thu, 2002-05-30 at 23:49, Andrew Basterfield wrote:
> They're there for compatibility but they're no longer used by the kernel
> to identify which device a /dev entry corresponds to.

Your statment was that it doesn't use them, which it clearly does. Try
reading fs/devfs/base.c; they crop up quite often.

Yes, I agree they are there for compatability, no, you cannot do without
them.

> > Devfs is filesystem based. "Device Filesystem" = Devfs.
> 
> Devfs is not a filesystem, a filesystem is a system for storing files.

What do you think entries in /devfs are? They're files. Devfs is a
filesystem. It's code is in linux/fs. Mount shows it as type 'devfs'. 

Trying to argue procfs is less a filesystem than ext2 is fairly
non-sensical. Everything is a virtual filesystem, it's even called the
VFS.

Cheers,

Alex.


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.