Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/ntfstools
In directory usw-pr-cvs1:/tmp/cvs-serv18038
Modified Files:
mkntfs.c
Log Message:
Testing.
Index: mkntfs.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/ntfstools/mkntfs.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -U2 -r1.27 -r1.28
--- mkntfs.c 2001/06/12 21:58:32 1.27
+++ mkntfs.c 2001/06/12 22:17:30 1.28
@@ -2742,5 +2742,5 @@
opt.cluster_size > 65536)
err_exit("Error: cluster_size is invalid. It must be a power "
- "of two, be at least the\nsame as ector_size, be "
+ "of two, be at least\nthe same as ector_size, be "
"maximum 64kB, and the sectors per cluster value "
"has\nto fit inside eight bits.\n");
@@ -3267,4 +3267,7 @@
*/
i = max(512, opt.sector_size);
+ Dprintf("i = %i\n", i);
+ Dprintf("(opt.nr_sectors + 1) * opt.sector_size - i = %i\n",
+ (opt.nr_sectors + 1) * opt.sector_size - i);
if (lseek(f, (opt.nr_sectors + 1) * opt.sector_size - i, SEEK_SET) ==
(off_t)-1)
|