mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yedidyah Bar-David <didi@tau.ac.il>
To: linux-kernel@vger.kernel.org
Subject: Re: updating the partition table of a busy drive
Date: Tue, 27 Aug 2002 02:02:01 +0300	[thread overview]
Message-ID: <20020827020201.A20702@soul.math.tau.ac.il> (raw)
In-Reply-To: <20020826220238.GE19435@clusterfs.com>; from adilger@clusterfs.com on Mon, Aug 26, 2002 at 04:02:38PM -0600

On Mon, Aug 26, 2002 at 04:02:38PM -0600, Andreas Dilger wrote:
> On Aug 27, 2002  00:52 +0300, Yedidyah Bar-David wrote:
> > Currently, any change to a partition table of a busy drive is
> > practically delayed to the next reboot. Even things trivial as
> > changing the type of an unmounted partition do not work, if
> > another partition on that drive is mounted (or swapped to, etc.).
> > 
> > On a side note, about a year and a half ago, there was a thread
> > on lkml with the subject 'Partition IDs in the New World TM', in
> > which a 'parttab' file was mentioned. I grepped and STFWed a lot,
> > and could not find any relevant mention anywhere, besides this
> > thread. Is this parttab implemented? Documented? Perhaps under
> > a different name? Is this case it is quite hard to find
> > (google search for 'linux parttab' has 37 results, but for
> > e.g. 'linux partition table initrd' 11400 results).
> 
> Please see partx (util-linux) and/or GNU parted for tools which can
> change partitions on mounted disks.  I believe the kernel has supported
> this since 2.4.0, but not many tools do.

Thanks a lot! I am right off to adding a small note on my home
page for google searches to find. Tools help, but information
even more.
I tried partx and it works just fine. parted will probably be even
better, but is a bit more complicated (or so it seems).

> 
> Cheers, Andreas
> --
> Andreas Dilger
> http://www-mddsp.enel.ucalgary.ca/People/adilger/
> http://sourceforge.net/projects/ext2resize/

Again, Thanks!

	Didi


  reply	other threads:[~2002-08-26 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26 21:52 Yedidyah Bar-David
2002-08-26 22:02 ` Andreas Dilger
2002-08-26 23:02   ` Yedidyah Bar-David [this message]
2002-08-27 21:14 ` Andries Brouwer

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=20020827020201.A20702@soul.math.tau.ac.il \
    --to=didi@tau.ac.il \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®