Page MenuHomeFreeBSD

tarfs_mount allow control of vfs_mountedfrom
ClosedPublic

Authored by sjg on Mar 26 2023, 5:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 29, 3:24 AM
Unknown Object (File)
Sun, Mar 29, 3:21 AM
Unknown Object (File)
Sat, Mar 28, 6:19 AM
Unknown Object (File)
Feb 19 2026, 3:07 AM
Unknown Object (File)
Feb 14 2026, 4:15 AM
Unknown Object (File)
Feb 8 2026, 3:10 PM
Unknown Object (File)
Jan 30 2026, 9:18 PM
Unknown Object (File)
Jan 21 2026, 10:56 PM
Subscribers

Details

Summary

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

Sponsored by: Juniper Networks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable