[systemd-devel] [PATCH] readahead: Add savedir option

Tom Gundersen teg at jklm.no
Thu Feb 14 05:04:52 PST 2013


On Thu, Feb 14, 2013 at 9:47 AM, Seunghun Pi <sh.pi at samsung.com> wrote:
> In case of root file system mounted in read-only mode,
> the collected data cannot be stored.
> Then add code to specify directory path of collected data as RW position.
> With --savedir=PATH option, collected data can be stored in the path.

Hm, I don't se how this could work like this. What is making sure that
this other filesystem is mounted before you try to access it?

You probably want to use a .path unit as mentioned in [0].

Also, if the case can be made for this being good enough, then maybe
we always want to put the readahead file there rather than having it
configurable?

Cheers,

Tom

[0]: <http://cgit.freedesktop.org/systemd/systemd/tree/TODO#n462>


More information about the systemd-devel mailing list