Re: no need for a devfs

Kai Henningsen (kaih@khms.westfalen.de)
10 Jan 1998 22:38:00 +0200


pbrutsch@creighton.edu (Phil Brutsche) wrote on 07.01.98 in <Pine.HPP.3.95.980107213351.13482C-100000@bluejay.creighton.edu>:

> No, please don't do this. It's too confusing. What's wrong with the
> current SCSI setup (/dev/sda, /dev/sda1, /dev/sda2, etc) in any case?

It's fragile. But then, so is the proposed replacement.

What you probably really want is something like this:

* for each partition, determine a unique id somehow (ext2 already has
this, and so does FAT)

* Use this id to identify the partition

That way, you can add or remove disks, change them to other adapters and/
or different SCSI IDs, and create and delete partitions. As long as you
don't touch the named partition, it will be found every time.

And it works for every disk type, not only SCSI disks.

You could have the kernel advertize these names in /proc/disks/ or
something similar.

Keep the old names for fdisk usage, though.

MfG Kai