On Mon, Sep 29, 2014 at 08:35:04PM +0400, Andrei Borzenkov wrote: > В Mon, 29 Sep 2014 17:16:25 +0200 > Zbigniew Jędrzejewski-Szmek <[email protected]> пишет: > > > > > The problem with reading but back discards settings remains. > > > > Seems like the most natural solution is to extend /proc/swaps. The only > place where these flags are printed right now is in dmesg during swapon. Yeah, but how can you extend /proc/swaps in a backwards compatible way? Like many kernel interfaces, it was designed with no thought towards extensibility. A new file would have to be created (/proc/swapinfo?).
The advantage would be that all the flags could be exposed. This new file could probably be also used to expose information about zswap & friends. Zbyszek _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
