On 2/25/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> is there a way to rescan for devices after bootup? like if i
> hot-plugged a scsi drive into the machine after it was already
> running? how can i re-detect the hardware?
If you are using udev, and have configured the kernel for hotplug
support, this should not be necessary.  The kernel will generate the
appropriate hotplug events, and udev will create the device nodes.

>
> also, what if it detects a drive as sda, and i want it to be sdb? is
> there a way i can tell it what i want to be sda, sda etc? without
> actually having to move the drives around?

Write udev rules to create persistent device names.

An example:
BUS=="usb", KERNEL=="sd[a-z]2", SYSFS{serial}=="300000005AF6",
SYMLINK="%k", NAME="backups%e"

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to