From: Yedidyah Bar-David <didi@tau.ac.il>
To: linux-kernel@vger.kernel.org
Subject: updating the partition table of a busy drive
Date: Tue, 27 Aug 2002 00:52:54 +0300 [thread overview]
Message-ID: <20020827005254.A20617@soul.math.tau.ac.il> (raw)
Hello everyone,
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.).
Is this really unavoidable? Of course, generally, this is
dangerous: E.g., deleting a logical partition (in a PC-BIOS
scheme) can change the numbers of other partitions. But the test
currently seems very conservative. I haven't yet looked too much
at the code, but I think a slightly less conservative test (that
will still not update in many situations, but will allow trivial
things like adding a primary partition), will not be too hard.
Is such a thing needed by others, or is it just me? Suppose I
write an initial patch, are there interested beta testers?
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 CC me as I am not subscribed to lkml.
Thanks,
Didi
next reply other threads:[~2002-08-26 21:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-26 21:52 Yedidyah Bar-David [this message]
2002-08-26 22:02 ` Andreas Dilger
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=20020827005254.A20617@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®