Re: Resolution & recovery: Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
"Jacob S." <stormspotter@6texans.net> writes:
> On Sat, 10 Jul 2004 20:03:32 -0500
> "Jacob S." <stormspotter@6texans.net> wrote:
>
>> On Sat, 10 Jul 2004 17:41:58 -0700
>> "Karsten M. Self" <kmself@ix.netcom.com> wrote:
>>
>> <snip>
>> > - The 'Knoppix' hostname worked its way into a few config files.
>> >
>> > # find /etc -type f -print0 | xargs -0 grep -il knoppix
>> >
>> > ...and clean those up.
>>
>> One question, in hopes that I can learn something; what does the above
>> command gain you that "grep -ril knoppix" wouldn't?
> ^^^^^^^^^^^^^^^^^
> Oops. That was supposed to be "grep -ril knoppix /etc".
The 'find' command above only works on regular files (not symlinks),
whereas 'grep -r' will follow symlinks (and thus could produce
duplicates or get into recursive loops).
--
You win again, gravity!
Reply to:
- References:
- Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
- From: "Karsten M. Self" <kmself@ix.netcom.com>
- Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
- From: Silvan <dmmcintyr@users.sourceforge.net>
- Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
- From: "Karsten M. Self" <kmself@ix.netcom.com>
- Resolution & recovery: Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
- From: "Karsten M. Self" <kmself@ix.netcom.com>
- Re: Resolution & recovery: Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
- From: "Jacob S." <stormspotter@6texans.net>
- Re: Resolution & recovery: Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?
- From: "Jacob S." <stormspotter@6texans.net>