grub2 confusion
JB
jb.1234abcd at gmail.com
Thu Oct 6 20:36:59 UTC 2011
Michael Schwendt <mschwendt <at> gmail.com> writes:
>
> On Thu, 6 Oct 2011 19:25:19 +0000 (UTC), J (JB) wrote:
>
> > I think you criticize him unjustly.
>
> grub2-mkconfig is just a brute-force shell script that ends with
>
> # none of the children aborted with error, install the new grub.cfg
> mv -f ${grub_cfg}.new ${grub_cfg}
>
> so instead of not shipping an incompatible /etc/grub2.cfg symlink as
> long as this tool obviously cannot handle the symlink, there are lame and
> dubious attempts at defending the symlink.
>
The symlink is OK as it makes changes underneath of it transparent (like with
ld and libraries).
What needs to be fixed is the grub2-mkconfig.
Btw,
$ man 7 symlink
...
Commands not traversing a file tree
...
* The mv(1) and rm(1) commands do not follow symbolic links named as
arguments, but respectively attempt to rename and delete them.
...
JB
More information about the test
mailing list