How do I add this? Fstab - Use SystemD automount /etc/fstab

im following this tutorial https://wiki.manjaro.org/index.php/Fstab_-_Use_SystemD_automount

where should I add this Line?
noauto,x-systemd.automount,x-systemd.device-timeout=10
inxi -v7azy
System:
  Kernel: 6.1.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=be619a77-d895-4540-89af-a2ff1a55907c rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Budgie v: 10.7 info: budgie-panel wm: budgie-wm dm: LightDM
    v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME Z490-A v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 2601 date: 05/17/2022
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 31.25 GiB used: 3.02 GiB (9.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-10700K bits: 64 type: MT MCP arch: Comet Lake
    gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
    model-id: 0xA5 (165) stepping: 5 microcode: 0xF4
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 4309 high: 4802 min/max: 800/5100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4800 2: 4800 3: 4800
    4: 3800 5: 4800 6: 3800 7: 4802 8: 4802 9: 4798 10: 3545 11: 3203 12: 3800
    13: 3800 14: 4801 15: 4800 16: 3800 bogomips: 121639
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb erms est f16c flush_l1d fma fpu fsgsbase fxsr ht hwp
    hwp_act_window hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida intel_pt
    invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx
    msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb
    pebs pge pku pln pni popcnt pse pse36 pts rdrand rdseed rdtscp rep_good
    sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall
    tm tm2 tsc tsc_adjust tsc_deadline_timer vme x2apic xgetbv1 xsave xsavec
    xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DP-1, DP-2, DVI-D-1, HDMI-A-2 bus-ID: 01:00.0
    chip-ID: 1002:67df class-ID: 0300 temp: 53.0 C
  Display: x11 server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.7
    compositor: budgie-wm driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: AOC Q32G1WG4 serial: <filter>
    built: 2019 res: 2560x1440 dpi: 93 gamma: 1.2 size: 697x393mm (27.44x15.47")
    diag: 800mm (31.5") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: AMD Radeon RX 580 Series
    (polaris10 LLVM 15.0.7 DRM 3.49 6.1.11-1-MANJARO) direct-render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Sound API: ALSA v: k6.1.11-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 04:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 3.2 TiB used: 16.19 GiB (0.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS250G2B0C-00PXH0 size: 232.89 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 211070WD temp: 33.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Samsung
    model: SSD 970 EVO Plus 250GB size: 232.89 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 42.9 C scheme: MBR
  ID-3: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD130 size: 2.73 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD
    rpm: 7200 serial: <filter> rev: ACF0 scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Blade
    size: 14.32 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 232.59 GiB size: 227.88 GiB (97.98%) used: 13.93 GiB (6.1%)
    fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: be619a77-d895-4540-89af-a2ff1a55907c
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 4CF1-D51A
  ID-3: /run/media/bugi/Pinktxt_Pinktxt raw-size: 14.32 GiB
    size: 14 GiB (97.75%) used: 2.26 GiB (16.1%) fs: ext4 dev: /dev/sdb1
    maj-min: 8:17 label: Pinktxt/Pinktxt
    uuid: c2f2bdfe-96aa-42f0-a750-2cb70aee0c39
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme1n1p1 maj-min: 259:4 size: 232.88 GiB fs: btrfs label: 1/1
    uuid: 6340902e-3d24-4069-b1ad-0ae376f4cd9c
  ID-2: /dev/sda1 maj-min: 8:1 size: 257.1 GiB fs: btrfs label: N/A
    uuid: 7f2ed2a1-df22-4000-b182-4097a3ea5f17
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-3:2 info: SanDisk Cruzer Blade type: Mass Storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 200mA
    chip-ID: 0781:5567 class-ID: 0806 serial: <filter>
  Hub-2: 1-6:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-9:4 info: Logitech G502 SE HERO Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 300mA
    chip-ID: 046d:c08b class-ID: 0300 serial: <filter>
  Device-2: 1-10:5 info: Corsair K95 RGB Platinum Keyboard [RGP0056]
    type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 500mA chip-ID: 1b1c:1b2d class-ID: 0300
    serial: <filter>
  Device-3: 1-11:6 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA
    chip-ID: 0b05:18f3 class-ID: 0300 serial: <filter>
  Hub-3: 2-0:1 info: Super-speed hub ports: 10 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A gpu: amdgpu temp: 53.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1177
Info:
  Processes: 353 Uptime: 31m wakeups: 0 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1241 libs: 348 tools: octopi,pamac Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.25

# /etc/fstab: static file system information.
noauto,x-systemd.automount,x-systemd.device-timeout=10
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=4CF1-D51A                            /boot/efi      vfat    umask=0077 0 2
UUID=be619a77-d895-4540-89af-a2ff1a55907c /              ext4    defaults,noatime 0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

Those are options for fstab only…
Systemd-mount has different functionality where those options are translated to…
fe. x-systemd.automount means to create an automount unit for systemd…

Here is another nice read:

You have no swap file or partition.
But you have 32GB of RAM.

@Keruskerfuerst so do i, what’s your point?

I only want to include it because I’m aware it’s an option.

however, the instruction manual instructs you to place it on top.
I therefore wondered, where?

Mount options are related the the mount definition line you use in the fstab so it doesn’t matter if it’s on top middle or bottom, because each line is interpreted separately…
To make it clear those options can not be used alone on their own line…
See: man fstab
:vulcan_salute:

1 Like

If the machine runs out of RAM, the computer will freeze.

Yes @Keruskerfuerst and again what is your point in relation to the question in the topic title?:thinking:

[Sarcasm]
I could also just reply with how to make a cake, but it still is not related to the topic
[/Sarcasm]
:wink:

Read it again. It says “at the beginning of the options section”.

Please never post images of text. Please edit your post accordingly so the text you want to provide is text.

did I do it right ?

# /etc/fstab: static file system information.
noauto,x-systemd.automount,x-systemd.device-timeout=10
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=4CF1-D51A                            /boot/efi      vfat    umask=0077 0 2
UUID=be619a77-d895-4540-89af-a2ff1a55907c /              ext4    defaults,noatime 0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
1 Like

No.
these:

are options
Mount options.

They go where, in the other lines in your file, this is:

as an example - not correct, just for the syntax, this

would become this:

UUID=aabbccdd / ext4 noauto,x-systemd.automount,x-systemd.device-timeout=10 0 1

Try to read up on the structure of the lines in /etc/fstab

1 Like

nevermind. answered above before I finished.

Its for usb I am just trying to read through the wiki so if i should take it out i dont mind

USB drives are not handled by the fstab. You can handle that through your file manager usually.

1 Like

@kisun, The above can be seen as Proof why i said the below:

:rofl:

1 Like

I saw that the computer has no swap file or partition.
The user then will open a thread and will ask, when the computer freezes.

No need to answer problems that are not posted or asked yet, especially in a topic about something totally different…

1 Like

@TriMoon

I sent u a message please look

Being proactive is good.

Confusing people when trying to be proactive is bad.

:wink:

2 Likes