Page MenuHomeFreeBSD

Fix remounting ZFS filesystem with "zfs mount"
ClosedPublic

Authored by asomers on Sep 5 2017, 6:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 7:32 PM
Unknown Object (File)
Sun, Sep 21, 3:39 PM
Unknown Object (File)
Fri, Sep 12, 11:20 AM
Unknown Object (File)
Aug 16 2025, 10:23 PM
Unknown Object (File)
Aug 16 2025, 8:41 AM
Unknown Object (File)
Aug 16 2025, 8:41 AM
Unknown Object (File)
Aug 16 2025, 8:41 AM
Unknown Object (File)
Jul 18 2025, 11:18 PM
Subscribers

Details

Summary

Fix remounting ZFS filesystem with "zfs mount"

"zfs mount -o" passes a list of mount options directly to nmount(2) after
sanity checking them. In particular, zfs(8) will refuse to mount an already
existing file system unless "remount" is specified in the option list.
However, the "remount" option only exists in Illumos. FreeBSD's equivalent is
"update".

PR: 221985

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM. I assume that the change has been tested.

This revision is now accepted and ready to land.Sep 5 2017, 7:21 PM
This revision was automatically updated to reflect the committed changes.