Re: FreeBSD 7 trivial problems / notes

看板FB_doc作者時間18年前 (2007/12/10 08:48), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/10 (看更多)
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--
文章代碼(AID): #17N8pS00 (FB_doc)
討論串 (同標題文章)
文章代碼(AID): #17N8pS00 (FB_doc)