From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Mon, 27 Feb 2006 18:34:39 +0000 Subject: Re: Creating partition devices after creating a partition on a harddisk? Message-Id: <200602272134.40961.arvidjaar@mail.ru> List-Id: References: <20060223111429.GA21178@sci.fi> In-Reply-To: <20060223111429.GA21178@sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 27 February 2006 17:18, David Zeuthen wrote: > On Thu, 2006-02-23 at 14:32 +0300, Andrey Borzenkov wrote: > > You should be able to do 'bockdev --rereadpt /dev/hda' to force kernel to > > reread partition table. I would expect that fdisk (or whatever is used to > > repartition) does the equivalent IOCTL automatically. > > I'm pretty sure this wont work on IDE unless someone fixed the IDE code > in kernel recently. Is this the case? > Well, it fails if some partition is mounted or otherwise busy, but this is not IDE specific. What makes IDE so different? - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEA0ZAR6LMutpd94wRAq5IAKCouLLqln/ONDDaxGfBeHuck0E1CgCeMjC0 Fy7ahI9u3U3LrMeCYEnrKoI=lLc2 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel