Peter Wemm b587fd008d Don't panic if a VOP_READ() gets through on a short link, Just Do It
(because we can :-).  This means you can open a link file (or pseudo-file
in the case of short links where the data is stored in the inode rather
than disk blocks) and read the contents.
However, trap any writes from the user as it's difficult to do the right
thing in all cases.  A link may be short and the user may be trying to
extend it beyond the limit and so on.  Although.. being able to re-target
a symlink without deleting it first might have been nice.
This stuff is a bit perverse since symlink() and readlink() calls can
end up actually being implemented as read/write vnode ops.

Reviewed by: phk
1998-04-06 17:44:40 +00:00
..
1998-04-06 11:40:42 +00:00
1998-04-06 05:11:42 +00:00
1998-02-09 06:11:36 +00:00
1998-01-08 23:42:31 +00:00
1998-04-06 11:41:07 +00:00
1997-05-28 04:45:15 +00:00