From owner-freebsd-doc@FreeBSD.ORG Mon Dec 10 00:47:54 2007 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39A8416A49C for ; Mon, 10 Dec 2007 00:47:54 +0000 (UTC) (envelope-from freebsd-doc@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B2FEF13C458 for ; Mon, 10 Dec 2007 00:47:53 +0000 (UTC) (envelope-from freebsd-doc@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J1WoC-0007Cc-Mj for freebsd-doc@freebsd.org; Mon, 10 Dec 2007 00:47:44 +0000 Received: from 78-0-75-192.adsl.net.t-com.hr ([78.0.75.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Dec 2007 00:47:44 +0000 Received: from ivoras by 78-0-75-192.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Dec 2007 00:47:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-doc@freebsd.org From: Ivan Voras Date: Mon, 10 Dec 2007 01:47:25 +0100 Lines: 41 Message-ID: References: <20071209234943.GB2112@kobe.laptop> <9bbcef730712091554p63d4ec54sdaf0abcb6e5b1c65@mail.gmail.com> <20071210002131.GA74729@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig499D342CBF81FAC5722DE578" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-75-192.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <20071210002131.GA74729@kobe.laptop> X-Enigmail-Version: 0.95.5 Sender: news Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 7 trivial problems / notes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 00:47:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig499D342CBF81FAC5722DE578 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Giorgos Keramidas wrote: > For example, does it make sense to fsck a tmpfs, ever? When it's not > mounted, is it accessible in any way? What are the `use cases' of the > tmpfs filesystem, other than memory-backed /tmp mounts? fscking tmpfs, if it does make sense, can't ever be done from the userland; fsck_tmpfs could, in theory, only instigate the kernel file system driver to "do something" and probably return some sort of simple status result - it would be much harder to do any kind of superuser interaction like the "normal" fsck programs do. While there could, in theory, be some kind of scrubbing function in the kernel module that traverses the in-memory structures, I doubt it would make sense - I suspect the system would crash very soon if a memory corruption or a bug that mangles the structures existed. Possibly defragmentation could be useful, but I don't know enough about tmpfs to say for sure. --------------enig499D342CBF81FAC5722DE578 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXIydldnAQVacBcgRAnTiAJ4uKU+JNEs4dkRCBzCar4U1IlHrAwCfd6Cl jmEkp+gCEfG91EtBWPE6E4o= =ou7x -----END PGP SIGNATURE----- --------------enig499D342CBF81FAC5722DE578--