Robert C. Paulsen Jr. wrote:
> Perhaps you saved the file from within vi. That might "unsparse" the
> file.

   Yes.. but perhaps I didn't. :)

> Read up on the --sparse option of cp ("man cp"). It looks like the
> following will work: (warning! I have not tried this!)
> 
>       cd /var/log
>       mv lastlog lastlog-orig
>       cp --sparse=always lastlog-orig lastlog
>       du -h lastlog
>       rm lastlog-orig

 That worked perfectly.. wait a minute..
 weren't you the guy asking for help in the first place? :)

Thanks a lot,
-- 
Herculano de Lima Einloft Neto <[EMAIL PROTECTED]>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to