On Wed, 27.08.14 10:59, Andrei Borzenkov ([email protected]) wrote: > On Wed, Aug 27, 2014 at 10:18 AM, Thomas Bächler <[email protected]> wrote: > >> +[Unit] > >> +Description=Resume from hibernation using device %f > >> +Documentation=man:[email protected](8) > >> +DefaultDependencies=no > >> +BindsTo=%i.device > > > > What's the purpose of BindsTo= as opposed to Requires= here. They are > > both the same for a oneshot service, but the former is more confusing. > > > > Semantic of Requires is simply wrong for device - you cannot "start" > device, you can only passively wait for it. Requisite is more > appropriate to express "cannot start until device is available". But I > think, BindsTo is established usage for devices and is quite clear > here.
Well, "starting" a device means waitinf for it. Requires and Requisite really have the same effect here... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
