summaryrefslogtreecommitdiff
path: root/sbin/mount_ext2fs
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-05-30 08:48:59 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-05-30 08:48:59 +0000
commit2136804bbabc33a2d1c2bda89ee6024d7c52d801 (patch)
tree4eabce5702e4864828254b194024e4619e736bd1 /sbin/mount_ext2fs
parentabede2744bbad7139d9bd3435f5f7ca1d4e85e51 (diff)
No longer enforce read-only mounts.
Diffstat (limited to 'sbin/mount_ext2fs')
-rw-r--r--sbin/mount_ext2fs/mount_ext2fs.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c
index e9e2137fb6b..ed91b4147a7 100644
--- a/sbin/mount_ext2fs/mount_ext2fs.c
+++ b/sbin/mount_ext2fs/mount_ext2fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_ext2fs.c,v 1.3 1997/04/24 08:28:54 downsj Exp $ */
+/* $OpenBSD: mount_ext2fs.c,v 1.4 1997/05/30 08:48:58 downsj Exp $ */
/* $NetBSD: mount_ffs.c,v 1.3 1996/04/13 01:31:19 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_ufs.c 8.2 (Berkeley) 3/27/94";
#else
-static char rcsid[] = "$OpenBSD: mount_ext2fs.c,v 1.3 1997/04/24 08:28:54 downsj Exp $";
+static char rcsid[] = "$OpenBSD: mount_ext2fs.c,v 1.4 1997/05/30 08:48:58 downsj Exp $";
#endif
#endif /* not lint */
@@ -98,14 +98,6 @@ main(argc, argv)
args.fspec = argv[0]; /* The name of the device file. */
fs_name = argv[1]; /* The mount point. */
-#if 1
- /*
- * This version of ext2fs is buggy. Enforce read only mounts.
- * If the user wants a writeable mount, they remove this code.
- */
- mntflags |= MNT_RDONLY;
-#endif
-
#define DEFAULT_ROOTUID -2
args.export.ex_root = DEFAULT_ROOTUID;
if (mntflags & MNT_RDONLY)