From owner-freebsd-current@FreeBSD.ORG Tue Jun 16 14:10:44 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72F62106564A; Tue, 16 Jun 2009 14:10:44 +0000 (UTC) (envelope-from ben@wanderview.com) Received: from mail.wanderview.com (mail.wanderview.com [66.92.166.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1925E8FC1C; Tue, 16 Jun 2009 14:10:43 +0000 (UTC) (envelope-from ben@wanderview.com) Received: from [10.76.10.146] ([10.76.10.146]) (authenticated bits=0) by mail.wanderview.com (8.14.3/8.14.3) with ESMTP id n5GEAfis067391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Jun 2009 14:10:42 GMT (envelope-from ben@wanderview.com) Message-ID: <4A37A7E1.6060905@wanderview.com> Date: Tue, 16 Jun 2009 10:10:41 -0400 From: Ben Kelly User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: Ivan Voras References: <4A370DB2.8070403@wanderview.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.44 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.64 on 10.76.20.1 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: tmpfs experimental? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 14:10:44 -0000 Ivan Voras wrote: > Ben Kelly wrote: >> I get some slightly unexpected behavior when mount is run >> multiple times: >> >> ianto# mount | grep ' /tmp' >> tmpfs on /tmp (tmpfs, local) >> ianto# mount /tmp >> ianto# mount | grep ' /tmp' >> tmpfs on /tmp (tmpfs, local) >> tmpfs on /tmp (tmpfs, local) >> ianto# umount /tmp >> ianto# mount | grep ' /tmp' >> tmpfs on /tmp (tmpfs, local) > > Sorry, maybe I'm missing the point, but what is wrong with the above > behaviour? AFAIK you are allowed to mount multiple file systems on the > same directory, though it isn't very useful. I guess I just found it confusing because it effectively made files disappear from my file system. This was a surprise to me since I was interpreting fstab as saying "mount a single tmpfs file system here". The only other file system I really had to compare it to was a writable UFS partition which does not exhibit this behavior. Anyway, I have no problem if this is expected behavior. Just mentioning what I thought was an oddity. Overall its been very stable for me. - Ben