The stat command shows this:
Code: Select all
sh-4.1# stat et
File: `et' -> `/etc:/usr/etc:/usr/local/etc'
Size: 28 Blocks: 0 IO Block: 4096 symbolic link
Device: bh/11d Inode: 8007 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-12-04 15:41:40.000000000 -0700
Modify: 2011-12-04 15:41:40.000000000 -0700
Change: 2011-12-04 15:41:40.000000000 -0700
Code: Select all
sh-4.1# ls et
et
Kernel programming changes needed may not be all that bad.
Could reuse kernel code used for $PATH, or maybe easier to write new code.