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)
Mar 7 2025, 4:20 AM
Unknown Object (File)
Feb 10 2025, 10:03 PM
Unknown Object (File)
Feb 8 2025, 6:06 PM
Unknown Object (File)
Jan 6 2025, 5:57 AM
Unknown Object (File)
Jan 6 2025, 5:54 AM
Unknown Object (File)
Jan 6 2025, 5:49 AM
Unknown Object (File)
Jan 5 2025, 6:58 AM
Unknown Object (File)
Jan 4 2025, 2:46 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