[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ensuring SCSI drive is mounted correctly whether or not a USB drive is plugged in at boot-up time



On Tuesday 2009 January 20 05:39:37 Arthur Marsh wrote:
>Ron Johnson wrote, on 20/01/09 06:08:
>> On 01/19/2009 01:30 PM, Boyd Stephen Smith Jr. wrote:
>>> On Monday 2009 January 19 13:15:28 Arthur Marsh wrote:
>>>> I have a machine that boots from and IDE drive then finds an internal
>>>> SCSI drive after any USB drives are found.
>>>>
>>>> The SCSI disk gets fsck'd and mounted fine if there is no USB drive in
>>>> the machine, but the mount -a process at start-up mounts the USB drive
>>>> in place of one of the partitions of the SCSI disk when the USB drive is
>>>> present.
>>>
>>> Don't use device names that are dynamically assigned based on
>>> discovery order (e.g. /dev/sdxN).
>>>
>>> Use /dev/disk/by-{label,uuid,id,path}, if possible; the stock Debian
>>> udev rules should create appropriate symlinks in these directories.
>>>
>>> Failing that, write your own udev rule that reflects how you would
>>> identify the device based on what the kernel "sees" and what name you
>>> would like assigned to it.
>>
>> Or UUID.
>
>The SCSI disk did *not* have entries in /dev/disk/by-uuid, nor entries
>in /dev/disk/by-label and I didn't want to attempt writing a label to
>the disk.

Best I can tell, these are actually properties of the filesystem.  If the SCSI 
disk does not have a filesystem directly on it, it won't show up there.  
(It's partitions might, or LVs residing on it, aut alia.)
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: