HomeFreeBSD

tarfs_mount allow control of vfs_mountedfrom

Description

tarfs_mount allow control of vfs_mountedfrom

We default to passing the path of the tar file to vfs_mountedfrom
so we can tell where a filesystem was mounted from.
However this can make the output of mount(8) hard to read.

Allow things like:

mount -t tarfs -o as=basename $tar $tar /mnt

so "as" is recorded instead of $tar

Reviewed by: des
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D39273

Details

Provenance
sjgAuthored on Mar 28 2023, 5:57 PM
Reviewer
des
Differential Revision
D39273: tarfs_mount allow control of vfs_mountedfrom
Parents
rG269dea90d6eb: libc: use separate collate objects for C, POSIX, and C.UTF-8
Branches
Unknown
Tags
Unknown