All of lore.kernel.org
 help / color / mirror / Atom feed
From: Justin Schoeman <justin@suntiger.ee.up.ac.za>
To: Joe Woodward <woodey@twasystems.fsnet.co.uk>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: removable EIDE disks
Date: Tue, 07 Nov 2000 14:57:33 +0200	[thread overview]
Message-ID: <3A07FC3D.13663547@suntiger.ee.up.ac.za> (raw)
In-Reply-To: <000001c048ae$6132c340$6904883e@default>

> 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/

      parent reply	other threads:[~2000-11-07 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07 11:12 removable EIDE disks Joe Woodward
2000-11-07 12:29 ` Alan Cox
2000-11-07 12:37 ` Andries Brouwer
2000-11-07 12:57 ` Justin Schoeman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A07FC3D.13663547@suntiger.ee.up.ac.za \
    --to=justin@suntiger.ee.up.ac.za \
    --cc=linux-kernel@vger.kernel.org \
    --cc=woodey@twasystems.fsnet.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.