Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sbin/mount_lfs Pull up revision 1.9 (requested by perse...
details: https://anonhg.NetBSD.org/src/rev/260411b28248
branches: netbsd-1-4
changeset: 469874:260411b28248
user: he <he%NetBSD.org@localhost>
date: Thu Dec 16 23:52:51 1999 +0000
description:
Pull up revision 1.9 (requested by perseant):
Read-only mounts no longer start useless cleanerd processes.
diffstat:
sbin/mount_lfs/mount_lfs.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 51b687363630 -r 260411b28248 sbin/mount_lfs/mount_lfs.c
--- a/sbin/mount_lfs/mount_lfs.c Thu Dec 16 23:50:11 1999 +0000
+++ b/sbin/mount_lfs/mount_lfs.c Thu Dec 16 23:52:51 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_lfs.c,v 1.7.2.1 1999/09/05 15:12:41 he Exp $ */
+/* $NetBSD: mount_lfs.c,v 1.7.2.2 1999/12/16 23:52:51 he Exp $ */
/*-
* Copyright (c) 1993, 1994
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)mount_lfs.c 8.4 (Berkeley) 4/26/95";
#else
-__RCSID("$NetBSD: mount_lfs.c,v 1.7.2.1 1999/09/05 15:12:41 he Exp $");
+__RCSID("$NetBSD: mount_lfs.c,v 1.7.2.2 1999/12/16 23:52:51 he Exp $");
#endif
#endif /* not lint */
@@ -115,9 +115,10 @@
#define DEFAULT_ROOTUID -2
args.export.ex_root = DEFAULT_ROOTUID;
- if (mntflags & MNT_RDONLY)
+ if (mntflags & MNT_RDONLY) {
args.export.ex_flags = MNT_EXRDONLY;
- else
+ noclean = 1;
+ } else
args.export.ex_flags = 0;
if (mount(MOUNT_LFS, fs_name, mntflags, &args)) {
Home |
Main Index |
Thread Index |
Old Index