lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Possibly silly Q?
On Mon, 14 Jan 2008, Dagfinn Ilmari Mannsåker wrote:

> Gene Heskett <gene.heskett@gmail.com> writes:
>
> > Greetings;
> >
> > Do we have a utility that can force the kernel to re-read, and re-initialize
> > itself to a given drives partition tables without having to reboot if one is
> > working with a drive that is not part of the required kernel directory tree?
> […]
> > Something it seems to me, should have forced the re-init, but didn't. So is
> > there a tool that can force that?
>
> fdisk or similar should have issued an ioctl to reread the partition
> table after writing the new one, but you can do it manually with
> 'blockdev --rereadpt <device>'.

i remember bringing up this very issue quite some time ago and, IIRC,
the consensus was that *primary* partition changes would be re-read by
the kernel, but not *logical* partition changes. or something sort of
like that.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

Home page: http://crashcourse.ca
Fedora Cookbook: http://crashcourse.ca/wiki/index.php/Fedora_Cookbook
========================================================================
\
 
 \ /
  Last update: 2008-01-14 21:57    [W:0.136 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site