public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: re-reading the partition table on a "busy" drive
Date: Fri, 8 Sep 2006 10:27:18 +0200	[thread overview]
Message-ID: <20060908082718.GA30894@aepfle.de> (raw)
In-Reply-To: <45004707.4030703@tls.msk.ru>

On Thu, Sep 07, Michael Tokarev wrote:

> Is it possible to implement such a feature?  I mean, is it
> easy to know which *partitions* (subdevices?) of the whole
> device are currently in use, as opposed to the whole drive?

Its already there, see include/linux/blkpg.h
parted uses this interface, fdisk and others use the rereadpt ioctl.

      parent reply	other threads:[~2006-09-08  8:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-07 16:21 re-reading the partition table on a "busy" drive Michael Tokarev
2006-09-08  5:55 ` Oleg Verych
2006-09-08  6:58   ` Jan Engelhardt
     [not found]     ` <20060908135858.GB14370@flower.upol.cz>
2006-09-08 13:34       ` Michael Tokarev
2006-09-08 13:47         ` Jan Engelhardt
2006-09-08 14:56           ` Oleg Verych
2006-09-08  8:27 ` Olaf Hering [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=20060908082718.GA30894@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox