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

Re: ls -l / question in jessie



On Mon, Nov 28, 2016 at 08:10:04AM -0800, emetib wrote:
> why do the sym links in ls -l / point to /boot/ and boot/
> 
> lrwxrwxrwx   1 root root    31 Jun  3 10:34 initrd.img -> /boot/initrd.img-3.16.0-4-amd64
> lrwxrwxrwx   1 root root    27 Jun  3 10:34 vmlinuz -> boot/vmlinuz-3.16.0-4-amd64
> 
> is this just a fluke in the way that the two of them were made?

Yes.  As long as you don't do anything fancy like mounting your root file
system somewhere other than root (e.g. after booting from rescue media)
and then trying to use those symlinks.  Which shouldn't be used by
anything anyway, except LILO, and you probably shouldn't be using LILO.

> cat /etc/debian_version 
> 8.6
> cat /etc/os-release 
> PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
> 
> yet in stretch/sid they are both pointing to just boot/...
> 
> lrwxrwxrwx  1 root root    29 Sep 19 13:50 initrd.img -> boot/initrd.img-4.6.0-1-amd64
> lrwxrwxrwx  1 root root    26 Sep 19 13:50 vmlinuz -> boot/vmlinuz-4.6.0-1-amd64

Looks like someone else already saw the discrepancy and decided to fix it.


Reply to: