I have some private data, a password file.
How i solved this.
Created an encrypted zfs.
To mount i use
To unmount i use :
What do you think ? Is this a good idea ? Or something better?
How i solved this.
Created an encrypted zfs.
Code:
zfs destroy ZT2/encrypted
zfs create -o encryption=on -o keyformat=passphrase -o keylocation=prompt -o mountpoint=/home/x/encrypted ZT2/encrypted
To mount i use
Code:
zfs load-key ZT2/encrypted
zfs mount ZT2/encrypted
To unmount i use :
Code:
zfs umount ZT2/encrypted
zfs unload-key -r ZT2/encrypted
What do you think ? Is this a good idea ? Or something better?