On Thursday 25 January 2007 11:12, Neil Bothwick wrote:
> On Thu, 25 Jan 2007 09:54:51 +0200, Alan McKinnon wrote:
> > When the
> > kernel boots, it reads the partition table off disk and knows that
> > the first partition starts at cylinder 0 and the second partition
> > starts at say cylinder 2000. The kernel doesn't update this
> > information when you run fdisk, so if you delete two partitions and
> > create one big one, the kernel can get confused. It's not hard to
> > fix on the PC, but Linux runs on 20 architectures that are not all
> > as crazy as Intel PCs, which might be why this oddity is still
> > there are 15 years. Redhat have a utility called partprobe that
> > gets everything back in sync after using fdisk, but I have yet to
> > find it in Portage
>
> You can do this with "hdparm -z". If it reports an error, you'll need
> to reboot to ensure the kernel's partition table is up to date.

Ah, but I don't want to reboot to update the kernels' view of things. 
All I want to do is run partprobe and then carry on working. It should 
not be necessary to reboot to do this.

But Google just helped me find it - partprobe is in the parted package

alan



-- 
gentoo-user@gentoo.org mailing list

Reply via email to