From 1e625a9563f3f2708b07fb0c6f8ec1efae8531cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Sat, 9 Feb 2013 15:19:34 +0100 Subject: [PATCH] Made the meaning of the size argument of ntfsresize more clear in the manual The size argument of ntfsresize is the target partition size. This is not the file system size as returned by df(1) or statvfs(3) because a sector is reserved for the backup boot sector, and the remaining sector count might not be a multiple of clusters per sector. --- ntfsprogs/ntfsresize.8.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ntfsprogs/ntfsresize.8.in b/ntfsprogs/ntfsresize.8.in index 1b0e6d18..9113eb18 100644 --- a/ntfsprogs/ntfsresize.8.in +++ b/ntfsprogs/ntfsresize.8.in @@ -155,8 +155,10 @@ if the shrink size is the same as the original size (in MB). This option cannot be used in association with option \fB\-\-expand\fP. .TP \fB\-s\fR, \fB\-\-size\fR SIZE\fR[\fBk\fR|\fBM\fR|\fBG\fR] -Resize filesystem to \fISIZE\fR[\fBk\fR|\fBM\fR|\fBG\fR] bytes by -shifting its end and keeping its beginning unchanged. +Resize filesystem to fit in a partition whose size is +\fISIZE\fR[\fBk\fR|\fBM\fR|\fBG\fR] bytes by shifting its end and keeping +its beginning unchanged. The filesystem size is set to be at least one +sector smaller than the partition. The optional modifiers .BR k , .BR M ,