lkml.org 
[lkml]   [1997]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCSI disk devices

>I had always thought that the right approach would go far beyond
>scsidev; if you have a volume management daemon that would automatically
>do the right thing based on the volume ID (pretty much all filesystems
>have them now: ext2, iso9660, even MS-DOS FAT), then who cares what the
>device name is?

Actually, scsidev currently has an aliasing feature. There is
a file /etc/scsi.alias which can contain things like:

>serial_number="DX908FK", devtype=disk, alias=sd4gig
>manufacturer=WANGTEK, devtype=tape, alias=qictape
>id=2, devtype=generic, alias=cdwriter

and when you run scsidev, entries will be created like

/dev/scsi/qictape

You can match against all sorts of stuff. It has been on my list of
possible improvements to allow it to match filesystem type and volume
label for disks. This *sounds* like it is starting to get us kind of
close to what you are talking about at the lowest level. On top of
this we would need some kind of interface to a volume management
daemon would be needed to make it idiot proof and to manage the
database.

-Eric

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