How to fix a broken owner for files from world & build from ports?

Ralf Mardorf ralf.mardorf at rocketmail.com
Tue Jan 29 01:56:21 UTC 2013


On Tue, 29 Jan 2013 02:21:55 +0100, Ralf Mardorf  
<ralf.mardorf at rocketmail.com> wrote:

> The output of "freebsd-update IDS >> outfile_28Jan2013.ids" is useless  
> for this purpose.
>
> I now will do it like that:
>
> root at freebsd:/mnt/dump/tmp # bzcat  
> ../dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore rf -
>
> unfortunately it happened:
>
> /mnt/dump: write failed, file system is full
> write error extracting inode 2078075, name  
> ./local/share/locale/id/LC_MESSAGES/GConf2.mo
> write: No space left on device
> ^Crestore interrupted, continue? [yn] n
>
> ;)
>
> I still have to solve this.
>
> Then I will run
>
> # ls -l /usr/bin | awk '{print $3" "$9}' > foo_original.txt
>
> # ls -l /dump_dir/usr/bin | awk '{print $3" "$9}' > foo_dump.txt
>
> and diff both text files. After that I'll do it for all relevant  
> directories.
> How to continue depends to the output of diff.

Still not perfect, I guess I need something similar to ls -RAl for some  
directories :S and I didn't test what awk will do with names including a  
space.


More information about the freebsd-questions mailing list