summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ext2fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-09 16:26:51 +0000
committerbde <bde@FreeBSD.org>1998-09-09 16:26:51 +0000
commitb5a6b5d023d534210c7a5cccf500519a5eafc8bd (patch)
tree8dad766b9faf604a9b0b9775667ec8cddf4513e6 /sbin/mount_ext2fs
parent05172643a8eaa19dac2c2a8d62298f4ccb5615f5 (diff)
downloadFreeBSD-src-b5a6b5d023d534210c7a5cccf500519a5eafc8bd.zip
FreeBSD-src-b5a6b5d023d534210c7a5cccf500519a5eafc8bd.tar.gz
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.
Diffstat (limited to 'sbin/mount_ext2fs')
-rw-r--r--sbin/mount_ext2fs/mount_ext2fs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c
index 4eb41a3..1d0ab5d 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 <sys/param.h>
@@ -61,6 +61,8 @@ static const char rcsid[] =
struct mntopt mopts[] = {
MOPT_STDOPTS,
+ MOPT_FORCE,
+ MOPT_SYNC,
MOPT_UPDATE,
{ NULL }
};
OpenPOWER on IntegriCloud