Re: It makes no sense to link vmlinuz and initramfs to the root directory
On 2024-11-14 10:31:46, Michael Stone wrote:
> On Tue, Nov 12, 2024 at 11:10:54PM +0100, Iustin Pop wrote:
> > > On Tue, Nov 12, 2024 at 02:14:34PM +0800, kindusmith wrote:
> > > > In early Unix, boot and vmunix were both stored in the root directory as
> > > > programs, and boot was used to start vmunix. Debian inherited this for
> > > > compatibility, but the situation has changed a lot. Today, boot is
> > > > stored in the root directory as a directory, which already contains the
> > > > kernel files vmlinuz and initramfs. Therefore, it makes no sense to link
> > > > vmlinuz and initamfs to the root directory, so the best way is to remove
> > > > them from the root directory.
> > >
> > > You may alter /etc/kernel-img.conf however you wish.
> >
> > The question is why on a default install with grub, which doesn't need
> > nor use the symlinks, are they still created. For most systems, they're
> > superfluous.
>
> I don't believe that actually was the question. In fact, I don't think there
> was a question at all, merely a comment to which I added some additional
> information.
Indeed. But even the comment, by itself, I think raises a question - why
do we (still) do this?
> If you wish to influence how things are done, try filing a bug on linux-base
> asking for the defaults to change. I would guess that most people that don't
> obsess over the results of ls / simply don't care.
True :) But like the original poster, it does bother me, so I'll see if
there is a bug filled already. Thanks!
iustin
Reply to: