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)
Dec 16 2025, 5:51 AM
Unknown Object (File)
Dec 7 2025, 9:00 PM
Unknown Object (File)
Nov 23 2025, 12:44 AM
Unknown Object (File)
Nov 19 2025, 6:28 AM
Unknown Object (File)
Nov 14 2025, 3:47 AM
Unknown Object (File)
Nov 2 2025, 2:41 AM
Unknown Object (File)
Oct 21 2025, 1:53 PM
Unknown Object (File)
Oct 16 2025, 2:00 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