summaryrefslogtreecommitdiffstats
path: root/fdisk/cfdisk.8
diff options
context:
space:
mode:
authorVincent Deffontaines2008-09-16 13:08:12 +0200
committerKarel Zak2008-10-06 11:52:48 +0200
commitc64061c9b306f2db49ba97d066b8487f66a914fa (patch)
treed491eae63be37f3e4b49b91d400942d3903df05d /fdisk/cfdisk.8
parentmount: remove link to namesys.com (diff)
downloadkernel-qcow2-util-linux-c64061c9b306f2db49ba97d066b8487f66a914fa.tar.gz
kernel-qcow2-util-linux-c64061c9b306f2db49ba97d066b8487f66a914fa.tar.xz
kernel-qcow2-util-linux-c64061c9b306f2db49ba97d066b8487f66a914fa.zip
fdisk: suggest partprobe(8) and kpartx(8) when BLKRRPART failed
Signed-off-by: Vincent Deffontaines <vincent@gryzor.com> Signed-off-by: Karel Zak <kzak@redhat.com> Co-Author: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/cfdisk.8')
-rw-r--r--fdisk/cfdisk.817
1 files changed, 11 insertions, 6 deletions
diff --git a/fdisk/cfdisk.8 b/fdisk/cfdisk.8
index 3cf8c8944..0eaf5ab3c 100644
--- a/fdisk/cfdisk.8
+++ b/fdisk/cfdisk.8
@@ -349,11 +349,14 @@ Write partition table to disk (must enter an upper case W). Since
this might destroy data on the disk, you must either confirm or deny
the write by entering `yes' or `no'. If you enter `yes',
.B cfdisk
-will write the partition table to disk and the tell the kernel to
-re-read the partition table from the disk. The re-reading of the
-partition table works in most cases, but I have seen it fail. Don't
-panic. It will be correct after you reboot the system. In all cases,
-I still recommend rebooting the system -- just to be safe.
+will write the partition table to disk and the tell the kernel to re-read the
+partition table from the disk. The re-reading of the partition table does not
+work in some cases, for example for device-mapper devices. In
+particular case you need to inform kernel about new
+partitions by
+.B partprobe(8),
+.B kpartx(8)
+or reboot the system.
.TP
.I Up Arrow
.TP
@@ -419,9 +422,11 @@ command (above) for more information on the print formats.
3: cannot get geometry; 4: bad partition table on disk.
.SH "SEE ALSO"
.BR fdisk (8),
+.BR sfdisk (8),
.BR mkfs (8),
.BR parted (8),
-.BR sfdisk (8)
+.BR partprobe (8),
+.BR kpartx(8)
.SH BUGS
The current version does not support multiple disks.
.SH AUTHOR