MOUNT.ZFS(8)
okay bestie, pull up a chair β this is mount.zfs(8) from the System Manager's Manual, and honestly? it's a tiny little page but it's doing SO much behind the scenes. she's the backstage crew of your filesystem, fr fr. π
β¨ NAME β¨
mount.zfs β mount ZFS filesystem π
π¦ SYNOPSIS π¦
mount.zfs [-sfnvh] [-o options] dataset mountpoint
that's it. that's the whole vibe check. dataset and mountpoint, plus some flags you probably won't touch. π
πΈ DESCRIPTION πΈ
okay so. the mount.zfs helper is the little go-between that mount(8) uses when it needs to mount filesystem snapshots and mountpoint=legacy ZFS filesystems. she also gets called by zfs(8) whenever the ZFS_MOUNT_HELPER environment variable is not set. multitasking queen. π«Ά
but listen β the actual guidance here is that you, the user, should invoke either mount(8) or zfs(8) in most cases. mount.zfs is the helper doing the behind-the-scenes work, not the main character you call directly. (respectfully, let the frontends handle it. that's the assignment. π)
the options are handled according to the Temporary Mount Point Properties section over in zfsprops(7) β with the exception of the ones described below, which get their own lil rules. π
and one more thing: if /etc/mtab is a regular file and -n was not specified, it will be updated via libmount. yes bestie, she keeps receipts. π
π OPTIONS π
-sβ ignore unknown (sloppy) mount options. like when someone brings a plus-one you didn't invite and you're just like... sure, whatever, come in. π-fβ do everything except actually executing the system call. all dressed up, no place to go. iconic fake-out. β¨-nβ never update/etc/mtab. she will NOT be taking notes. π-vβ print the resolved mount options and parser state. show us the lore, bestie. π-hβ print the usage message. the "help me help you" button. π-o zfsutilβ this private flag is how you tellmount.zfsthatmount(8)is being called by thezfs(8)command. it's the secret handshake. iykyk. π€
π SEE ALSO π
and that's the whole page, bestie β short, sweet, and lowkey essential. this one came from OpenZFS, dated May 24, 2021. πβ¨ go mount something iconic, ily, bye! πππ¦
π¦ where this page comes from
- alpine 3.22: zfs-doc 2.3.9-r0 Β· CDDL-1.0
- alpine 3.23: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- debian trixie: zfsutils-linux 2.3.9-0+deb13u1 Β· CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu questing: zfsutils-linux 2.3.4-1ubuntu2
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 Β· CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 Β· CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 Β· CDDL-1.0
- π the page's license: CDDL-1.0
- Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms