Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
To clear things up a bit: I build a Image using Buildroot running Busybox on top. I have SystemVinit. Is there something else commonly used out there? Otherwise I just create my own daemon. Best regards, Pascal Lennart Poettering schrieb am Mi., 14. Juni 2017 um 11:23 Uhr: > On Wed, 14.06.17

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Lennart Poettering
On Wed, 14.06.17 08:44, Pascal K (pascalkra...@gmail.com) wrote: > As I am on a embedded device I am trying to avoid the usage of systemd due > to serveral reasons. Not sure I follow the logic in the above, but if you don't want to use systemd, then you should probably run something else that can

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Michael Biebl
2017-06-14 10:44 GMT+02:00 Pascal K : > As I am on a embedded device I am trying to avoid the usage of systemd due > to serveral reasons. Does that mean you are not using systemd as PID 1? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Ear

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
As I am on a embedded device I am trying to avoid the usage of systemd due to serveral reasons. @Lennart I try to follow your point: > Note that we run udevd in its own mount namespace through MountFlags=, > and this means no mounts will ever appear on the host anyway. Am I right that this mean

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Lennart Poettering
On Wed, 14.06.17 08:11, Pascal K (pascalkra...@gmail.com) wrote: > I try to achieve that regardless the device plugged to my embedded system > the mount will be in folder /media/"name_of_volume". > > If I understand correctly for the usage of fstab I have to give a static > name for the mount poi

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Lennart Poettering
On Wed, 14.06.17 07:30, Pascal K (pascalkra...@gmail.com) wrote: > Hello everyone, > > I am new to this list and to udev (used mdev before). > > My goal: Mount a CFast card partioned with 2 partitions one FAT32 and one > EXT4, the EXT4 I would like to mount with option "data=journal" > > The Pr

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
I try to achieve that regardless the device plugged to my embedded system the mount will be in folder /media/"name_of_volume". If I understand correctly for the usage of fstab I have to give a static name for the mount point. Thanks for pointing out the "nofail" option. Best regards, Pascal Le

[systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
Hello everyone, I am new to this list and to udev (used mdev before). My goal: Mount a CFast card partioned with 2 partitions one FAT32 and one EXT4, the EXT4 I would like to mount with option "data=journal" The Problem: from the console using mount the partition can be mounted with mount -o "da

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread MichaƂ Zegan
Hmm, why not to place such things in /etc/fstab? W dniu 14.06.2017 o 09:30, Pascal K pisze: > Hello everyone, > > I am new to this list and to udev (used mdev before). > > My goal: Mount a CFast card partioned with 2 partitions one FAT32 and > one EXT4, the EXT4 I would like to mount with opti