]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/losetup.8
losetup: properly use --sector-size when create a new device
[thirdparty/util-linux.git] / sys-utils / losetup.8
index c31d7475f4d8eee861b4d428a2e99fdef53d7151..1195c697eacc9da5beb54a1712f79d2ea3bd4508 100644 (file)
@@ -124,7 +124,9 @@ Force the loop driver to reread the size of the file associated with the
 specified loop device.
 .TP
 .BR \-P , " \-\-partscan"
-Force the kernel to scan the partition table on a newly created loop device.
+Force the kernel to scan the partition table on a newly created loop device.  Note that the
+partition table parsing depends on sector sizes.  The default is sector size is 512 bytes,
+otherwise you need to use use the option \fB\-\-sector\-size\fR together with \fB\-\-partscan\fR.
 .TP
 .BR \-r , " \-\-read\-only"
 Set up a read-only loop device.