Date: Mon, 4 Mar 2013 06:41:30 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Polytropon <freebsd@edvax.de> Cc: Joshua Isom <jrisom@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Grepping though a disk Message-ID: <alpine.BSF.2.00.1303040637210.66382@wonkity.com> In-Reply-To: <20130304121524.63685108.freebsd@edvax.de> References: <20130304013608.7981e8a9.freebsd@edvax.de> <51347454.5060605@gmail.com> <20130304121524.63685108.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Mar 2013, Polytropon wrote: > The file size of the file I'm searching for is less than 10 kB. > It's a relatively small text file which got some subsequent > additions in the last days, but hasn't been part of the backup > job yet. There have been some good suggestions. I would use a large buffer with dd, say 1M or more, both for speed and to reduce the chance of hitting only part of the search string. For the future, look at sysutils/rsnapshot. Easy to set up, space-efficient, and provides an easily-accessed file history.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1303040637210.66382>
