[systemd-devel] mounting a UBIFS filesystem
Cliff Brake
cliff.brake at gmail.com
Wed Jul 25 12:46:32 PDT 2012
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.brake at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120725/b79845b8/attachment.html>
More information about the systemd-devel
mailing list