[Techtalk] infinite subdirs!!

Kathryn Hogg kjh at flyballdogs.com
Sat Mar 13 03:33:00 EST 2004


Kai MacTane said:
> I accidentally created something like that once, with a script that didn't
> perform quite the way I'd intended. Of course, there can't actually be a
> truly infinite number of subdirectories there; each dir does take a few
> bytes, plus an inode, and both of those are finite resources.

What if someone did:

cd boot
ln -d boot .

wouldn't that effectively create an infinite directory loop?

personally I would cd to the top level boot and do

ls -lid . boot

-- 
Kathryn
http://womensfootyusa.com


More information about the Techtalk mailing list