Greetings all,
I have some files with sensitive/personal content that I do not need to access frequently. Would it improve the files’ protection against, e.g., malicious software, intrusion, and the like, if I put them into a data-set and prevent automatic mount of the data-set, mounting them manually only when I need to access them?
As best I understand the zfs(8), preventing mount may be achieved by setting the mountpoint property to legacy, when:
“ZFS makes no attempt to manage the file system, and the administrator is responsible for mounting and unmounting the file system . . . [using] the traditional tools (mount(8), unmount(8), fstab(5))."
But it appears that this can also be achieved by using the canmount property, to be set to noauto. In this regards, the zfs(8) recites:
“When the noauto value is set, a dataset can only be mounted and unmounted explicitly. The dataset is not mounted automatically when the dataset is created or imported, nor is it mounted by the "zfs mount -a" command or unmounted by the "zfs umount -a" command.”
Since the data-set is mountable, does it mean that the above-mentioned traditional tools mount(8), unmount(8), fstab(5) are to be used?
Am I reading the man-page incorrectly? Also, would it be possible to hide the data set so that casual/unsophisticated observer does not see it?
Kindest regards,
M
I have some files with sensitive/personal content that I do not need to access frequently. Would it improve the files’ protection against, e.g., malicious software, intrusion, and the like, if I put them into a data-set and prevent automatic mount of the data-set, mounting them manually only when I need to access them?
As best I understand the zfs(8), preventing mount may be achieved by setting the mountpoint property to legacy, when:
“ZFS makes no attempt to manage the file system, and the administrator is responsible for mounting and unmounting the file system . . . [using] the traditional tools (mount(8), unmount(8), fstab(5))."
But it appears that this can also be achieved by using the canmount property, to be set to noauto. In this regards, the zfs(8) recites:
“When the noauto value is set, a dataset can only be mounted and unmounted explicitly. The dataset is not mounted automatically when the dataset is created or imported, nor is it mounted by the "zfs mount -a" command or unmounted by the "zfs umount -a" command.”
Since the data-set is mountable, does it mean that the above-mentioned traditional tools mount(8), unmount(8), fstab(5) are to be used?
Am I reading the man-page incorrectly? Also, would it be possible to hide the data set so that casual/unsophisticated observer does not see it?
Kindest regards,
M