On Sun, Jan 06, 2013 at 03:17:52AM +0300, Maksim Melnikau wrote: > Linux kernel now have interesting zram feature, which I would like to hmm... why this all is not completely hidden in kernel memory management? Why we need re-route by special device? Is it designed for anything other than swaparea? > 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. swapon(8) already contains swap area reinitialization code (exec mkswap), it's used for --fixpgsz. Maybe we can add "mkswap" fstab and command line option for swapon. Anyway, mkswap is a nice and quick way how to lost data if you make a typo in your configuration. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html