grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About grub.cfg{.new,} generation


From: appzer0
Subject: About grub.cfg{.new,} generation
Date: Wed, 12 Jan 2011 16:00:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11

Hello,

I'd like to have some info about the 'grub-mkconfig script'. I'm packaging grub 1.98.

Tell me if I'm wrong ; this script generates a '/boot/grub/grub.cfg.new' then it renames it to '/boot/grub/grub.cfg'. I see a line saying: echo /boot/grub | sed "s,x,x" ; what is it used for? The sed command does not change anything here, I think.

The problem is that slackware and other distributions use a "*.new" renaming pattern when upgrading packages, in order to not overwrite important config files. Then the user has to deal with these .new files, rename, overwrite or toss away.

If 'grub-mkconfig' is really doing what I think it does, then it would just overwrite this important file, '/boot/grub/grub.cfg.new'.

Sorry for my english.


appzer0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]