diff options
author | Karel Zak | 2016-09-02 11:14:54 +0200 |
---|---|---|
committer | Karel Zak | 2016-09-02 11:20:06 +0200 |
commit | d4a90151e3b223f3c44e6148943acacd299dd168 (patch) | |
tree | 5e1610a70edaaad49adab01ddbe45eaa2bac26a2 /disk-utils/sfdisk.8 | |
parent | tests: update sfdisk output strings (diff) | |
download | kernel-qcow2-util-linux-d4a90151e3b223f3c44e6148943acacd299dd168.tar.gz kernel-qcow2-util-linux-d4a90151e3b223f3c44e6148943acacd299dd168.tar.xz kernel-qcow2-util-linux-d4a90151e3b223f3c44e6148943acacd299dd168.zip |
sfdisk: add --no-tell-kernel
The option forces sfdisk to not call re-read partitions ioctl after
write PT.
Requested-by: Scott Moser <smoser@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.8')
-rw-r--r-- | disk-utils/sfdisk.8 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 index adbd13890..fcde8726b 100644 --- a/disk-utils/sfdisk.8 +++ b/disk-utils/sfdisk.8 @@ -158,6 +158,11 @@ Do everything except writing to the device. .B \-\-no\-reread Do not check through the re-read-partition-table ioctl whether the device is in use. .TP +.B \-\-no\-tell\-kernel +Don't tell the kernel about partition changes. This option is recommended together +with \fB\-\-no\-reread\fR to modify a partition on used disk. The modified partition +should not be used (e.g. mounted). +.TP .BR \-O , " \-\-backup\-file " \fIpath Override the default backup file name. Note that the device name and offset are always appended to the file name. |