[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/fstab and systemd



Pol Hallen <deben@fuckaround.org> writes:

> hi all :-)
>
> I migrated my pc to systemd (!), in /etc/fstab I've
>
> /dev/sdb1	/test	ext4	x-systemd.automount	0	0
> (I use UUID but to semplify I wrote /dev/sdb1)
>
> this line works but only on some pc
>
> what is the correct way to mount a disk automatically at start up of system?
>
> thanks!
>
Just remove the x-systemd.automount. Replace it with 'defaults' or
whatever other options you like.

Unless a volume is marked with specific systemd options to *not* mount
it automatically, systemd will mount everything in fstab at boot.

Mart

-- 
"We will need a longer wall when the revolution comes."
    --- AJS, quoting an uncertain source.


Reply to: