Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 17:20:04 GMT
From:      Alexander Best <alexbestms@wwu.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/74387: mount(8) linprocfs can be mounted on top of itself many times
Message-ID:  <201003241720.o2OHK49x090181@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR bin/74387; it has been noted by GNATS.

From: Alexander Best <alexbestms@wwu.de>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: bin/74387: mount(8) linprocfs can be mounted on top of itself
 many times
Date: Wed, 24 Mar 2010 18:09:59 +0100 (CET)

 this pr is no longer reproducible under HEAD (r205561).
 
 `cat /etc/fstab|grep linprocfs`:
 linprocfs               /compat/linux/proc      linprocfs       rw      0
 0
 linprocfs               /usr/local/gentoo-stage3/proc   linprocfs       rw
 0       0
 
 `mount|wc`:
       11      55     491
 
 `for i in `jot - 1 10`; do mount -a; done`
 
 `mount|wc`:
       11      55     491
 
 sbin/mount/mount.c:466 has a comment saying:
 
 /* The user may have specified a symlink in fstab, resolve the path */
 
 so ismounted() takes care of this now.
 
 the commit that fixed this was r154512 (HEAD, stable8 and stable7). it's been
 mfc'ed to stable6 in r154774.
 
 so this pr can be closed.
 
 -- 
 Alexander Best


home | help

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