BROKEN_FreeBSD_13=    Changes made to the ffs2 filesystem in FreeBSD 13 are no longer compatible with ffs2recov
	
	
		
			
				
					
						
					
				
			
			
		
	
After we migrated to FreeBSD 13 this tool is broken.
In our legacy code we used to use
ffsrecov(1):
	
	
	
		
Any alternative tool to do the same, to get the alternate superblocks when the filesystem goes bad?
				
			After we migrated to FreeBSD 13 this tool is broken.
In our legacy code we used to use
 ffs2recov -s $dev to get the alternate superblock for filesystem recovery.ffsrecov(1):
		Code:
	
	-s Find possible superblocks in the filesystem. If there is a valid cylinder group following it, it will print out where the beginning of the file system is. This may not be correct if there are stray superblock/cylinder group pairs on the disk, such as in swap