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)
Dec 29 2023, 5:23 PM
Unknown Object (File)
Dec 21 2023, 12:38 PM
Unknown Object (File)
Dec 20 2023, 2:31 AM
Unknown Object (File)
Dec 3 2023, 10:38 AM
Unknown Object (File)
Nov 24 2023, 10:49 PM
Unknown Object (File)
Nov 15 2023, 10:50 AM
Unknown Object (File)
Sep 4 2023, 11:30 PM
Unknown Object (File)
Aug 4 2023, 9:45 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 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.