try 'testdisk' mailds:#cat /usr/ports/sysutils/testdisk/pkg-descr Tool to check and undelete partition Works with the following partitions: - FAT12 FAT16 FAT32 - Linux EXT2/EXT3 - Linux SWAP (version 1 and 2) - NTFS (Windows NT/W2K/XP) - BeFS (BeOS) - UFS (BSD) - Netware - ReiserFS
TestDisk is under GNU Public License. You can compile it under Dos with DJGPP or under Linux or BSD with gcc. WWW: http://www.cgsecurity.org/ - Florent Thoumie [EMAIL PROTECTED] ]Peter[ > Months ago, I got a new USB drive for my Mac OS X, did "newfs > /dev/disk1" on it, and it's been working fine. > > I then foolishly did "disklabel -create /dev/disk1", which broke > it. How can I recover my data? I've tried fsck w/ alternate > superblocks to no avail. > > "less -f /dev/disk1" shows me the disk label I created: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" > "http://www.apple\ > .com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>Base</key> > <integer>131072</integer> > <key>Size</key> > <integer>500107730944</integer> > </dict> > </plist> > > but also shows me my file names/content, so I'm convinced the data is > still there. > > How do I recover my data? I assume newfs creates a UFS by default? Can > I "decode" /dev/disk1 the way one might decode a TAR file? > > Posting here because I know Mac OS X is "FreeBSD inside". > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. > _______________________________________________ > firstname.lastname@example.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"