Date: Wed, 4 Aug 2010 22:05:34 -0700 From: Noah Pratt <npratt@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: mounting UFS CD-ROMs Message-ID: <AANLkTinv21WzcW8Or01h5P8A9raf0h839czczobLvs0X@mail.gmail.com> In-Reply-To: <AANLkTimdxwtMF7GsQDb0=PWYuUtsA_xahGMmHS5M7-zv@mail.gmail.com> References: <AANLkTikukY9ZYDov1KA7o1ik%2BFDT-cKC4Wv46nbSoJT2@mail.gmail.com> <i3anju$lgf$1@dough.gmane.org> <AANLkTikc=q1F4HnDib4XBqEyW0fW7h%2B-x=MC1fOj7RVp@mail.gmail.com> <AANLkTimdxwtMF7GsQDb0=PWYuUtsA_xahGMmHS5M7-zv@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I tried `dd conv=3Dswab`, and it's not that easy. I gather it's only the metadata within the filesystem that's affected, so swapping the whole thing leaves you with garbage. Afterwards, `file` saw it as "data", where before it at least knew it was a filesystem. On 8/4/10, xSAPPYx <xsappyx@gmail.com> wrote: > You could try the conv=3Dswab option to dd > > dd if=3D/dev/acd0 of=3D5853-5864.iso conv=3Dswab > > On Wed, Aug 4, 2010 at 18:04, Noah Pratt <npratt@gmail.com> wrote: >> On Tue, Aug 3, 2010 at 8:44 PM, Michael Powell <nightrecon@hotmail.com> >> wrote: >>> Noah Pratt wrote: >>> >>>> Hi, >>>> >>>> I have a whole bunch of UFS CD-ROMs, but I'm unable to mount them on >>>> my FreeBSD 8 system. >>>> I thought it would be possible. From the FAQ: >>>> http://www.freebsd.org/doc/en/books/faq/disks.html >>>> >>>> =A0 =A0 UFS CD-ROMs can be mounted directly on FreeBSD. Mounting disk >>>> partitions from Digital UNIX and other systems that support UFS may be >>>> more complex, depending on the details of the disk partitioning for >>>> the operating system in question. >>>> >>>> >>>> I tried the direct route: >>>> >>>> 6930p# file -s /dev/acd0t01 >>>> /dev/acd0: Unix Fast File system [v1] (big-endian), last mounted on >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 ^^^^^^^^^^ >>> [snip] >>>> >>>> 6930p# uname -a >>>> FreeBSD 6930p.domain.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon May 17 >>>> 01:26:14 PDT 2010 >>>> root@6930p.domain.com:/usr/obj/usr/src/sys/GENERIC =A0amd64 >>>> >>>> >>>> Am I missing something that ought to be obvious? [probable] >>>> Is it no longer possible to mount UFS filesystems? [unlikely ;-) ] >>>> Is there something specific about *this* UFS filesystem that prevents >>>> it from working? >>>> >>> >>> I suspect maybe the disk was written using Solaris on SPARC, which is >>> big- >>> endian. Most PC architectures are little-endian. >>> >>> -Mike >> >> >> >> Yes, the CDs were created in Solaris on SPARC. (I think it was a Sparc >> 10...) >> And yes, my FreeBSD system is an Intel Core2Duo. >> >> In Linux, copying the disc and mounting the disc image via loopback >> worked great: >> =A0 ubuntu# cat /dev/cdrom > cd-image >> =A0 ubuntu# mount -t ufs -o ro,loop cd-image /mnt >> >> It looks like NetBSD has a kernel build option FFS_EI, to enable >> fsck_ffs -B to convert the byte order. >> (I don't have a NetBSD system to test though.) >> >> I even found a Windows program called R-Studio ( http://www.r-tt.com/ >> ) that was able to recover data from these discs. >> >> Can the filesystem's endianness be converted in FreeBSD? >> >> >> >> Thanks a lot! >> >> -Noah >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinv21WzcW8Or01h5P8A9raf0h839czczobLvs0X>