From 16f86947bf85478e045613a9118d5bacfb9e7917 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 22 Aug 2001 12:43:27 +0000 Subject: mount all but ramdisk Read Only --- mdk-stage1/disk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/disk.c') diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c index 9b47ce466..ec9e1a97f 100644 --- a/mdk-stage1/disk.c +++ b/mdk-stage1/disk.c @@ -106,9 +106,9 @@ static enum return_type try_with_device(char *dev_name) strcpy(device_fullname, "/dev/"); strcat(device_fullname, choice); - if (my_mount(device_fullname, disk_own_mount, "ext2") == -1 && - my_mount(device_fullname, disk_own_mount, "vfat") == -1 && - my_mount(device_fullname, disk_own_mount, "reiserfs") == -1) { + if (my_mount(device_fullname, disk_own_mount, "ext2", 0) == -1 && + my_mount(device_fullname, disk_own_mount, "vfat", 0) == -1 && + my_mount(device_fullname, disk_own_mount, "reiserfs", 0) == -1) { stg1_error_message("I can't find a valid filesystem (tried: ext2, vfat, reiserfs)."); return try_with_device(dev_name); } -- cgit v1.2.1