All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: mkfs command in grub
@ 2006-03-13 13:54 technologypages
  2006-03-28 16:04 ` Marco Gerards
  0 siblings, 1 reply; 11+ messages in thread
From: technologypages @ 2006-03-13 13:54 UTC (permalink / raw)
  To: grub-devel

Tomáš, unfortunately your solution to the swap sharing problem is 
suboptimal -- swapping through filesystem code to a file in a VFAT 
filesystem will quite likely be a order of magnitude slower than raw 
partition access. It's OK if you are a casual Linux user, but not 
acceptable if you are a casual Windows user like me :).

Okuji, it's a matter of theoretical purism vs pragmatical problem 
solving. As Marco already said, we can't change the behaviour of 
non-free software. Hence we need to manipulate the swap partition before 
booting Windows in this particular (and very common) use-case. Preparing 
the swap partition for Windows is possible from a Linux shutdown script, 
but this solution is fragile (one can imagine plenty of cases when the 
script will not be run), and is not really Linux's responsibility 
(preparing a partition for another OS). Which brings us back to the fact 
that in this particular case it is the bootloader's responsibility. I 
agree that this functionality should not be part of the core, but as 
GRUB 2 is supposedly modular (haven't seen the code though), it should 
be available as a module.

Could someone who knows the code please envisage what should be done in 
order to implement the mkfs module?



^ permalink raw reply	[flat|nested] 11+ messages in thread
* mkfs command in grub
@ 2006-03-09 19:14 technologypages
  2006-03-10 21:44 ` Marco Gerards
  0 siblings, 1 reply; 11+ messages in thread
From: technologypages @ 2006-03-09 19:14 UTC (permalink / raw)
  To: grub-devel

Can someone please comment if adding filesystem creation support to grub 
is reasonable.

Please see the rationale at 
http://www.geocities.com/technologypages/grub-mkfs.txt

Will the developers consider adding this feature? It is rather easy to 
implement as far as I can see -- only glue for external filesystem 
creation code needs to be added.

Although the swap sharing use case discussed in the rationale is 
trivial, it is a common problem that may bring many multi-OS users over 
to GRUB 2 and create positive "media coverage" (if that feature will be 
added).



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

end of thread, other threads:[~2006-03-28 16:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-13 13:54 mkfs command in grub technologypages
2006-03-28 16:04 ` Marco Gerards
  -- strict thread matches above, loose matches on Subject: below --
2006-03-09 19:14 technologypages
2006-03-10 21:44 ` Marco Gerards
2006-03-11  9:10   ` Vesa Jääskeläinen
2006-03-11 11:08   ` Yoshinori K. Okuji
2006-03-11 14:37     ` Marco Gerards
2006-03-11 20:28       ` Yoshinori K. Okuji
2006-03-11 20:46         ` Marco Gerards
2006-03-12  0:03           ` Tomáš Ebenlendr
2006-03-12 22:28           ` Yoshinori K. Okuji

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.