[lkml]   [1998]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: disk naming proposal & devfs
On Sun, Jan 11, 1998 at 12:09:19PM +0800, Larry McVoy wrote:
> The short summary is: can we please add a mechanism to the system that
> names the /name/ of the data we want, not the /location/ of the data
> we want? Something like /dev/usr that is a symlink to the real name of
> where ever /usr plugged into the system today? This is most helpful to
> people that move stuff around in their system.

SCO already does something like this. Firstly, SCO doesn't like the DOS
partition thing so they put unix in one big partition and then divide it
into divisions. Each division has a name and that name appears in /dev. I
think there is a /dev/disks as well but I have
/dev/root mounted on /
/dev/dump (same major/minor as /dev/swap)
/dev/user mounted on /usr
/dev/dsk2 mounted on /dsk2
/dev/oldroot mounted on /oldroot (from an upgrade)

The problem is that the label is not stored on the disk, it's stored in the
kernel config. As are the disk numbers! ARRGGHH!

So if you pull a disk out of one scsi bay and put it in another, SCO
forgets all the division names and you have to go in and reassign them..
At times I've found this naming concept VERY annoying.
Although having /dev/fujitsu_5gig or /dev/seagate_slow or whatever I cared
for that day that stayed with the parition forever, would be cool.
[ Kevin Lentin Email: ]
[ finger for PGP public key block. ]
[ KeyId: 06808EED FingerPrint: 6024308DE1F84314 811B511DBA6FD596 ]

 \ /
  Last update: 2005-03-22 13:41    [W:0.046 / U:22.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site