[net.bugs.2bsd] Symbolic links

ddl@tardis.UUCP (Dan Lanciani) (08/23/84)

[]
	The problem with the symlink(2) call is that its entry in sysent.c
is within an '#ifdef UCB_NET'.  The local syscall returns [EINVAL] when
it gets a request for an index greater than the maximum valid local syscall.
	As far as I can tell, the #ifdef in question is totally unnecessary
as the unused entries have already been defined as nosys.  (It may be that
someone wanted to save a little table space?)  At any rate, I have removed
it and symlinks work fine for both normal and networking kernels.
	There is a bug in fsck which causes the blocks allocated to
symlinks to be returned to the free-list when a disk is checked.  This
can be fixed by REMOVING the #ifdef's associated with SPECIAL file types
and symlinks, i.e., symlinks are not special.

					Dan Lanciani
					ddl@tardis
					...!{wjh12,harvard}!tardis!ddl
					ddl%tardis@harvard.ARPA

omsi@reed.UUCP (OMSI) (01/26/85)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***
Am trying to get symbolic links to work with 2.9BSD with no success.
Get an 'Invalid argument' error when I try a 'ln -s foo bar'.  Have
recompiled ln and defined UCB_SYMLINKS in the kernal.  Is there some
other define needed to get this to work?
	Thanx, Bob Ankeney
	tektronix!reed!omsi