Below is what I ended up with. Let me know if there are better/more standard ways to do this.
Thanks, Cliff ---------------------------- my-app.service: Wants=data.mount ---------------------------- data.mount: [Unit] Description=Mount data partition Requires=data-attach.service After=data-attach.service (this is important, otherwise the mount command runs before ubiattach finishes -- had me stumped for awhile) [Mount] What=ubi1:data Where=/data Type=ubifs ---------------------------- data-attach.service: [Unit] Description=Attach data ubi partition [Service] Type=oneshot ExecStart=/usr/sbin/ubiattach /dev/ubi_ctrl -m 6 -- ================= http://bec-systems.com
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel