Re: grub2 confusion

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

 



On Thu, 6 Oct 2011 16:40:57 -0400, TH (Tom) wrote:

> By default, "grub2-mkconfig" outputs to stdout. "grub2-mkconfig -o
> /etc/grub2.cfg" is the equivalent of "grub2-mkconfig > /etc/grub2.cfg".

Not at all.

If it _were_ like that, it wouldn't break. ">" follows symlinks and
would be fine even with the read-only file perms for root.

If one were forced to use "grub2-mkconfig > /etc/grub2.cfg" or an editor
to insert the stdout of grub2-mkconfig, the symlink would work.

> I use "vi /etc/grub2.cfg", which is perfectly reasonable and useful,
> and is the same as using "vi /etc/grub.conf" previously.

The symlink target is read-only as another reminder that one should
not edit it with an editor but only via the fragments in /etc/grub.d/

-- 
Fedora release 16 (Verne) - Linux 3.1.0-0.rc8.git0.1.fc16.x86_64
loadavg: 0.32 0.08 0.07
-- 
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