Re: grub2 confusion

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

 



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


-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux