Subject: Re: i broke my package system :)
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
From: Andrew Brown <atatat@atatdot.net>
List: tech-pkg
Date: 04/25/1999 23:55:17
>> # file /var/db/pkg/pkgdb.byfile.db
>> /var/db/pkg/pkgdb.byfile.db: ASCII text
>
>Interresting...
>miyu% file /var/db/pkg/pkgdb.byfile.db 
>/var/db/pkg/pkgdb.byfile.db: Berkeley DB Btree file/Little Endian (Version
>3, Page Size 8192, Free Page 312, Number of Records 0, Flags 0x20)

# file /etc/pwd.db 
/etc/pwd.db: Berkeley DB Hash file (Version 2, Little Endian, Bucket Size 4096, Bucket Shift 12, Directory Size 256, Segment Size 256, Segment Shift 8, Overflow Point 3, Last Freed 2, Max Bucket 7, High Mask 0xf, Low Mask 0x7, Fill Factor 32, Number of Keys 180)

>Can you rm the file, run "pkg_admin rebuiild", then run the file-command
>again?

um...okay.  nope.  still ascii.  uh...is this is actually broked, how
else would it manifest itself?

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."