1104442Swollman$FreeBSD$ 2104442Swollman 3104442Swollmanfind-sb is a program which scans the input file you specify (normally a 4104442Swollmanraw disk slice) for filesystems. It's not very smart, nor particularly 5104442Swollmanefficient. All it does is read the input file one device block at a time, 6104442Swollmanand when it reads a block that has a UFS superblock magic number in the 7104442Swollmanright place, it tells you about it. It helped me find an important partition 8104442Swollmanafter the disklabel got somehow trashed. It might not work for you. After 9104442Swollmanlooking carefully at the output of this program and creating a new disklabel, 10104442Swollmanyou should use `fsck -n' or a tool like ffsinfo(8) to verify that there is 11104442Swollmanin fact something vaguely sane located at that spot on the disk. (There are 12104442Swollmanchecks that fsck can do to verify the validity of the superblock which 13104442Swollmanthis program does not even attempt.) 14104442Swollman 15104442SwollmanIf you use this program and as a result trash what was left of your disk, 16104442Swollmanwell, too bad. You should have kept a backup anyway. If you read the source 17104442Swollmancode and don't immediately understand how it works and what it's doing, then 18104442SwollmanDON'T USE IT. 19