From mi@ALDAN.algebra.com  Thu Feb 15 11:23:49 1996
Received: from who.cdrom.com (who.cdrom.com [192.216.222.3])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA16696
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Feb 1996 11:23:48 -0800 (PST)
Received: from aldan (PPP-84-15.BU.EDU [128.197.8.131])
          by who.cdrom.com (8.6.12/8.6.11) with ESMTP id LAA06293
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Feb 1996 11:22:46 -0800
Received: (from root@localhost) by aldan (8.6.12/8.6.12) id OAA10356; Thu, 15 Feb 1996 14:22:05 -0500
Message-Id: <199602151922.OAA10356@aldan>
Date: Thu, 15 Feb 1996 14:22:05 -0500
From: mi@ALDAN.algebra.com
Reply-To: mi@ALDAN.algebra.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: weird behavior after mounting
X-Send-Pr-Version: 3.2

>Number:         1029
>Category:       bin
>Synopsis:       cd behaves erraticly if cwd is a mount-point, which was just mounted
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 11:30:00 PST 1996
>Closed-Date:    Thu Sep 18 23:37:51 PDT 1997
>Last-Modified:  Thu Sep 18 23:38:02 PDT 1997
>Originator:     Mikhail Teterin
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

	/cdrom is a mount-point for SCSI cdrom

>Description:

	cd does not work properly right after mount

>How-To-Repeat:

	cd /cdrom
	ls
	[Nothing -- cdrom is not mounted]
	mount /cdrom
	ls
	[cdrom's top-level directory printed -- Ok]
	cd ports [one of the subdirectories]
	ports: No such file or directory.

>Fix:
	
	Work-around:
	cd ..
	cd cdrom
	cd ports

>Release-Note:
>Audit-Trail:

From: "Garrett A. Wollman" <wollman@lcs.mit.edu>
To: mi@aldan.algebra.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: bin/1029: weird behavior after mounting
Date: Thu, 15 Feb 1996 15:40:00 -0500

 <<On Thu, 15 Feb 1996 14:22:05 -0500, mi@ALDAN.algebra.com said:
 
 > 	cd /cdrom
 > 	ls
 > 	[Nothing -- cdrom is not mounted]
 > 	mount /cdrom
 > 	ls
 > 	[cdrom's top-level directory printed -- Ok]
 > 	cd ports [one of the subdirectories]
 > 	ports: No such file or directory.
 
 This is as it should be, except that `ls' should probably not give you
 anything.  It would probably work if you said `cd ./ports', given the
 evidence that `ls' works.
 
 The reason why this is may be made clear to you if you created a
 directory `foo' before mounting the cdrom.
 
 -GAWollman
 
 --
 Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
 wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
 Opinions not those of| It is a bond more powerful than absence.  We like people
 MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant

From: J Wunsch <j@uriah.heep.sax.de>
To: mi@ALDAN.algebra.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/1029: weird behavior after mounting
Date: Fri, 16 Feb 1996 00:48:34 +0100 (MET)

 As mi@ALDAN.algebra.com wrote:
 > 
 > 	cd /cdrom
 > 	ls
 > 	[Nothing -- cdrom is not mounted]
 > 	mount /cdrom
 
 I think this should fail with an EBUSY.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->feedback 
State-Changed-By: scrappy 
State-Changed-When: Mon Oct 21 23:07:01 PDT 1996 
State-Changed-Why:  

Dust off the cobwebs - Confirm Status 
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Thu Sep 18 23:37:51 PDT 1997 
State-Changed-Why:  
timed out 
>Unformatted:
