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)
Mon, Sep 14, 9:47 AM
Unknown Object (File)
Fri, Sep 11, 8:38 AM
Unknown Object (File)
Fri, Sep 11, 7:48 AM
Unknown Object (File)
Thu, Sep 10, 10:16 PM
Unknown Object (File)
Tue, Sep 8, 8:42 PM
Unknown Object (File)
Sat, Sep 5, 5:16 PM
Unknown Object (File)
Sat, Sep 5, 2:05 AM
Unknown Object (File)
Fri, Sep 4, 10:13 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