BTRFS and Rox Drive Mounter
Posted: Sun Sep 13, 2020 9:35 pm
On my laptop I use a small/modest sized ext 1st partition for fatdog/system files (sda1), sda2 is a swap partition, sda3 is formatted to be a btrfs partition.
When I use rox to mount sda3 it automatically mounts with no btrfs compression being set, so I run a script in the root folder of that partition that remounts it with lzo compression activated i.e.
mount -o remount,compress=lzo /mnt/sda3
Running filemnt before and after that shows it as having correctly been set to use compression and btrfs-compsize /mnt/sda3 (or against individual files) indicates compression is occurring.
My question is, is there a easier way, such as being able to set the default drives (bottom left corner) to automatically mount btrfs partitions with compress=lzo ? Such as perhaps adding something into my sda3 drives AppInfo files/folder ?
I don't really bother using the subvolumes and snapshot functions of btrfs, just really using it pretty much as a standard partition/filesystem (other than infrequent messing around with btrfs functions/capabilities as and when the fancy takes) for its background/transparent compression function. My laptop's HDD is relatively slow and for instance reducing a spreadsheet file down from 400MB to 300MB via lzo compression helps speed things up overall.
When I use rox to mount sda3 it automatically mounts with no btrfs compression being set, so I run a script in the root folder of that partition that remounts it with lzo compression activated i.e.
mount -o remount,compress=lzo /mnt/sda3
Running filemnt before and after that shows it as having correctly been set to use compression and btrfs-compsize /mnt/sda3 (or against individual files) indicates compression is occurring.
My question is, is there a easier way, such as being able to set the default drives (bottom left corner) to automatically mount btrfs partitions with compress=lzo ? Such as perhaps adding something into my sda3 drives AppInfo files/folder ?
I don't really bother using the subvolumes and snapshot functions of btrfs, just really using it pretty much as a standard partition/filesystem (other than infrequent messing around with btrfs functions/capabilities as and when the fancy takes) for its background/transparent compression function. My laptop's HDD is relatively slow and for instance reducing a spreadsheet file down from 400MB to 300MB via lzo compression helps speed things up overall.