<div dir="ltr">I try to achieve that regardless the device plugged to my embedded system the mount will be in folder /media/"name_of_volume". <div><br></div><div>If I understand correctly for the usage of fstab I have to give a static name for the mount point.</div><div><br></div><div>Thanks for pointing out the "nofail" option. </div><div><br></div><div>Best regards, </div><div>Pascal </div><div> </div></div><br><div class="gmail_quote"><div dir="ltr">Lennart Poettering <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> schrieb am Mi., 14. Juni 2017 um 10:06 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 14.06.17 07:30, Pascal K (<a href="mailto:pascalkrauth@gmail.com" target="_blank">pascalkrauth@gmail.com</a>) wrote:<br>
<br>
> Hello everyone,<br>
><br>
> I am new to this list and to udev (used mdev before).<br>
><br>
> My goal: Mount a CFast card partioned with 2 partitions one FAT32 and one<br>
> EXT4, the EXT4 I would like to mount with option "data=journal"<br>
><br>
> The Problem: from the console using mount the partition can be mounted with<br>
> mount -o "data=journal" ... but not from my udev rule. My rule results in<br>
> only the FAT32 partition being mounted.<br>
<br>
Note that we run udevd in its own mount namespace through MountFlags=,<br>
and this means no mounts will ever appear on the host anyway.<br>
<br>
Note that it is sufficient to mark mounts as "auto,nofail" in<br>
/etc/fstab to make sure they are mounted automatically as they appear<br>
without making the boot wait for it.<br>
<br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</blockquote></div>