Re: Possibly silly Q?

From: Anton Altaparmakov
Date: Mon Jan 14 2008 - 14:55:23 EST


Hi,

On 14 Jan 2008, at 19:34, Gene Heskett wrote:
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?


Yes, the blockdev utility. You want the --rereadpt option, i.e.

blockdev --rereadpt /dev/sdc

It is part of the util-linux package.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/

--
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/