bin/74387: mount(8) linprocfs can be mounted on top of itself many times

Alexander Best alexbestms at wwu.de
Wed Mar 24 17:20:04 UTC 2010


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

From: Alexander Best <alexbestms at wwu.de>
To: <bug-followup at 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


More information about the freebsd-bugs mailing list