this post was submitted on 22 Jul 2023
20 points (95.5% liked)

Linux

48083 readers
774 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I couldn't find any documentation about this anywhere, but it seems like they do NOT work together

% rg -i storage /etc/fstab
UUID=7c16eaa0-a423-4e51-aa5c-116adf806511     /storage/disk1          btrfs           noatime,lazytime,compress-force=zstd:9,x-systemd.automount      0 0
UUID=567c5fc4-3cc5-4572-9d45-01e55d30647c     /storage/disk2          btrfs           noatime,lazytime,compress-force=zstd:9,x-systemd.automount      0 0
UUID=d0e1ec15-2699-4afa-9393-60ae3d4370b7     /storage/disk3          btrfs           noatime,lazytime,compress-force=zstd:9,x-systemd.automount      0 0

% mount | rg -i storage
systemd-1 on /storage/disk1 type autofs (rw,relatime,fd=52,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16608)
systemd-1 on /storage/disk2 type autofs (rw,relatime,fd=53,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16614)
systemd-1 on /storage/disk3 type autofs (rw,relatime,fd=54,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16620)
/dev/sdc1 on /storage/disk2 type btrfs (rw,noatime,space_cache=v2,subvolid=5,subvol=/,x-systemd.automount)
/dev/sdb1 on /storage/disk3 type btrfs (rw,noatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/,x-systemd.automount)
/dev/sda1 on /storage/disk1 type btrfs (rw,noatime,space_cache=v2,subvolid=5,subvol=/,x-systemd.automount)

running Arch (btw), if that makes any difference

top 4 comments
sorted by: hot top controversial new old
[–] r0b0@sopuli.xyz 5 points 1 year ago (1 children)

Are other subvolumes of those volumes mounted somewhere else, with other btrfs options? The btrfs options, including compress, are not applicable per subvolume.

[–] eh@nerdbin.social 2 points 1 year ago

All of these are "root" mounts. I don't explicitly mount any subvolumes (they get "implicitly" mounted as folders though)

[–] lemminer@lemmy.ml 4 points 1 year ago (1 children)

I don't know how to do it with systemd.automount but I've been using udisks to define defaults for mounting BTRFS: https://wiki.archlinux.org/title/Udisks#Default_mount_options

[–] InverseParallax@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Every day we stray further from Ritchie's light.

load more comments
view more: next ›