[systemd-devel] mount ubifs using /dev/ubi0_X path

Lennart Poettering lennart at poettering.net
Mon Jan 23 17:09:04 UTC 2017


On Mon, 23.01.17 17:56, Mirza Krak (mirza.krak at gmail.com) wrote:

> Simply running "mount -a" once the system has started up gives me no
> issues and /data is mounted according to my specification in
> /etc/fstab.
> 
> Also changing my fstab entry from "/dev/ubi0_2" to "ubi0_2" or
> "ubi0:data" produces no errors and it is mounted as expected. But I
> really want to use the "/dev" and I do not see a reason why it should
> not work?

systemd only picks up devices that carry the "systemd" label in udev,
and do not have SYSTEMD_READY=0 set. Usually the label is added by
some udev rule, most likely that's missing for your devices.

See systemd.device(5) for details.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list