From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 02:42:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 080081065672 for ; Wed, 4 Aug 2010 02:42:43 +0000 (UTC) (envelope-from npratt@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 982898FC14 for ; Wed, 4 Aug 2010 02:42:42 +0000 (UTC) Received: by wwf26 with SMTP id 26so1695691wwf.1 for ; Tue, 03 Aug 2010 19:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=TGXvw/lT9o80yOrxQ45WI5jmDDA3l8/pKf5sK/Nlfhg=; b=jEfjU+HER/79LWCQSBRPCah1kre/LnHfFVq/1EdZ3u23C3gkI5U3FseAGZEX2UNYj5 kjWU2x66k+k9DKuFuBpZ5hJZ/ZAwgFZGgRJlbzF2Nybvet9s+nPBm7fIGFO0kLXqE8ZM HXAL1m1SoqSDkk5ShyuaYJWJgPXHPFywEP4Z0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UIszbesWE/Xdkx7zTbUmTiCKQ775RpunRTBIDFg8DBse2CrDoyZ98TQMO1aVUhaqkD enpqSolD1FeQRo4lLzug7TxrnCI4Qyqdl5zCiqVJXcHnWYzpFKxJHNjk99dypOHSWQXh 5KnaS16jmdsbq5zHY33ZqOPhspYct7aW3U0ag= MIME-Version: 1.0 Received: by 10.216.235.104 with SMTP id t82mr1427621weq.103.1280888095290; Tue, 03 Aug 2010 19:14:55 -0700 (PDT) Received: by 10.216.50.9 with HTTP; Tue, 3 Aug 2010 19:14:55 -0700 (PDT) Date: Tue, 3 Aug 2010 19:14:55 -0700 Message-ID: From: Noah Pratt To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: mounting UFS CD-ROMs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 02:42:43 -0000 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 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 /worm, last written at Fri Oct 6 04:01:43 2000, clean flag 1, number of blocks 616699, number of data blocks 578377, number of cylinder groups 126, block size 8192, fragment size 1024, minimum percentage of free blocks 10, rotational delay 0ms, disk rotational speed 90rps, TIME optimization 6930p# mount -t ufs -o ro /dev/acd0t01 /mnt mount: /dev/acd0t01 : Invalid argument To make sure it wasn't the media, I tried the loopback route: 6930p# cat /dev/acd0 > 5853-5864.iso 6930p# mdconfig -a -t vnode -f /usr/home/CDs/5853-5864.iso -u 1 -o readonly 6930p# mdconfig -lv md0 swap 700M md1 vnode 603M /usr/home/CDs/5853-5864.iso 6930p# mount -o ro /dev/md1 /mnt mount: /dev/md1 : Invalid argument 6930p# mount -o ro -t ufs /dev/md1 /mnt mount: /dev/md1 : Invalid argument 6930p# file -s /dev/md1 /dev/md1: Unix Fast File system [v1] (big-endian), last mounted on /worm, last written at Fri Oct 6 04:01:43 2000, clean flag 1, number of blocks 616699, number of data blocks 578377, number of cylinder groups 126, block size 8192, fragment size 1024, minimum percentage of free blocks 10, rotational delay 0ms, disk rotational speed 90rps, TIME optimization 6930p# fdisk md1 ******* Working on device /dev/md1 ******* parameters extracted from in-core disklabel are: cylinders=76 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=76 heads=255 sectors/track=63 (16065 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1220877 (596 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 75/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: 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 amd64 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? Thank you, -Noah