History log of /src/sbin/mount_null/mount_null.c |
Revision | | Date | Author | Comments |
1.21 |
| 26-Jul-2020 |
mlelstv | Refactor remaining mount_* commands to use the common pathadj() function for resolving paths.
Make pathadj() no longer warn about symlinks. Symlinks in /dev are regularly used in several places like LVM . The warning was also only visible when calling a mount_* command directly as mount(8) itself would resolve the path witout warning before passing it to a mount_* command.
|
1.20 |
| 25-Jul-2016 |
erh | Eliminate the distinct path check, since the paths don't actually need to be distinct and allowing this makes certain useful tasks possible, such as fixing an unpopulated /dev while a tmpfs is mounted over it. However, require the paths to be different, as mounting a path directly over itself has the side effect of causing any other mount points within that path to no longer be accessible, and is difficult to unmount when done on /.
|
1.19 |
| 29-Aug-2011 |
joerg | branches: 1.19.24; Use __dead
|
1.18 |
| 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
1.17 |
| 16-Jul-2007 |
pooka | branches: 1.17.12; 1.17.16; 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.
|
1.16 |
| 14-Jul-2007 |
dsl | Add additional 'sizeof args' parameter to mount(2).
|
1.15 |
| 16-Oct-2006 |
christos | use MOPT_NULL
|
1.14 |
| 21-Mar-2006 |
christos | Always check the results of getmntopts() and free them.
|
1.13 |
| 05-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations; WARNS=3.
|
1.12 |
| 31-Jan-2005 |
erh | Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to device nodes into absolute paths before using them.
|
1.11 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
1.10 |
| 22-Mar-2003 |
jdolecek | use <> rather than "" for #include mntopts.h
|
1.9 |
| 21-Sep-2002 |
christos | MNT_GETARGS support
|
1.8 |
| 30-Oct-2000 |
jdolecek | 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
|
1.7 |
| 08-Jul-1999 |
wrstuden | Update to new mount arguments.
|
1.6 |
| 25-Jun-1999 |
perseant | Regularize error reporting of mount_* commands for failure of mount(2) to the form:
mount_xxx: dev on dir: reason for failure
|
1.5 |
| 16-Sep-1997 |
lukem | branches: 1.5.4; resolve conflicts from lite-2 merge
|
1.4 |
| 15-Sep-1997 |
lukem | * update for WARNS=1 * getopt returns -1 not EOF * fix .Nm usage
|
1.3 |
| 13-Apr-1996 |
jtc | Add const qualifier to mopts table
|
1.2 |
| 18-Mar-1995 |
cgd | convert to new RCS Id conventions; reduce my headache
|
1.1 |
| 08-Jun-1994 |
mycroft | branches: 1.1.1; Update from 4.4-Lite, with local changes.
|
1.1.1.2 |
| 16-Sep-1997 |
lukem | imported from lite-2
|
1.1.1.1 |
| 13-Jun-1994 |
mycroft | Import 4.4-Lite version.
|
1.5.4.1 |
| 05-Sep-1999 |
he | Pull up revision 1.6: Regularize error reporting of mount_* commands for failure of mount(2) to the form "mount_xxx: dev on dir: reason for failure" (as opposed to the old "mount_xxx: : reason for failure"). (perseant)
|
1.17.16.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.17.12.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.19.24.1 |
| 26-Jul-2016 |
pgoyette | Sync with HEAD
|