openzfs icon indicating copy to clipboard operation
openzfs copied to clipboard

macOS: support temporary mount options

Open ilovezfs opened this issue 4 years ago • 0 comments

Some issues here:

  • no option string parsing in the kernel though that's supported on Linux, FreeBSD, and illumos
  • noxattr would need special handling to turn off xattr in zfsvfs
  • async, sync, and strictatime would need changes in zfs_register_callbacks
  • zfs_parse_mount_options is being called twice for legacy mounts and failing because they use do_mount
  • positives are not overriding negatives (e.g., if non-temporary value is nobrowse and you pass -o browse, nothing happens) so I guess we'll need to infer positives from the absence of the relevant flag
  • side effect such as turning on strictatime, which seems to be intended on Linux at least
  • probably more

ilovezfs avatar Jun 18 '21 20:06 ilovezfs