Colleen Beamer writes:
> I have a usb external hard drive attached to my computer. It's an
> Iomega and has a power switch. In fstab it is /dev/sdc1 and /dev/sdc2
> because I've configured it to have two ext3 partitions. If the drive
> is not powered on when I boot and then, I turn it on, I have to reboot
> to get fstab to recognize it. That has always sort of irked me, but I
> dealt with it because the drive holds only my music files.
What I do is to build SCSI as modules into the kernel. When I turn on a
SCSI device, I remove the module and modprobe it again. For my adaptec
controller:
modprobe -r aic7xxx && modprobe aic7xxx
However, this works only if removing the module is possible. If you have a
mounted file system on a SCSI drive, this will not work.
If there is an easier solution, I'd be interested to hear about it.
> The wrinkle is that my son bought me a usbstick. I can mount it just
> fine. However, if my usb external hard drive is not powered on on
> boot, the stick is recognized at sdc1. If the usb drive is powered on
> then, the stick is recognized as sdd1. So, this means that if I want
> to use one or the other or both, I keep having to change fstab. Is
> there a way I can set the device to always be the same - i.e. I always
> want the usb external drive to be sdc1 and sdc2 and the usb stick to be
> sdd1.
I let udev manage this, so I get a /dev/stick and /dev/externhd. Or I just
use KDE which opens a window with the contens of the drive/stick. But
others already wrote more about that in detail.
> I know! I only want the world. If there isn't a way that this can be
> done, then I'll live with the situation. It's not earth shattering!
Oh yes it is!
Wonko
--
[EMAIL PROTECTED] mailing list