On Mon, Jul 16, 2007 at 11:42:08PM -0700, david@lang.hm wrote:What I meant by that was that root is allowed to shoot himself in the foot. Nothing stops root from opening a swap/hibernate file, which would put it in cache, and cause it to be inconsistant if a hibernation image was written to it behind the kernel's back. That would be a very stupid thing to do, however. There's no reason to open that file, unless you know *exactly* what you are doing, in which case the onus is on you to get it right. But you have a point. The swap file could be very fragmented. It might often be so, even. Still, is this better than exporting the kernel's swap internals (which has never been a public interface before)? Does it make the interface that writing hibernation images to swap imposes any better? Even if hibernation files are no less complicated to support than hibernating to swap files (which isn't a forgone conclusion) , there are plenty of reasons writing hibernation images to swap doesn't make sense. My point is that no extra work is required to write hibernation images to dedicated files than to write hibernation images to swap files. If swap files are to be supported, then, there's no technical reason not to support dedicated hibernation files. Dedicated hibernation files are better, and there's no reason not to implement them. -- Joseph Fannin jfannin@gmail.com -
| Cliffe | Re: [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Andrew Morton | Re: [RFC/PATCH] Documentation of kernel messages |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Radu Rendec | Endianness problem with u32 classifier hash masks |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
git: | |
