lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Possibly silly Q?
Date
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/



\
 
 \ /
  Last update: 2008-01-14 20:57    [W:0.218 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site