All of lore.kernel.org
 help / color / mirror / Atom feed
* GRUB && DEFRAG (HELP) IT IS NOT SPAM
@ 2005-11-17 20:19 Alexandre Borges
  2005-11-17 20:57 ` Marco Gerards
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Borges @ 2005-11-17 20:19 UTC (permalink / raw)
  To: grub-devel

Hi there,
My name's Alexandre Borges from Rio de Janeiro (Brazil).
I'm working in a defrag for linux/ext2.
Could you say me a easy way to identify which files I must to preserve when
defragging?
Currently I've adopted the follow strategy: I preserve each file on /boot
(recusive)
directory.
It has worked at Red Hat 7 and Mandrake 10 with LILO, but I don't know about
GRUB.
My main care is GRUB needs for some file that it isn't in /boot
Do you have any code to identify such files(inodes or even sectors) if
necessary?
How can I be make sure that grub has been instaled?

Could you help me?

Thanks,
Alexandre


___________________________________________________________________________________
Promoção Mergulhou Ganhou!
Navegue 30 horas e ganhe R$10,00 para gastar com o que quiser no Submarino.
Cadastre-se aqui. www.click21.com.br/mergulhouganhou/




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

* Re: GRUB && DEFRAG (HELP) IT IS NOT SPAM
  2005-11-17 20:19 GRUB && DEFRAG (HELP) IT IS NOT SPAM Alexandre Borges
@ 2005-11-17 20:57 ` Marco Gerards
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Gerards @ 2005-11-17 20:57 UTC (permalink / raw)
  To: The development of GRUB 2

Alexandre Borges <alexandre_b_g@click21.com.br> writes:

Hi Alexandre,

> My name's Alexandre Borges from Rio de Janeiro (Brazil).
> I'm working in a defrag for linux/ext2.
> Could you say me a easy way to identify which files I must to preserve when
> defragging?

GRUB accesses the filesystem and does not use some block list.  GRUB
itself is stored in the MBR and some sectors following the MBR.  This
is enough to load the rest of GRUB from the filesystem.

So in case GRUB is used defragmenting doesn't hurt.

I wonder why you want to defragment an ext2.  In case you make sure
you don't fill up the entire disk, the filesystem won't be that badly
fragmented.  Most filesystems, like ext2, have special measures to
prevent severe external fragmentation.

--
Marco




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

end of thread, other threads:[~2005-11-17 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17 20:19 GRUB && DEFRAG (HELP) IT IS NOT SPAM Alexandre Borges
2005-11-17 20:57 ` Marco Gerards

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.