[systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

Andrei Borzenkov arvidjaar at gmail.com
Tue May 12 20:35:58 PDT 2015


В Tue, 12 May 2015 20:37:15 +0200
Karel Zak <kzak at redhat.com> пишет:

> On Tue, May 12, 2015 at 07:29:33PM +0300, Andrei Borzenkov wrote:
> > В Tue, 12 May 2015 18:04:50 +0200
> > Karel Zak <kzak at redhat.com> пишет:
> > 
> > > Currently we have no way how to specify dependencies between fstab
> > > entries (or another units) in the /etc/fstab. It means that users are
> > > forced to bypass fstab and write .mount units manually.
> > > 
> > 
> > Actually we have.
> > 
> > mkdir -p /etc/systemd/system/path-to-mount-point.mount.d
> > cat > /etc/systemd/system/path-to-mount-point.mount.d/deps.conf << EOF
> > [Unit]
> > After=xxx
> > Before=xxx
> > Wants=xxx
> > Requires=xxx
> > EOF
> 
> You miss the point -- keep all in fstab.
> 

I admit I do. Why? We want to keep in fstab bits and pieces that are
common with other utilities. Which other tool needs to know systemd
dependencies?


More information about the systemd-devel mailing list