From owner-cvs-all Wed Aug 15 19:40:37 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E73C837B401; Wed, 15 Aug 2001 19:40:29 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: (from dd@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7G2eT849679; Wed, 15 Aug 2001 19:40:29 -0700 (PDT) (envelope-from dd) Message-Id: <200108160240.f7G2eT849679@freefall.freebsd.org> From: Dima Dorfman Date: Wed, 15 Aug 2001 19:40:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mdmfs mdmfs.8 mdmfs.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dd 2001/08/15 19:40:29 PDT Modified files: sbin/mdmfs mdmfs.8 mdmfs.c Log: Implement a better compatibility mode with mount_mfs. It is the default if the executable is named (called as) "mount_*", or can be enabled with the -C option. This allows users to leave their old fstab entires unchanged (modulo symlink'ing mdmfs to mount(md|mfs)) and have things behave the way they should (by emulating mount_mfs silliness), while still allowing mdmfs to be used as a generic make-an-md-and-mount-it type thing. Right now, the only effects of this option is to set the mount-point mode to 01777 as if "-p 1777" was given, and to complain about getting command-line options that mount_mfs didn't take (e.g., -X, -L, et al). The latter is mostly to try to catch operator errors. Also implement -U, which turns on soft-updates. It's redundant (since softdep is the default), but implement it anyway for compatibility. Revision Changes Path 1.7 +73 -3 src/sbin/mdmfs/mdmfs.8 1.7 +49 -5 src/sbin/mdmfs/mdmfs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message