lkml.org 
[lkml]   [2000]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: removable EIDE disks
> Joe Woodward wrote:
>
> I am trying to use removable EIDE hard disks on a Red Hat Linux 6.1
> machine, for backup / walknet purposes.
>
> Issuing a BLKRRPART ioctl call immediately after changing the disk
> works, but only if the new disk is no larger than the disk present at
> boot time (smaller and equal capacity disks work OK).
>
> How do I get Linux to recognise that the media in /dev/hdc has
> changed?
>
> Bill Nottingham suggested that I ask you, as he is unsure if this is a
> bug or if there is a technique that I am missing.
>
>
> Thanks
>
> Richard Stanton
>
> rich@twasystems.fsnet.co.uk
>

Try using the HDIO_SCAN_HWIF ioctl instead. This is what I have been
using, and it work(ed) just fine. (It seems to result in hard locks on
the newer 2.2.x, where x>14, kernels though).

-justin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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