Date: Fri, 27 Jun 2014 20:35:49 -0700 From: Duckbreath <duckbreath@yahoo.com> To: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Mounting a file system with superblock 32 Message-ID: <1403926549.37922.YahooMailNeo@web120905.mail.ne1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hello all, I have a hard drive that represents an older installation of FreeBSD and I would like to access it. Using a USB -> IDE connection device the drive appears as: /dev/da0[x*] where x* is various letters 'a', 'e', 'f', which no doubt represent the partitions from the previous installation. A simple mount doesn't work though, returning an error message about unrecognized device. A simple usage of fsck_ff however shows the file system clear, fsck_ff -b 32 /dev/da0a returns system clean, and newfs -N will give me various facts about the drive (blocksize, fragment size, cylinder groups, blocks, indoes, and sectors). Googling around has shown that perhaps the mdmfs utility is what I need. Maybe. It appears to be in vogue as a general purpose utility that looks like it has a 'everything for everybody' type design. I couldn't find anything in the manuals on it about specifying a superblock location though, like 32. Also, the manual and the handbook http://www.freebsd.org/doc/en/books/handbook/disks-virtual.html have a discrepancy where the manual claims the '-s' option only makes sense if -F is not specified, even though the example in the handbook specifies both. I believe UFS drives with the older superblock at 32 are called 'UFS1' (as opposed to 'UFS2', of course, which is for larger drives). The mount utility's "-t" option can't seem to specify either, with only ufs being an available choice. This fits my definition of non-trivial. Any of you know how to mount a UFS1 drive?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1403926549.37922.YahooMailNeo>
