[systemd-devel] [PATCH] readahead: Add savedir option
kmpark at infradead.org
Thu Feb 14 06:50:59 PST 2013
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 .
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
The main reason for this patch is that it can't save $root/.readahead
at RO partition. Are there other way?
> : <http://cgit.freedesktop.org/systemd/systemd/tree/TODO#n462>
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
More information about the systemd-devel