summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2004-09-02 19:45:41 +0000
committerjkar8572 <jkar8572>2004-09-02 19:45:41 +0000
commitec1eeda9541733f032f8bec6ce7524c3f3cbf44b (patch)
tree543839fa36351c6384ebc74c5939bd95de860bb2
parent9d29e7261490d252d7c0ca09e1a3ae51f1354aaf (diff)
Added JFS into a set of supported filesystems (David Kleikamp)
-rw-r--r--Changelog1
-rw-r--r--mntopt.h1
-rw-r--r--quotasys.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 9ba34d6..7eb3c3f 100644
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,5 @@
Changes in quota-tools from 3.12 to 3.13
+* added JFS into a set of supported filesystems (David Kleikamp)
* added French translation (Jerome Schnell)
* fixed quota tools to set of grace time only after exceeding soft limit, not
at reaching (Jan Kara)
diff --git a/mntopt.h b/mntopt.h
index b1a41ca..af3d86b 100644
--- a/mntopt.h
+++ b/mntopt.h
@@ -12,6 +12,7 @@
#define MNTTYPE_REISER "reiserfs" /* Reiser file system */
#define MNTTYPE_XFS "xfs" /* SGI XFS file system */
#define MNTTYPE_AUTOFS "autofs" /* Automount mountpoint */
+#define MNTTYPE_JFS "jfs" /* JFS file system */
/* mount options */
#define MNTOPT_NOQUOTA "noquota" /* don't enforce quota */
diff --git a/quotasys.c b/quotasys.c
index e6c857b..16bb9fc 100644
--- a/quotasys.c
+++ b/quotasys.c
@@ -53,6 +53,7 @@ static int correct_fstype(char *type)
*next = 0;
if (!strcmp(type, MNTTYPE_EXT2) ||
!strcmp(type, MNTTYPE_EXT3) ||
+ !strcmp(type, MNTTYPE_JFS) ||
!strcmp(type, MNTTYPE_MINIX) ||
!strcmp(type, MNTTYPE_UFS) ||
!strcmp(type, MNTTYPE_UDF) ||