lkml.org 
[lkml]   [1996]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: when/how do we rescan partitions?
Date
From
In message <9603191743.AA05091=aeb@zeus.cwi.nl>, Andries.Brouwer@cwi.nl writes:
>Marty Leisner:
>
>: Does opening up /dev/hdb R/W and writing the parition table
>: force a rescan of the
>: partition table?
>
>: I don't see it...
>
>Yes. fdisk must of course do a BLKRRPART ioctl to tell
>the kernel that partition tables have changed.

Which doesn't fully work when extended partitions are involved. When
I repartitioned my 1.2G IDE drive, my Linux file system residing in a
newly created logic drive in an extended partition moved by 512 bytes
when I rebooted. Grr.

-
By using this line in your .sig, you violate 18 USC 1462, committing a class D
felony, good for up to 5 years in prison and a $250,000 fine:
Planned Parenthood provides information on abortions.


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.030 / U:1.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site