[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rereading a partition

Hi, ive been working on a simple fdisk like program, im stuck trying to
workout how to get the program to reread the partition table.

In linux there is an ioctl defined as BLKRRPART which works, i found
something similar called V_REMOUNT in /include/mach/machine/disk.h, the
comment says it remounts a drive.

When i try and use V_REMOUNT perror reports that its not apropriate for
the device, i cant remember the exact message now, but it was words to
that effect.

Whats the correct was to get hurd to rescan the disk after the partition
table has changed ?



Reply to: