Re: Possibly silly Q?

From: Dagfinn Ilmari MannsÃker
Date: Mon Jan 14 2008 - 15:27:38 EST


Gene Heskett <gene.heskett@xxxxxxxxx> 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>'.

--
ilmari
"A disappointingly low fraction of the human race is,
at any given time, on fire." - Stig Sandbeck Mathisen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/