Commit Graph

16 Commits

Author SHA1 Message Date
xtraeme 816b5578c8 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:47:18 +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
jdolecek 899bce0921 use <> rather than "" for #include mntopts.h 2003-03-22 11:15:45 +00:00
christos 9f9ee29713 MNT_GETARGS support 2002-09-21 18:43:31 +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
lukem 0b2c959ebd resolve conflicts from lite-2 merge 1997-09-16 12:26:56 +00:00
lukem 98986b2e02 * update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 04:36:07 +00:00
jtc 6397db2ddd Add const qualifier to mopts table 1996-04-13 01:30:59 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft ccfa3742b5 Update from 4.4-Lite, with local changes. 1994-06-08 18:57:30 +00:00
cgd a0a3735960 update from jsp 1994-01-12 19:01:12 +00:00
pk d4f1dcb0d5 Initialized `mntflags'. 1993-08-24 13:15:14 +00:00
mycroft bccc50a733 Merge changes from netbsd-0-9 branch. 1993-07-30 01:00:27 +00:00
cgd 7387d068cd merged version of mount_fdesc and mount_kernfs 1993-03-28 03:19:38 +00:00