public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Couto <rpc@cafe4111.org>
To: Remi Colinet <remi.colinet@free.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Questions : disk partition re-reading
Date: Mon, 19 Apr 2004 18:37:55 -0400	[thread overview]
Message-ID: <200404191837.55275.rpc@cafe4111.org> (raw)
In-Reply-To: <4082819E.10106@free.fr>

On Sunday 18 April 2004 09:24 am, you wrote:
> Hi,
>
> I have 2 questions about disk partitioning under linux 2.6.x :
>
> 1/ Is it possible to alter a disk partition of a used disk and beeing
> able to use the modified partition without having to reboot the box?
>

as already stated,it can be. fdisk tries to refresh the kernel's copy of the 
table every time it writes, and hdparm -Z /dev/hdx does the same, but both 
will fail if any partitions are mounted from that disk. unmounting, then 
re-partitioning, then remounting lets it work... this is often useful to me 
when working from rescue disks but never when booted from that drive, or 
if /usr, /var, or /tmp are on it

-- 
Rob Couto [rpc@cafe4111.org]
computer safety tip: use only a non-conducting, static-free hammer.
--

  parent reply	other threads:[~2004-04-19 22:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-18 13:24 Questions : disk partition re-reading Remi Colinet
     [not found] ` <200404181707.10467.christian.kroener@tu-harburg.de>
2004-04-18 14:40   ` Remi Colinet
2004-04-18 17:58 ` DervishD
2004-04-19  3:49 ` Jakob Oestergaard
2004-04-19 11:39 ` Erik Mouw
2004-04-19 22:37 ` Rob Couto [this message]
2004-04-20  7:46 ` Andries Brouwer
2004-04-20 14:36   ` Rogier Wolff
2004-04-25 22:15     ` Andries Brouwer
2004-04-26  8:31       ` Wichert Akkerman
2004-04-26 15:21         ` Bill Davidsen
2004-04-29  0:26           ` Andries Brouwer
2004-04-29  0:15         ` Andries Brouwer
2004-04-29  8:04           ` Wichert Akkerman

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=200404191837.55275.rpc@cafe4111.org \
    --to=rpc@cafe4111.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=remi.colinet@free.fr \
    /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