From addb18b16dbf08e79de69f7e88822c4dc60e5291 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 9 Sep 1998 16:26:51 +0000 Subject: [PATCH] Don't refuse to pass the force and sync options to the kernel. The kernel supports them, and the force option will be more important when mounting of unclean ext2fs file systems is not permitted unless it is forced. --- sbin/mount_ext2fs/mount_ext2fs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c index 4eb41a31d081..1d0ab5d531aa 100644 --- a/sbin/mount_ext2fs/mount_ext2fs.c +++ b/sbin/mount_ext2fs/mount_ext2fs.c @@ -42,7 +42,7 @@ static char copyright[] = static char sccsid[] = "@(#)mount_lfs.c 8.3 (Berkeley) 3/27/94"; */ static const char rcsid[] = - "$Id: mount_ext2fs.c,v 1.7 1997/03/11 12:29:51 peter Exp $"; + "$Id: mount_ext2fs.c,v 1.8 1997/03/29 03:32:36 imp Exp $"; #endif /* not lint */ #include @@ -61,6 +61,8 @@ static const char rcsid[] = struct mntopt mopts[] = { MOPT_STDOPTS, + MOPT_FORCE, + MOPT_SYNC, MOPT_UPDATE, { NULL } };