On Sat, 3 Jun 2006 20:08:43 -0700
"Mark Knecht" <[EMAIL PROTECTED]> wrote:

> Hi,
>    I created a new logical partition on my main drive. I'm wondering
> how I would tell the kernel to use the new table without doing a
> reboot? Is this possible and is it easy or dangerous? I'd prefer not
> to reboot right now, but would rather reboot than take too many
> chances.
> 
> Thanks,
> Mark
> 
> /dev/sda11          10252       14075    30716248+   7  HPFS/NTFS
> /dev/sda12          14076       15049     7823623+  83  Linux
> 
> Command (m for help): w
> The partition table has been altered!
> 
> Calling ioctl() to re-read partition table.
> 
> WARNING: Re-reading the partition table failed with error 16: Device
> or resource busy.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
> Syncing disks.
> lightning ~ #

`hdparm -z' should do it. It's not listed as "(DANGEROUS)" in the usage
table, so I presume it is safe to use.

--Adam
-- 
[email protected] mailing list

Reply via email to