Commit Graph

43 Commits

Author SHA1 Message Date
wiz 148a07685e Fix typo in Dd argument. 2009-05-04 20:11:30 +00:00
lukem 6543a91fea Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
2008-07-20 01:20:21 +00:00
ad e142a6464b Kill -r. Union makes for a poor nullfs. 2008-02-05 16:54:07 +00:00
pooka fee6f866be Don't re-explain vfs.generic.usermount & friends here. 2007-08-01 08:52:07 +00:00
pooka 704e075311 Make all mount(2) return value error checks against -1. Some file
systems just checked != 0, breaking MNT_GETARGS.  Others worked with < 0,
but make them check against -1 too for consistency.  And sprinkle some
stylish line wrapping where appropriate.
2007-07-16 17:06:52 +00:00
dsl 7af7206539 Add additional 'sizeof args' parameter to mount(2). 2007-07-14 15:57:24 +00:00
christos 5afd1c0a23 use MOPT_NULL 2006-10-16 03:37:42 +00:00
christos 7067dcb9a4 Always check the results of getmntopts() and free them. 2006-03-21 21:11:41 +00:00
erh e1806cf352 Fix Coverity issue 1579. Check retval from getmntopts(). Use freemntopts(). 2006-03-17 06:51:00 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
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
agc 276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
fair baafa0e128 Add some mdoc macros. Add text from PR 13878, modified. 2003-05-07 05:19:44 +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
christos 34d0e11123 put this back. 2003-03-19 18:35:08 +00:00
christos f6bd12363e union moved. 2003-03-19 18:25:15 +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
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 bfda038ed2 Sort SEE ALSO, sort sections. 2001-11-16 12:03:20 +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
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
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
mycroft f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
lukem 4b0b1ba833 resolve conflicts from lite-2 merge 1997-09-16 12:32:03 +00:00
lukem 6f6bef4576 * update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 06:13:38 +00:00
phil fb200132e5 Note error when FFS does not support whiteouts and how to fix. (PR 3233) 1997-06-30 20:06:39 +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
jtc 6397db2ddd Add const qualifier to mopts table 1996-04-13 01:30:59 +00:00
thorpej 6bad0cf2ef Remove reference to mount_lofs(8), per Todd Williamson
<toddw@delorean.rb.isl.secom.co.jp> in PR #1783.
1996-01-15 02:00:18 +00:00
jtc b12a0162d9 Fixed example. The "-o -b" flags aren't needed unless the arguments
(directory and uniondir) are swapped.  (PR #1469).
1995-09-29 06:44:02 +00:00
mycroft 53388641d7 Add missing option in example. 1995-05-30 09:09:39 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft 7668d55987 This shouldn't be setuid any more. 1995-01-09 10:20:11 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
deraadt 48c91e8043 do not need -I/sys 1994-08-03 21:07:10 +00:00
mycroft 0924c7ec2d Import 4.4-Lite version. 1994-06-13 22:50:46 +00:00
mycroft 625a6892f7 Update from 4.4-Lite, with local changes. 1994-06-08 19:27:32 +00:00