Commit Graph

63 Commits

Author SHA1 Message Date
xtraeme 60fef07963 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:55:44 +00:00
erh fdd16c549b Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
jmmv 0d52ea4901 Remove extra newline from usage message. 2004-01-05 23:27:16 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz 0eba47bcd1 Sync usage with man page. 2003-09-08 07:21:59 +00:00
wiz d234eaaab1 Sort options. 2003-09-08 07:21:51 +00:00
wiz 4ae63e1052 Bump date for previous. 2003-09-08 05:21:58 +00:00
itojun ce112dfc4f add -t option for gmt time offset (normally MS-DOS filesystem has timestamp
in localtime, not GMT).  PR kern/22717
2003-09-07 22:09:11 +00:00
jdolecek f462956915 bump date for last 2003-08-02 11:43:21 +00:00
jdolecek 28dd22899a actually enable MNT_GETARGS support 2003-08-02 11:42:20 +00:00
jdolecek 62e0ed44c8 Allow separate masks for files and directories. Useful e.g. to turn
the execute bit off for files, but keep search permission for directories.
Change contributed in PR kern/21538 by Pavel Arnost, based on some FreeBSD
patches.
Further manpage changes, and backward-compatibility adjustments done by me.

Also fixes PR kern/16778 by Johan Danielsson, and PR kern/3400 by Rick Byers
2003-08-02 11:41:19 +00:00
christos e6cde3e511 print masks and modes in octal. 2003-05-03 15:37:07 +00:00
jdolecek 1edd42a9d2 move getmntopts(3) to libutil, build and install also it's manpage
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
2003-03-22 12:43:57 +00:00
jdolecek 899bce0921 use <> rather than "" for #include mntopts.h 2003-03-22 11:15:45 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
christos 9f9ee29713 MNT_GETARGS support 2002-09-21 18:43:31 +00:00
lukem 7360d7b6ae Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 10:16:51 +00:00
wiz 875bfce8db Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
wiz 4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
jdolecek debb6d80a3 make the code includable into other programs:
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
  MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
  versions removed
2000-10-30 20:56:57 +00:00
hubertf 26b6647470 Document the FAT types we support, and add a bugs section (suggested
by ws@netbsd.org).
2000-08-28 15:31:05 +00:00
deberg 31064c0014 use CURDIR where appropriate 2000-08-14 16:38:40 +00:00
cgd db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
jdolecek 1aec36e475 allow options 'sync' and 'async' 2000-03-27 09:33:22 +00:00
perseant 8847804fc3 Regularize error reporting of mount_* commands for failure of mount(2)
to the form:

	mount_xxx: dev on dir: reason for failure
1999-06-25 19:28:35 +00:00
pk 1cd395375d 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
mycroft f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
ws 87b8e0976a Drop indication of support for access times (they are no longer maintained) 1997-10-17 11:30:09 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
lukem 932f5c39e2 update for new getmntopts() brought in from lite-2 merge 1997-09-16 12:24:18 +00:00
lukem f46ca99ba9 * update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 05:05:41 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
cgd c35f913835 Fix typo in last commit 1996-10-24 00:12:50 +00:00
cgd c1eeddcff9 this file system (according to its source) supports MNT_UPDATE. Therefore
the mount program must recognize the 'update' option.
1996-10-23 22:46:16 +00:00
cgd c3877d120c 'const struct' not 'struct const' 1996-04-13 05:35:39 +00:00
jtc 6397db2ddd Add const qualifier to mopts table 1996-04-13 01:30:59 +00:00
leo 85d9dba24d Add '-G' flag for mounting Atari-Gemdos filesystems. 1996-01-19 21:14:43 +00:00
ws debbf2f60e - Add support for Win'95 separate creation/modification/access timestamps
- Re-introduce lowercase filenames for non-Win'95-filesystems
1995-11-29 15:08:32 +00:00
ws a96f4bc2fc Add support for Win'95 long filenames 1995-10-15 15:34:19 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft 998e3b5dd3 Document the `-o' option. Remove the last vestige of the `-F' option. 1995-01-18 08:35:42 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00