Module Name:    src
Committed By:   mlelstv
Date:           Sun Jul 26 08:20:23 UTC 2020

Modified Files:
        src/sbin/mount: pathadj.c
        src/sbin/mount_ados: Makefile mount_ados.c
        src/sbin/mount_autofs: Makefile mount_autofs.c
        src/sbin/mount_fdesc: Makefile mount_fdesc.c
        src/sbin/mount_filecore: Makefile mount_filecore.c
        src/sbin/mount_kernfs: Makefile mount_kernfs.c
        src/sbin/mount_null: Makefile mount_null.c
        src/sbin/mount_overlay: Makefile mount_overlay.c
        src/sbin/mount_procfs: Makefile mount_procfs.c
        src/sbin/mount_ptyfs: Makefile mount_ptyfs.c
        src/sbin/mount_umap: Makefile mount_umap.c
        src/sbin/mount_union: Makefile mount_union.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/mount/pathadj.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/mount_ados/Makefile
cvs rdiff -u -r1.29 -r1.30 src/sbin/mount_ados/mount_ados.c
cvs rdiff -u -r1.2 -r1.3 src/sbin/mount_autofs/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sbin/mount_autofs/mount_autofs.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/mount_fdesc/Makefile
cvs rdiff -u -r1.26 -r1.27 src/sbin/mount_fdesc/mount_fdesc.c
cvs rdiff -u -r1.8 -r1.9 src/sbin/mount_filecore/Makefile
cvs rdiff -u -r1.20 -r1.21 src/sbin/mount_filecore/mount_filecore.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/mount_kernfs/Makefile
cvs rdiff -u -r1.25 -r1.26 src/sbin/mount_kernfs/mount_kernfs.c
cvs rdiff -u -r1.12 -r1.13 src/sbin/mount_null/Makefile
cvs rdiff -u -r1.20 -r1.21 src/sbin/mount_null/mount_null.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/mount_overlay/Makefile
cvs rdiff -u -r1.13 -r1.14 src/sbin/mount_overlay/mount_overlay.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/mount_procfs/Makefile
cvs rdiff -u -r1.24 -r1.25 src/sbin/mount_procfs/mount_procfs.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/mount_ptyfs/Makefile
cvs rdiff -u -r1.17 -r1.18 src/sbin/mount_ptyfs/mount_ptyfs.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/mount_umap/Makefile
cvs rdiff -u -r1.26 -r1.27 src/sbin/mount_umap/mount_umap.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/mount_union/Makefile
cvs rdiff -u -r1.22 -r1.23 src/sbin/mount_union/mount_union.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to