Levels of soft links in BSD4.3

Jeff Beadles jeff at onion.pdx.com
Thu Sep 6 13:58:02 AEST 1990


irick at ecn.purdue.edu (GarBear Irick) writes:

>Just curious....  Does anyone know how many levels of soft links I can use
>in 4.3BSD?  Something like

Well, it can be configured by whomever builds the kernel.  On the 4.2 BSD
system here, it's 20.  (in h/param.h, #define MAXSYMLINKS 20)

Your mileage may vary.

(Un?)fortunatly, the kernel code does not set this a variable that can be used.
They just check against the define.  (ie: if (++nlink > MAXSYMLINKS) { ... })

	-Jeff
-- 
Jeff Beadles  jeff at onion.pdx.com  jeff at quark.wv.tek.com



More information about the Comp.unix.questions mailing list