Page MenuHomeFreeBSD

tarfs_mount allow control of vfs_mountedfrom
ClosedPublic

Authored by sjg on Mar 26 2023, 5:46 AM.
Tags
None
Referenced Files
F145384250: D39273.id119470.diff
Thu, Feb 19, 3:07 AM
Unknown Object (File)
Sat, Feb 14, 4:15 AM
Unknown Object (File)
Sun, Feb 8, 3:10 PM
Unknown Object (File)
Fri, Jan 30, 9:18 PM
Unknown Object (File)
Wed, Jan 21, 10:56 PM
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
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