Recovering loss of /var/db/pkg ?

Joshua Gimer jgimer at gmail.com
Thu Apr 9 12:12:56 PDT 2009


You could try to recover the file from the disk if it has not been
reallocated using something like The Sleuth Kit:

http://www.sleuthkit.org/

You can use fls to find the location of the file on the disk and then
icat to recover.

On Wed, Apr 8, 2009 at 12:29 PM, Mark Stosberg <mark at summersault.com> wrote:
>
> I'll just say it plainly:
>
> /var/db/pkg is long gone and there is no backup. It was not copied to
> new a machine.
>
> Is there is any hope of being able to use the ports or packages system in a
> meangingful way again?
>
> My sense is that some recovery is possible, but may be prohibitively expensive.
>
> Thanks for any tips!
>
>   Mark
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>



-- 
Thx
Joshua Gimer


More information about the freebsd-questions mailing list