diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-19 20:10:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-19 20:10:14 +0000 |
commit | aca263db26cf6a6100ca0bfe77a060374c37705b (patch) | |
tree | c77b7d2ce5f64ef2cd1ed03292909737b3968120 /sbin/mount_cd9660 | |
parent | 0553f8415c564c7ec784451a67eb17c4e39bb1b2 (diff) |
force readonly, heh
Diffstat (limited to 'sbin/mount_cd9660')
-rw-r--r-- | sbin/mount_cd9660/mount_cd9660.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c index a53dc4d21dd..8d44a555269 100644 --- a/sbin/mount_cd9660/mount_cd9660.c +++ b/sbin/mount_cd9660/mount_cd9660.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_cd9660.c,v 1.5 1997/04/19 20:07:24 flipk Exp $ */ +/* $OpenBSD: mount_cd9660.c,v 1.6 1997/04/19 20:10:13 deraadt Exp $ */ /* $NetBSD: mount_cd9660.c,v 1.3 1996/04/13 01:31:08 jtc Exp $ */ /* @@ -49,7 +49,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount_cd9660.c 8.4 (Berkeley) 3/27/94"; #else -static char rcsid[] = "$OpenBSD: mount_cd9660.c,v 1.5 1997/04/19 20:07:24 flipk Exp $"; +static char rcsid[] = "$OpenBSD: mount_cd9660.c,v 1.6 1997/04/19 20:10:13 deraadt Exp $"; #endif #endif /* not lint */ @@ -114,6 +114,9 @@ main(argc, argv) args.fspec = dev; args.export.ex_root = DEFAULT_ROOTUID; +#if 1 + mntflags |= MNT_RDONLY; +#endif if (mntflags & MNT_RDONLY) args.export.ex_flags = MNT_EXRDONLY; else |