Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Beginners • Re: Run USB image on a SD

$
0
0
It worked with the nofail flag in fstab-sd thanks all !

In order to have sda3 mounted at the fstab specified location when it comes available, what would be the preferred method, systemd mount unit or udev rule?

Regards

Julien
I've not tried either.

I use

Code:

sudo mount -a
or

Code:

sudo mount /mnt/data
See man mount

If you add x-systemd.automount to the options in fstab systemd will retry the mount on access to its contents.*

FYI: fstab entries are converted to systemd mount units on the fly during boot and those are what's actually used.

*: I can be deceptive though. ls /mnt/data won't retry but ls/mnt/data/foo will.

Statistics: Posted by thagrol — Sun Mar 30, 2025 12:32 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles