[systemd-devel] [PATCH] readahead: Add savedir option
Kyungmin Park
kmpark at infradead.org
Thu Feb 14 06:50:59 PST 2013
Hi,
On Thu, Feb 14, 2013 at 10:04 PM, Tom Gundersen <teg at jklm.no> wrote:
> 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].
In our case, /var is mounted as tmpfs. IOW, it can't contain
persistent .readahead for next booting.
>
> 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?
The main reason for this patch is that it can't save $root/.readahead
at RO partition. Are there other way?
Thank you,
Kyungmin Park
>
> Cheers,
>
> Tom
>
> [0]: <http://cgit.freedesktop.org/systemd/systemd/tree/TODO#n462>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list