Re: extended paritions are evil.

Richard Gooch (rgooch@atnf.CSIRO.AU)
Mon, 9 Feb 1998 11:33:48 +1100


John G. Alvord writes:
> On Sun, 8 Feb 1998 23:11:35 +0100, Martin von Loewis
> <martin@mira.isdn.cs.tu-berlin.de> wrote:
>
>
> >Someone suggested that devfs might be able to solve this. I believe
> >it currently doesn't.
> >
> When devfs was first described, one of the features was that certain
> devices which had "serial numbers" such as most hard disk file
> systems, would be represented as a /dev/volume/serial... which would be
> a symbolic link to the full address. Then the fstab entries could
> optionally reference a device independent of the hardware position.

This is actually a separate issue from devfs in some ways. While it
would make use of devfs, devfs itself wouldn't care it: it's just
another legitimate use of devfs.

BTW: being able to mount SCSI discs based on hardware position rather
than index of discs found has been quite useful. I recently had my
boot disc (ID=0) start to give errors. With devfs I was able to remove
and insert my dying disc without the need to edit /etc/fstab every
time. Reconfiguring was a fairly painless process.

With the old numbering scheme this would have been a nightmare (I have
4 discs each with several partitions). In the past doing this sort of
work has caused me no end of fustration.

> Haven't heard anything recently about it.

That's because devfs hasn't made it into the mainstream kernel yet:
I'm still waiting for a few patches to tidy some things up before I
submit it to Linus. Once devfs is in the mainstream kernel, someone is
welcome to write a patch to support volume labels.

Furthermore, if someone wants to start hacking on that now, and have
it included in devfs or kept as an additional patch, they are free to
do so :-)

For interest, I've appended the current ToDo list for devfs. Feel free
to send me items that should be added to the list (preferably with a
volunteer to do the work).

Regards,

Richard....
===============================================================================
Device File System (devfs) ToDo List

Richard Gooch <rgooch@atnf.csiro.au>

5-FEB-1998

This is a list of things to be done for better devfs support in the
Linux kernel. If you'd like to contribute to the devfs, please have a
look at this list for anything that is unallocated. Also, if there are
items missing (surely), please contact me so I can add them to the
list (preferably with your name attached to them:-).

- create /proc/devlist (maybe), with a format like:
name type perm user group class
(class should be "disk", "audio" and so on)
Me

- write man pages for devfs functions
Me

- change generic/IDE disc driver to have names like SCSI discs
Thanks to Nicholas J. Leon <nicholas@binary9.net>

- >256 ptys
Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- SoundBlaster cdrom support
Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
and Andrzej Krzysztofowicz <ankry@idk.com.pl>

- Uniform CD-ROM support
Thanks to Erik Andersen <andersen@inconnect.com>

- Hide unopened virtual consoles from directory listings
Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu