From dfeea3487b46d407065f30620aab99947e81369e Mon Sep 17 00:00:00 2001 From: pooka Date: Thu, 9 Aug 2007 08:33:25 +0000 Subject: [PATCH] Don't need to use MNT_FORCE here (my original test image was a bit b0rked), but do stuff MNT_RDONLY down the file system's throat. --- sys/rump/fs/bin/efs/efs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/rump/fs/bin/efs/efs.c b/sys/rump/fs/bin/efs/efs.c index c45ff03a2621..27342aeaa51d 100644 --- a/sys/rump/fs/bin/efs/efs.c +++ b/sys/rump/fs/bin/efs/efs.c @@ -1,4 +1,4 @@ -/* $NetBSD: efs.c,v 1.2 2007/08/06 22:22:40 pooka Exp $ */ +/* $NetBSD: efs.c,v 1.3 2007/08/09 08:33:25 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -79,7 +79,7 @@ main(int argc, char *argv[]) memset(&args, 0, sizeof(args)); args.fspec = argv[0]; - rv = p2k_run_fs(&efs_vfsops, argv[0], argv[1], mntflags | MNT_FORCE, + rv = p2k_run_fs(&efs_vfsops, argv[0], argv[1], mntflags | MNT_RDONLY, &args, sizeof(args), pflags); if (rv) err(1, "mount");