Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2001 20:10:53 +1000 (EST)
From:      akm@sneaker.net.au
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        akm@sneaker.net.au
Subject:   kern/27686: DEVFS has problems with symlinks to directories
Message-ID:  <200105261010.f4QAArD24586@janus.theinternet.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         27686
>Category:       kern
>Synopsis:       Symlinks to directories cause contents of target directory to be treated as a directory
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 06:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>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: Sat May 26 21:44:08 EST 2001 root@:/export/src/sys/compile/marty i386
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105261010.f4QAArD24586>