![]() Registered Member ![]()
|
Hello: I have external USB hard drives which are btrfs formatted partitions, encrypted in LUKS (the partitioner in Opensuse Leap 15.2; KDE). When I plug them in, Dolphin recognizes them and requests a password - this works very well. However, I want to enable compression on mounting: https://btrfs.wiki.kernel.org/index.php/Compression
"Mount with -o compress or -o compress-force. Then write (or re-write) files, and they will be transparently compressed." Is there an option to add the "-o compress" request to Dolphin? Is this an advisable approach or is it necessary to use fstab or some utility to obtain proper mounting of an external USB LUKS BtrFS drive? Thank You Very Much, patricia ![]() |
![]() Registered Member ![]()
|
Here is an fstab entry which works with Dolphin:
I first used gparted to create a new partition table because it then allows me to set "label" and "name" of the partition to be the same (BtrFS-3). Then I set up the LUKS per the distro's way (in opensuse it's YaST Partitioner) - which created the fstab entry:
Note that I added nofail, noauto, autodefrag, compress=lzo myself. The compress adds compression, as desired. Dolphin seems to handle this just exactly the way it handles any other LUKS-encrypted USB drive. YAY!!! ![]() ![]() |
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]