[Gllug] Linux on a box with mixed discs

Bruce Richardson itsbruce at uklinux.net
Wed May 19 10:00:50 UTC 2004


On Wed, May 19, 2004 at 10:46:30AM +0100, Tethys wrote:
> 
> Andrew Halliwell writes:
> 
> >SuSE 9.1 appears to have a solution to this.
> >There's a daemon they use at bootup that hardlocks a specific scsi device to
> >a specific /dev special device.
> >
> >Seems quite an obvious move, I'm surprised no-one thought of that before.
> 
> They have. devfs has been doing this for years IIRC (although I've never
> personally used it), and udev also does it in the 2.6 world.

Both solutions allow you to create quite arbitrary names for devices, if
you want.  udev does it more thoroughly than devfs, though, because it
can tie a particular name to a particular hardware identifier, so that
it survives a device being moved from one SCSI interface (or USB hub) to
another.  

While devfs provides some handy shortcuts like /dev/tapes/tape0 (and
tape1, tape2 etc), these are not useful if you (for example) have one
tape drive and scsi tape support compiled as a module: every time the
module is reloaded, the shortcut increments to /dev/tapes/tapeN+1

-- 
Bruce

I must admit that the existence of Disneyland (which I know is real)
proves that we are not living in Judea in AD 50. -- Philip K. Dick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20040519/3109d1d5/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list