Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263945AbUDZOF1 (ORCPT ); Mon, 26 Apr 2004 10:05:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263868AbUDZOFD (ORCPT ); Mon, 26 Apr 2004 10:05:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:48362 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S263851AbUDZNvl (ORCPT ); Mon, 26 Apr 2004 09:51:41 -0400 Date: Mon, 26 Apr 2004 14:28:32 +0200 From: Pavel Machek To: Martin Hermanowski Cc: Nigel Cunningham , Herbert Xu , Pavel Machek , Linux Kernel Mailing List Subject: Re: SOFTWARE_SUSPEND as a module Message-ID: <20040426122831.GH2595@openzaurus.ucw.cz> References: <20040422120417.GA2835@gondor.apana.org.au> <20040423005617.GA414@elf.ucw.cz> <20040423093836.GA10550@gondor.apana.org.au> <20040423143004.GC20742@mh57.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040423143004.GC20742@mh57.de> User-Agent: Mutt/1.3.27i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 29 Hi! > > >As a side-effect it also allows you to resume from devices that couldn't > > >be done before due to the need for user-space setup. Examples are LVM > > >and NBD. > > > > LVM can be compiled in, can't it? Does it need to do some setup from an > > initrd? > > It needs to be recognised by the lvm userspace utilities before it can > be used. > > One other thing this might be very useful for is _swsusp from encrypted > swap'. With dm-crypt, it should be very easy to create a crypto mapping > from initrd from which swsusp can resume. IMHO this is a killer feature > for notebook users (everything encrypted but the boot partition). Okay. Best way is probably to introduce reboot() variant that says "resume from this". Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/