diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-02 18:01:00 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-02 18:01:00 +0000 |
commit | 81f7cbbdc28fe9bb5b291e4bb82aa96b00e27d12 (patch) | |
tree | f74ba21eb4122269ae53f371d0ed9e54d76242a2 | |
parent | ce655000bdd2bb37c0213c97adae657a71c8d856 (diff) | |
download | drakx-81f7cbbdc28fe9bb5b291e4bb82aa96b00e27d12.tar drakx-81f7cbbdc28fe9bb5b291e4bb82aa96b00e27d12.tar.gz drakx-81f7cbbdc28fe9bb5b291e4bb82aa96b00e27d12.tar.bz2 drakx-81f7cbbdc28fe9bb5b291e4bb82aa96b00e27d12.tar.xz drakx-81f7cbbdc28fe9bb5b291e4bb82aa96b00e27d12.zip |
support jfs and xfs
-rw-r--r-- | mdk-stage1/mount.c | 6 | ||||
-rw-r--r-- | mdk-stage1/tools.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c index 40b94a8ec..71d6f111f 100644 --- a/mdk-stage1/mount.c +++ b/mdk-stage1/mount.c @@ -203,6 +203,12 @@ int my_mount(char *dev, char *location, char *fs, int force_rw) if (!strcmp(fs, "reiserfs")) my_insmod("reiserfs", ANY_DRIVER_TYPE, NULL, 1); + if (!strcmp(fs, "jfs")) + my_insmod("jfs", ANY_DRIVER_TYPE, NULL, 1); + + if (!strcmp(fs, "xfs")) + my_insmod("xfs", ANY_DRIVER_TYPE, NULL, 1); + #endif if (!strcmp(fs, "iso9660")) my_insmod("isofs", ANY_DRIVER_TYPE, NULL, 1); diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index 55db7b158..36185bcfb 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -458,6 +458,8 @@ int try_mount(char * dev, char * location) my_mount(device_fullname, location, "vfat", 0) == -1 && my_mount(device_fullname, location, "ntfs", 0) == -1 && my_mount(device_fullname, location, "reiserfs", 0) == -1 && + my_mount(device_fullname, location, "jfs", 0) == -1 && + my_mount(device_fullname, location, "xfs", 0) == -1 && my_mount(device_fullname, location, "iso9660", 0) == -1) { return 1; } |