All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@clusterfs.com>
To: Yedidyah Bar-David <didi@tau.ac.il>
Cc: linux-kernel@vger.kernel.org
Subject: Re: updating the partition table of a busy drive
Date: Mon, 26 Aug 2002 16:02:38 -0600	[thread overview]
Message-ID: <20020826220238.GE19435@clusterfs.com> (raw)
In-Reply-To: <20020827005254.A20617@soul.math.tau.ac.il>

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.

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


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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26 21:52 updating the partition table of a busy drive Yedidyah Bar-David
2002-08-26 22:02 ` Andreas Dilger [this message]
2002-08-26 23:02   ` Yedidyah Bar-David
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=20020826220238.GE19435@clusterfs.com \
    --to=adilger@clusterfs.com \
    --cc=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 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.