lkml.org 
[lkml]   [1999]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: re-scan ide devices
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.245 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site