Re: fdisk unable to re-read partition table (v2.14)

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

 



On Sat, Jan 01, 2011 at 09:04:01PM +0000, Jon Grant wrote:
> In an old version of fdisk, it was not possible to re-read the
> partition table on a device which contained the mounted root
> partition. is this still the case? 

 Sure.

> If so, could the error message
> include this info, so users know they need to reboot.

 There is:
 
	printf(_("\nWARNING: Re-reading the partition table failed with error %d: %s.\n"
			 "The kernel still uses the old table. The new table will be used at\n"
			 "the next reboot or after you run partprobe(8) or kpartx(8)\n"),
			 errno, strerror(errno));

> Example old output:
[...]
> The new table will be used at the next reboot.

 I think it's pretty obvious that you need to reboot.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux