Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 1999 15:16:26 -0400 (EDT)
From:      aa8vb@ipass.net
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        aa8vb@ipass.net
Subject:   kern/13161: mounting on top of a mounted file system
Message-ID:  <199908151916.PAA12679@stealth.ipass.net.>

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

>Number:         13161
>Category:       kern
>Synopsis:       mounting on top of a mounted file system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 15 12:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Randall Hopper
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
self
>Environment:

	Stock 3.2-RELEASE.

>Description:

I had:

   > df | grep 32_share
   /dev/wd1s3e   2031953  1353017   516380    72%    /32_share

Then I mistakenly did a:

   > mount /dev/wd0s3e /32_share
                  ^

And it didn't generate an error (!?).  I then had:

   > df | grep 32_share
   /dev/wd1s3e   2031953  1353017   516380    72%    /32_share
   /dev/wd0s3e   2032623  1169007   701007    63%    /32_share

Odd things started happening (vi failed, missing directories, etc.), so I
rebooted.  All is normal now, and nothing lost AFAIK, but that sure was
strange.

This looks like a bug.

>How-To-Repeat:

   > mount /dev/wd1s1  /abc
   > mount /dev/wd1s2  /abc
 
   In this case, both were FreeBSD UFSs.

>Fix:
	
   Unknown.  I think that mount should issue an error when this is attempted.

>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?199908151916.PAA12679>