bin/74387: mount(8) linprocfs can be mounted on top of itself
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>
Subject: Re: bin/74387: mount(8) linprocfs can be mounted on top of itself
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
linprocfs /usr/local/gentoo-stage3/proc linprocfs rw
11 55 491
`for i in `jot - 1 10`; do mount -a; done`
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.
More information about the freebsd-bugs