Page MenuHomeFreeBSD

tarfs_mount allow control of vfs_mountedfrom
ClosedPublic

Authored by sjg on Mar 26 2023, 5:46 AM.
Tags
None
Referenced Files
F167516583: D39273.id119517.diff
Sat, Aug 22, 10:24 AM
Unknown Object (File)
Tue, Aug 11, 9:32 PM
Unknown Object (File)
Mon, Aug 10, 6:38 AM
Unknown Object (File)
Fri, Aug 7, 6:16 PM
Unknown Object (File)
Fri, Aug 7, 5:58 PM
Unknown Object (File)
Thu, Aug 6, 9:06 AM
Unknown Object (File)
Wed, Aug 5, 7:25 AM
Unknown Object (File)
Wed, Aug 5, 2:23 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