OK, I figured out #3, it appears that soft links in a wants directory does the trick:
./sysinit.target.wants/cliff.mount -> ../cliff.mount ./sysinit.target.wants/dev-hugepages.mount -> ../dev-hugepages.mount ./sysinit.target.wants/dev-mqueue.mount -> ../dev-mqueue.mount ./sysinit.target.wants/sys-fs-fuse-connections.mount -> ../sys-fs-fuse-connections.mount ./sysinit.target.wants/sys-kernel-config.mount -> ../sys-kernel-config.mount ./sysinit.target.wants/sys-kernel-debug.mount -> ../sys-kernel-debug.mount Thanks, Cliff On Wed, Jul 25, 2012 at 3:35 PM, Cliff Brake <cliff.br...@gmail.com> wrote: > Hello, > > I'm trying to figure out how to mount a UBI filesystem in systemd. > > One wrinkle is I need to run: > > ubiattach /dev/ubi_ctrl -m 6 > > before the file system is mounted. > > 1) what is the best way to run ubiattach? Should this be a service that > runs first? > 2) what is the best Before target to use for mounting a data patition? > 3) how do *.mount files get enabled? It seems I can start/stop them, but > not enable/disable. > > Thanks, > Cliff > > -- > ================= > http://bec-systems.com > -- ================= http://bec-systems.com
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel