Date: Thu, 22 Oct 1998 22:08:36 -0700 (PDT) From: N/A@FreeBSD.ORG To: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/8420: __getcwd() from an (forcibly) unmounted fs panics. Message-ID: <199810230508.WAA21246@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 8420 >Category: kern >Synopsis: __getcwd() from an (forcibly) unmounted fs panics. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 22 22:10:00 PDT 1998 >Last-Modified: >Originator: Juha Nurmela >Organization: N/A >Release: 3.0-19980831-SNAP >Environment: FreeBSD pena 3.0-19980831-SNAP FreeBSD 3.0-19980831-SNAP #25: Thu Oct 22 14:43:39 EEST 1998 junki@pena:/usr/src/sys/compile/PENA i386 >Description: Optimization to "pwd" causes a reference to bad current directory, in kern/vfs_syscalls.c:__getcwd(), when filesystem has been taken away by force (when changing CD's with simple scripts, for example). >How-To-Repeat: mount /cdrom cd /cdrom/foo umount -f /cdrom # typically from another terminal, wm menu etc. pwd # any command that does getcwd(3) >Fix: Workaround: sysctl -w debug.disablecwd=1 Probable fix: another loop termination clause to __getcwd() ? >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?199810230508.WAA21246>