freebsd-skq/sbin/mount
Jordan K. Hubbard a257a45ecd 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 <jau@jau.csc.fi>
1996-07-21 23:34:04 +00:00
..
getmntopts.3 Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
getmntopts.c Add support for filesystem-specific `-o' options, and re-implement the 1994-11-01 23:51:53 +00:00
Makefile Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mntopts.h The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTO 1995-08-26 05:39:53 +00:00
mount_ufs.c Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount.8 I have added a new option -p to the mount command. This was 1996-07-21 23:34:04 +00:00
mount.c I have added a new option -p to the mount command. This was 1996-07-21 23:34:04 +00:00
pathnames.h BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00