From akm@mother.sneaker.net.au  Sat May 26 03:18:36 2001
Return-Path: <akm@mother.sneaker.net.au>
Received: from mother.sneaker.net.au (mother.sneaker.net.au [61.8.14.2])
	by hub.freebsd.org (Postfix) with ESMTP id E329637B424
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 May 2001 03:18:32 -0700 (PDT)
	(envelope-from akm@mother.sneaker.net.au)
Received: (from akm@localhost)
	by mother.sneaker.net.au (8.10.0/8.9.3) id f4QAPxq29856;
	Sat, 26 May 2001 20:25:59 +1000 (EST)
	(envelope-from akm)
Message-Id: <20010526202558.57893@mother.sneaker.net.au>
Date: Sat, 26 May 2001 20:25:58 +1000
From: Andrew Kenneth Milton <akm@mother.sneaker.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Subject: DEVFS has problems with symlinks to directories

>Number:         27656
>Category:       kern
>Synopsis:       Symlinks to directories cause contents of target directory to !
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 03:20:03 PDT 2001
>Closed-Date:    Sat May 26 13:08:05 PDT 2001
>Last-Modified:  Mon Jul 05 16:46:06 GMT 2004
>Originator:     Andrew Milton
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD janus.theinternet.com.au 5.0-CURRENT FreeBSD 5.0-CURRENT #9: S!
>Description:
Symlinks to directories cause contents of target directory to be treated
as a directory, this obviously causes freakish problems with legacy apps.

>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...

>Fix:
None Available
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sat May 26 13:08:05 PDT 2001 
State-Changed-Why:  
fixed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27656 
>Unformatted:
