public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* fstab zram swap integration idea
@ 2013-01-06  0:17 Maksim Melnikau
  2013-01-07 12:42 ` Karel Zak
  0 siblings, 1 reply; 4+ messages in thread
From: Maksim Melnikau @ 2013-01-06  0:17 UTC (permalink / raw)
  To: util-linux

Linux kernel now have interesting zram feature, which I would like to
initialize via fstab. May be you find it interesting, and this feature
will be implemented:

It will be nice, add to fstab option "mkswap before swapon", which
could be used for auto-initialization swap in zram.

Right now, I do it in next way, which isn't very nice I think:
1. zram size initialized via tmpfiles systemd mechanism
2. mkswap done via udev rule
3. /dev/zram0 added to fstab

I asked same question at systemd-devel ML, and was redirected to
util-linux http://lists.freedesktop.org/archives/systemd-devel/2012-November/007444.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-10  9:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-06  0:17 fstab zram swap integration idea Maksim Melnikau
2013-01-07 12:42 ` Karel Zak
2013-01-07 14:52   ` Maksim Melnikau
2013-01-10  9:47     ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox