Date: Tue, 25 Aug 2015 12:46:53 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: How to minimize the number of writes to CF card? Message-ID: <55DC55AD.9070209@FreeBSD.org> In-Reply-To: <55DC53A8.3020508@FreeBSD.org> References: <1440496718919-6034932.post@n5.nabble.com> <55DC3FBD.8080102@FreeBSD.org> <1440500542763-6034941.post@n5.nabble.com> <55DC53A8.3020508@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/25 12:38, Matthew Seaman wrote: > On 2015/08/25 12:02, zhup wrote: >> My proposal of solution with "noatime" and "softdep" flag: >> >> # vi /etc/fstab >> /dev/sd0a / ffs rw,noatime,softdep 1 1 >> >> What to you think about it? >=20 > 'softdep' is not something FreeBSD understands. (I think it's an > OpenBSD-ism) To clarify: it's not something that FreeBSD understands in fstab(5). You can use tunefs to enable / disable soft updates on a filesystem: tunefs -n enable /dev/sd0a (unmount the FS first) However, I don't think softupdates has much effect on the /number/ or writes made to the filesystem. It's all about re-ordering writes to ensure metadata consistency. Cheers, Matthew --RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJV3FWtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn1dsP/RMEIdVuDtyKJCSC66Y2L1Mf Ti+XCGz1XZDW9Y/tyDKrJ31sS0t005erKCeGpAixpPdrEmEVj4TWuRlbOXFA5NLY C4pxu/DzgHQEqt6c8zrLXTqk2plEp79o7hc66nA4KNXdWs5C9tJSQGv/ffCecC5I XSHayEXgQPc5aHtlMf492wcjNP7SawCaMtmdV36UONDqnmAu7xMImRUFyJ2d8Cfe 7fCCgwDUQIR6LmgOF5Tf0N9kL0jeCyXSmbLHqfSeA0fRr8K/XWUevIqQY+wW4SF/ nwSoYSt4vpcx9bVgNkqESHTt8xL721eeFyLzgREJoL0eI/pqBAVvZqCJsgOzKg8t Rad16zvVFQJJ5W/dgY14sBH998sUZOeE9QJ7YGITFCzt5mivMmwCLnjTfqlp8Rpy 9RAdoKAkXgpfL415Q4LRmejmpBr75oLA6toiho1LjzREeIkfA/19PEOFfTbZHewA VkQdB+okIkOS4lC0xzWSUX6JuJzM53GzoFQDRt1UE2aRfcRK/wCW/2ECD7WYvp5h PFJissNeukHDWn+WRgiqviDmQvn0q2B5IHvMACFoFRkpDkUasm5wzjIcSk02DTGV P+WFvzcKHPAmW+eg/k1NH/Lf7tfVo44o0d+7hh59YIU1ECb5F8GcEflyNaUMT0rd emUmtdda7jI+8BrjGri7 =QBMJ -----END PGP SIGNATURE----- --RP5UOcCn3td0qbFhuSuwmC5lDBCaR3rn5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DC55AD.9070209>