From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22930 invoked from network); 12 Aug 1998 07:54:08 -0000 Received: from ellpspace.math.ualberta.ca (michal@129.128.88.19) by mail2.redhat.com with SMTP; 12 Aug 1998 07:54:08 -0000 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id BAA15514 for axp-list@redhat.com; Wed, 12 Aug 1998 01:54:04 -0600 From: Michal Jaegermann Message-Id: <199808120754.BAA15514@ellpspace.math.ualberta.ca> Subject: Re: Took the plunge and went SCSI the Cabriolet To: axp-list@redhat.com Date: Wed, 12 Aug 1998 01:54:04 -0600 (MDT) In-Reply-To: from "Brian E.W. Wood" at Aug 12, 98 00:15:36 am Content-Type: text Brian E.W. Wood wrote: > > > I agree with what you say, but therein lies potential trouble for the unwary. > Because of the "dynamic" way in which Linux assigns drive IDs. The lowest ID > numbered drive on the first SCSI controller will be assigned as sda, the next > sdb etc. ..... > > In this respect I have to say that one of the few things I prefer about Solaris > over Linux is the way in which it avoids these problems entirely by pegging the > drive name to its ID number. For all of you to whom this way of assignment of scsi "tags" can be a problem - for a very long time on tsx-11.mit.edu there is available 'scsidev' utility which solves this in a user space. Yes, it does compile on Alpha and it works too. There are also some enhancements avaiable - although I cannot now to tell where. The whole underlying infrastructure required for mounting file systems by their unique id's is also present in Linux. So far nobody bothered to provide user tools to make that useful. For the current developmnent kernels there is a proposed 'devfs' patch which provides "Solaris like" scheme. Frankly, the more I look at it the less I like it. It has at least three very serious problems: - it is relatively "heavy weight", i.e. it intervenes quite substantially into existing kernel structures - it puts way too much policy decisions into kernel (which implies, among other things, that if something will go wrong you will have a tough time untangling resulting mess as witnessed by all those who had a displeasure of having an "accident" on Solaris after which you may spent long hours trying to figure out which device happens to be your keyboard) - it lacks an information persistence (so what were ownership and permissions on this device?) and proposed workarounds are hair-raising hacks; hypothetical better solutions make 90% of devfs superflous. Problems of device identification will hit with force when USB will start to show up in reality. We will see solutions as well ('scsidev' is limited only to SCSI) but I hope for something better than devfs although devfs experience surely will not be wasted. Michal