From owner-cvs-sbin Sun Jul 21 16:34:16 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA03065 for cvs-sbin-outgoing; Sun, 21 Jul 1996 16:34:16 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA03035; Sun, 21 Jul 1996 16:34:06 -0700 (PDT) Date: Sun, 21 Jul 1996 16:34:06 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199607212334.QAA03035@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/mount mount.8 mount.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/07/21 16:34:05 Modified: sbin/mount mount.8 mount.c Log: I have added a new option -p to the mount command. This was inspired by SunOS version of mount which uses option -p to indicate that the mount information should be printed in fstab format. This is a neat way to create a new fstab file to use later when one has modified the mount points or mount options or added or removed mount some mount points. You just type mount -p > /etc/fstab.new and there is your new fstab file ready to be used though you will of course have to add any necessary noauto flags manually. [Committers note: This also seems to do the wrong thing for AMD mounts, but in the more average case this is a nifty feature nonetheless and one can always edit the bogus entries out] Submitted-By: Jukka Ukkonen Revision Changes Path 1.9 +7 -3 src/sbin/mount/mount.8 1.14 +66 -5 src/sbin/mount/mount.c