Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19775/ntfsprogs
Modified Files:
ntfsresize.8.in ntfsresize.c
Log Message:
Rephrase mentioning "dirty" volumes so people hopefully won't think that
Windows repairs what ntfsresize damaged. The real function of leaving
the volume dirty is to make Windows create the backup boot sector because
we can't know where the partitioner will exactly resizes (they optionally
round to some cylinder boundary, defined by ad hoc, arbitrariy rules).
Index: ntfsresize.8.in
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsresize.8.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- ntfsresize.8.in 7 Jul 2005 21:20:04 -0000 1.19
+++ ntfsresize.8.in 10 Jul 2005 23:09:02 -0000 1.20
@@ -137,11 +137,12 @@ with
first.
.TP
.B -f, --force
-Forces ntfsresize to proceed with the resize operation if the filesystem
-is marked "dirty" for consistency check.
+Forces ntfsresize to proceed with the resize operation even if the filesystem
+is marked for consistency check.
Please note, ntfsresize always marks the filesystem
-"dirty" before a real resize operation and it leaves that way for extra
+for consistency check before a real resize operation
+and it leaves that way for extra
safety. Thus if NTFS was marked by ntfsresize then it's safe to
use this option. If you need
to resize several times without booting into Windows between each
Index: ntfsresize.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsresize.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -p -r1.70 -r1.71
--- ntfsresize.c 6 Jul 2005 22:47:19 -0000 1.70
+++ ntfsresize.c 10 Jul 2005 23:09:03 -0000 1.71
@@ -2098,8 +2098,8 @@ static ntfs_volume *mount_volume(void)
if (vol->flags & VOLUME_IS_DIRTY)
if (opt.force-- <= 0)
- err_exit("Volume is dirty. Run chkdsk /f and "
- "please try again (or see -f option).\n");
+ err_exit("Volume is scheduled for check.\nRun chkdsk /f"
+ " and please try again, or see option -f.\n");
if (NTFS_MAX_CLUSTER_SIZE < vol->cluster_size)
err_exit("Cluster size %u is too large!\n",
|