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)
Nov 15 2024, 3:05 AM
Unknown Object (File)
Nov 5 2024, 3:58 PM
Unknown Object (File)
Oct 5 2024, 12:02 PM
Unknown Object (File)
Oct 5 2024, 10:07 AM
Unknown Object (File)
Oct 2 2024, 9:00 PM
Unknown Object (File)
Oct 2 2024, 6:31 PM
Unknown Object (File)
Oct 1 2024, 8:24 PM
Unknown Object (File)
Sep 30 2024, 2:36 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 11375
Build 11736: arc lint + arc unit

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.