this post was submitted on 22 Jul 2023
17 points (94.7% liked)

Linux

48031 readers
1112 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

you are viewing a single comment's thread
view the rest of the comments
[–] lemminer@lemmy.ml 3 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 1 points 1 year ago* (last edited 1 year ago)

Every day we stray further from Ritchie's light.