[Techtalk] infinite subdirs!!

Aaron Malone aaron at munge.net
Sun Mar 14 23:37:00 EST 2004


On Sat, 13 Mar 2004 02:33:00 -0600 (CST), Kathryn Hogg wrote:
> What if someone did:
> 
> cd boot
> ln -d boot .
> 
> wouldn't that effectively create an infinite directory loop?

Something like that is almost certainly what's going on.  Gentoo, I
know, used to do this (they may still) because of the way their install
document was written.  In the grub configuration instructions, they
describe a path to the kernel like:
kernel (hd0,0)/boot/kernel-${VERSION}

But if /boot is a separate partition (recommended in the Gentoo docs),
then the kernel is actually at (hd0,0)/kernel-${VERSION}.  The boot/boot
link lets the same path work in either case.

-- 
Aaron Malone
aaron at munge.net


More information about the Techtalk mailing list