Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/libntfs
In directory usw-pr-cvs1:/tmp/cvs-serv25825/libntfs
Modified Files:
volume.c
Log Message:
Linux-NTFS 0.1.0-pre1
=====================
-fixed up ntfsfix and ntfsdump_logfile
-corrected stuff
-several bug fixes
-fixed (hopefully) final bug with mkntfs (sd generator was wrong due to brain'o)
-mkntfs now completed, only need to add a few command line options before first
public release.
-rpm generation file updated and autostrip modified to make use of install-stip
make target instead of stripping manually
-made bootsector check verbosity during mount dependent on --enable-debug
configure option.
Index: volume.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/volume.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -U2 -r1.16 -r1.17
--- volume.c 2001/06/01 02:07:26 1.16
+++ volume.c 2001/06/10 15:54:20 1.17
@@ -199,5 +199,9 @@
}
puts(OK);
+#ifdef DEBUG
if (!is_boot_sector_ntfs(bs, 0)) {
+#else
+ if (!is_boot_sector_ntfs(bs, 1)) {
+#endif
fprintf(stderr, "Error: %s is not a valid NTFS partition!\n",
name);
@@ -348,5 +352,4 @@
goto error_exit;
}
- printf("$MFT $DATA attribute value length = %Li\n", l);
vol->mft_bitmap = (__u8*)malloc(l);
if (!vol->mft_bitmap) {
@@ -410,5 +413,5 @@
printf("Loading $Bitmap... ");
mref = (MFT_REF)FILE_$Bitmap;
- if (err = read_file_record(vol, &mref, &mb, NULL)) {
+ if (err = __read_file_record(vol, &mref, &mb, NULL)) {
puts(FAILED);
errno = -err;
@@ -455,5 +458,5 @@
printf("Loading $UpCase... ");
mref = (MFT_REF)FILE_$UpCase;
- if (err = read_file_record(vol, &mref, &mb, NULL)) {
+ if (err = __read_file_record(vol, &mref, &mb, NULL)) {
puts(FAILED);
errno = -err;
@@ -512,5 +515,5 @@
printf("Loading $Volume... ");
mref = (MFT_REF)FILE_$Volume;
- if (err = read_file_record(vol, &mref, &mb, NULL)) {
+ if (err = __read_file_record(vol, &mref, &mb, NULL)) {
puts(FAILED);
errno = -err;
|