[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Info-mtools] [PATCH] Continue even if fs size is not divisible by secto
From: |
Jussi Kukkonen |
Subject: |
[Info-mtools] [PATCH] Continue even if fs size is not divisible by sectors-per-track |
Date: |
Thu, 2 Jun 2016 13:45:37 +0300 |
Filesystem with a size that is not divisible by sectors-per-track is
not really broken: it might be unoptimized on media where heads and
cylinders actually matter.
Preserve the warning but make mtools continue even if fs size is not
divisible by sectors-per-track.
Signed-off-by: Jussi Kukkonen <address@hidden>
---
This patch appplies to 4.0.18.
It was inspired by recent changes to dosfstools which make it quite
difficult to create filesystems that fulfill this sanity check.
init.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/init.c b/init.c
index c9152e0..4e16a01 100644
--- a/init.c
+++ b/init.c
@@ -338,7 +338,6 @@ Stream_t *fs_init(char drive, int mode, int *isRop)
fprintf(stderr,
"Add mtools_skip_check=1 to your .mtoolsrc file "
"to skip this test\n");
- exit(1);
}
/* full cylinder buffering */
--
2.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Info-mtools] [PATCH] Continue even if fs size is not divisible by sectors-per-track,
Jussi Kukkonen <=