Re: [systemd-devel] handling mount failure in initramfs context

2014-05-29 Thread Przemyslaw Rudy
Yes, explicit requires/after, all in dependency. On 05/28/2014 10:05 AM, WANG Chao wrote: > On 05/28/14 at 09:57am, Przemyslaw Rudy wrote: >> I use 'auto,fail' in fstab line options, however I have rootfs >> dependency to it so fail means all will fail. > > How do you do that? Are you saying that

Re: [systemd-devel] handling mount failure in initramfs context

2014-05-28 Thread WANG Chao
On 05/28/14 at 09:57am, Przemyslaw Rudy wrote: > I use 'auto,fail' in fstab line options, however I have rootfs > dependency to it so fail means all will fail. How do you do that? Are you saying that you create a explicit dependency on sysroot.mount to your xxx.mount from /etc/fstab? Thanks WANG

Re: [systemd-devel] handling mount failure in initramfs context

2014-05-28 Thread Przemyslaw Rudy
I use 'auto,fail' in fstab line options, however I have rootfs dependency to it so fail means all will fail. On 05/26/2014 09:12 AM, WANG Chao wrote: > Hi, all > > In a pure initramfs enviroment, I want to mount a filesystem and I put > an mount entry in /etc/fstab, so that fstab-generator could

Re: [systemd-devel] handling mount failure in initramfs context

2014-05-27 Thread Vivek Goyal
On Mon, May 26, 2014 at 04:12:56PM +0800, WANG Chao wrote: > Hi, all > > In a pure initramfs enviroment, I want to mount a filesystem and I put > an mount entry in /etc/fstab, so that fstab-generator could generate a > mount unit and systemd will mount it at some time. > > I have a question about

[systemd-devel] handling mount failure in initramfs context

2014-05-26 Thread WANG Chao
Hi, all In a pure initramfs enviroment, I want to mount a filesystem and I put an mount entry in /etc/fstab, so that fstab-generator could generate a mount unit and systemd will mount it at some time. I have a question about mount failure in such case: How can I make sure that upon a mount failu