From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FInV0-0003qP-Mr for mharc-grub-devel@gnu.org; Mon, 13 Mar 2006 08:54:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FInUz-0003q2-0v for grub-devel@gnu.org; Mon, 13 Mar 2006 08:54:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FInUw-0003pJ-Kx for grub-devel@gnu.org; Mon, 13 Mar 2006 08:54:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FInUw-0003p9-EY for grub-devel@gnu.org; Mon, 13 Mar 2006 08:54:10 -0500 Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FInYv-0003Gs-2o for grub-devel@gnu.org; Mon, 13 Mar 2006 08:58:17 -0500 Received: from [10.111.111.10] (213-35-132-194-dsl.trt.estpak.ee [213.35.132.194]) by Relayhost2.neti.ee (Postfix) with ESMTP id EB34914720 for ; Mon, 13 Mar 2006 15:54:06 +0200 (EET) Message-ID: <4415797F.7000808@yahoo.com> Date: Mon, 13 Mar 2006 15:54:07 +0200 From: technologypages@yahoo.com User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=windows-1252; format=flowed X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee Content-Transfer-Encoding: quoted-printable Subject: Re: mkfs command in grub X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 13:54:13 -0000 Tom=E1=9A, unfortunately your solution to the swap sharing problem is=20 suboptimal -- swapping through filesystem code to a file in a VFAT=20 filesystem will quite likely be a order of magnitude slower than raw=20 partition access. It's OK if you are a casual Linux user, but not=20 acceptable if you are a casual Windows user like me :). Okuji, it's a matter of theoretical purism vs pragmatical problem=20 solving. As Marco already said, we can't change the behaviour of=20 non-free software. Hence we need to manipulate the swap partition before=20 booting Windows in this particular (and very common) use-case. Preparing=20 the swap partition for Windows is possible from a Linux shutdown script,=20 but this solution is fragile (one can imagine plenty of cases when the=20 script will not be run), and is not really Linux's responsibility=20 (preparing a partition for another OS). Which brings us back to the fact=20 that in this particular case it is the bootloader's responsibility. I=20 agree that this functionality should not be part of the core, but as=20 GRUB 2 is supposedly modular (haven't seen the code though), it should=20 be available as a module. Could someone who knows the code please envisage what should be done in=20 order to implement the mkfs module?