Re: ls -l / question in jessie
On Mon 28 Nov 2016 at 11:40:55 -0500, Greg Wooledge wrote: > 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 root31 Jun 3 10:34 initrd.img -> > > /boot/initrd.img-3.16.0-4-amd64 > > lrwxrwxrwx 1 root root27 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. I use the symlinks with GRUB. If you give a really, really good reason I'll stop doing it. -- Brian.
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 root31 Jun 3 10:34 initrd.img -> > /boot/initrd.img-3.16.0-4-amd64 > lrwxrwxrwx 1 root root27 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 root29 Sep 19 13:50 initrd.img -> > boot/initrd.img-4.6.0-1-amd64 > lrwxrwxrwx 1 root root26 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.
ls -l / question in jessie
why do the sym links in ls -l / point to /boot/ and boot/ lrwxrwxrwx 1 root root31 Jun 3 10:34 initrd.img -> /boot/initrd.img-3.16.0-4-amd64 lrwxrwxrwx 1 root root27 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? 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 root29 Sep 19 13:50 initrd.img -> boot/initrd.img-4.6.0-1-amd64 lrwxrwxrwx 1 root root26 Sep 19 13:50 vmlinuz -> boot/vmlinuz-4.6.0-1-amd64 any ideas? thank you em