1 |
On 2/25/06, Nick Smith <nick.smith79@×××××.com> wrote: |
2 |
> is there a way to rescan for devices after bootup? like if i |
3 |
> hot-plugged a scsi drive into the machine after it was already |
4 |
> running? how can i re-detect the hardware? |
5 |
|
6 |
If you are using udev, and have configured the kernel for hotplug |
7 |
support, this should not be necessary. The kernel will generate the |
8 |
appropriate hotplug events, and udev will create the device nodes. |
9 |
|
10 |
> |
11 |
> also, what if it detects a drive as sda, and i want it to be sdb? is |
12 |
> there a way i can tell it what i want to be sda, sda etc? without |
13 |
> actually having to move the drives around? |
14 |
|
15 |
Write udev rules to create persistent device names. |
16 |
|
17 |
An example: |
18 |
BUS=="usb", KERNEL=="sd[a-z]2", SYSFS{serial}=="300000005AF6", |
19 |
SYMLINK="%k", NAME="backups%e" |
20 |
|
21 |
-Richard |
22 |
|
23 |
-- |
24 |
gentoo-user@g.o mailing list |