On 2/26/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> 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
>
>
its actually running a 2.4 kernel on sparc, and i dont think they use
udev, i think they are still on devfs. IIRC. is udev the only way to
accomplish this?

Nick

-- 
gentoo-user@gentoo.org mailing list

Reply via email to