Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID switch exported by ACPI

2017-06-14 Thread Zheng, Lv
Hi, Benjamin > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > Subject: Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID switch > exported by ACPI > > Hi, > > [Sorry for the delay, I have been sidetracked from this] > > On Jun 07 2017 or thereabouts, Lennart Poet

Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID switch exported by ACPI

2017-06-14 Thread Zheng, Lv
Hi, > From: Lennart Poettering [mailto:mzxre...@0pointer.de] > Subject: Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID switch > exported by ACPI > > On Thu, 01.06.17 20:46, Benjamin Tissoires (benjamin.tissoi...@redhat.com) > wrote: > > > Hi, > > > > Sending this as a WIP as it

Re: [systemd-devel] magically disappearing filesystems

2017-06-14 Thread Michael Chapman
On Thu, 15 Jun 2017, Andrei Borzenkov wrote: 14.06.2017 16:58, Andre Maasikas пишет: systemd: Unit xx.mount is bound to inactive unit dev-mapper-xx.device. Stopping, too. systemd: Unmounting /mountpoint... kernel: XFS (dm-22): Unmounting Filesystem systemd: Unmounted /mountpoint. systemd: Unit x

Re: [systemd-devel] magically disappearing filesystems

2017-06-14 Thread Andrei Borzenkov
14.06.2017 16:58, Andre Maasikas пишет: > systemd: Unit xx.mount is bound to inactive unit dev-mapper-xx.device. > Stopping, too. > systemd: Unmounting /mountpoint... > kernel: XFS (dm-22): Unmounting Filesystem > systemd: Unmounted /mountpoint. > systemd: Unit xxx.mount entered failed state. > >

[systemd-devel] magically disappearing filesystems

2017-06-14 Thread Andre Maasikas
Hi, Having done this numerous times over the years I proceeded to move our data to new storage array, first time on a new os version though. Goes always like this, * attach array, create LUNS, create multipath conf etc... * umount old filesystem, mount new filesystems, mount old filesys to temp lo

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