Re: re-scan ide devices
Egervary Gergely (mauzi@faber.poli.hu)
Tue, 6 Jul 1999 11:04:26 +0200 (CEST)
> The drives on the re-scanned channel must not be in use (mounted,
> ioctl-operated, etc.).
> If you want to rescan sth on the first IDE channel, you must:
> - umount everything from /dev/hdax, dev/hdbx
> - swapoff -"- -"- -"-
> - use an existing drive from another channel in fopen(), eg. hdc
>
> These are ioctl() limitations...
I'm trying to re-scan ide1 (with a single disk, hdc connected) and
_really_ nothing uses that disk. - and, as you see - I fopen()
/dev/hda
which is on ide0 ofcourse...
ideas? working code?
- mauzi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/