Bug 27686

Summary: Symlinks to directories cause contents of target directory to be treated as a directory
Product: Base System Reporter: akm <akm>
Component: kernAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me CC: akm
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description akm 2001-05-27 14:30:01 UTC
Symlinks to directories cause contents of target directory to be treated 
as a directory, this obviously causes freakish problems with legacy apps.

Fix: 

None Available
How-To-Repeat: boot kernel with DEVFS

mkdir -p /usr/dev/dri
ln -fs /usr/dev/dri/ /dev/dri
cd /usr/dev/dri
mknod c 145 0 root:wheel card0
cd /dev
(if you have command complete on this works a lot easier..)
cd dri/card0/card0/card0/card0/card0/card0/card0...
Comment 1 Jesper Skriver freebsd_committer freebsd_triage 2001-05-28 00:28:20 UTC
Responsible Changed
From-To: freebsd-bugs->phk

phk is mister devfs
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2001-05-28 07:06:32 UTC
State Changed
From-To: open->closed

Duplicate of kern/27656, which phk already fixed.