Date: Fri, 11 Sep 1998 09:27:44 -0400 (EDT) From: seth@freebie.dp.ny.frb.org To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/7895: multiple identical NFS mounts accepted Message-ID: <199809111327.JAA15754@freebie.dp.ny.frb.org>
next in thread | raw e-mail | index | archive | help
>Number: 7895 >Category: bin >Synopsis: multiple identical NFS mounts accepted >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: Fri Sep 11 06:30:01 PDT 1998 >Last-Modified: >Originator: Zippy >Organization: none >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: >Description: multiple identical nfs mounts (from the same exported fs to the same mountpoint) are accepted and each is given an entry in 'mount' output. >How-To-Repeat: easy. Two ways: have an nfs mount in /etc/fstab, and do a mount -a twice, or manually nfs-mount the same fs twice: # mount netserv3:/export/freebie/usr/packages-2.2.7 /usr/packages # mount netserv3:/export/freebie/usr/packages-2.2.7 /usr/packages # mount /dev/wd0s1a on / (local) /dev/wd0s1f on /tmp (local) /dev/wd0s1g on /usr (NFS exported, local) /dev/wd0s1e on /var (local) netserv3:/export/freebie/usr/packages-2.2.7 on /usr/packages netserv3:/export/freebie/usr/backup on /usr/backup procfs on /proc (local) netserv3:/export/freebie/usr/packages-2.2.7 on /usr/packages Umounting /usr/packages will umount the most-recently-mounted instance. Add'l info: # what `which mount` /sbin/mount: Copyright (c) 1980, 1989, 1993, 1994 mount.c 8.19 (Berkeley) 4/19/94 Copyright (c) 1993, 1994 mount_ufs.c 8.2 (Berkeley) 3/27/94 getmntopts.c 8.1 (Berkeley) 3/27/94 >Fix: Don't know exactly, but mount needs to check to see that the mountpoint isn't already being used as such. >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?199809111327.JAA15754>