usr.sbin/fstyp: Add device name to HAMMER2 label for autofs -media mount
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 10 Dec 2019 20:02:26 +0000 (05:02 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 10 Dec 2019 20:16:57 +0000 (05:16 +0900)
commit2f9f168a13010344973c10c56a71514a10643642
tree7d326cdc0cdf3a0e37e3e90f09abf6c38a212f13
parent30661225b022b906a2b5809f731a1c3e9438872b
usr.sbin/fstyp: Add device name to HAMMER2 label for autofs -media mount

This helps autofs -media mount support multiple HAMMER2 mounts
if not perfect solution. The format may change in future.

Add minor fix to HAMMER1 label algorithm to sync with this commit.
usr.sbin/fstyp/hammer.c
usr.sbin/fstyp/hammer2.c