From owner-freebsd-questions@FreeBSD.ORG Wed May 14 20:44:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16DD937B401 for ; Wed, 14 May 2003 20:44:42 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CDED43FA3 for ; Wed, 14 May 2003 20:44:40 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id B82E751A78; Thu, 15 May 2003 13:14:23 +0930 (CST) Date: Thu, 15 May 2003 13:14:23 +0930 From: Greg 'groggy' Lehey To: Laszlo Vagner Message-ID: <20030515034423.GB21491@wantadilla.lemis.com> References: <20030515013732.GL4390@wantadilla.lemis.com> <20030515024537.GA29949@webserver.get-linux.org> <3EC30171.9000308@vagner.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OwLcNYc0lM97+oe1" Content-Disposition: inline In-Reply-To: <3EC30171.9000308@vagner.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: questions@freebsd.org cc: Joshua Oreman Subject: Re: How can I mount a cdrom .bin file?\ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 03:44:42 -0000 --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Format recovered--see http://www.lemis.com/email/email-format.html] On Wednesday, 14 May 2003 at 22:54:41 -0400, Laszlo Vagner wrote: > Joshua Oreman wrote: > >> On Thu, May 15, 2003 at 11:07:32AM +0930 or thereabouts, Greg 'groggy' L= ehey seemed to write: >>> On Wednesday, 14 May 2003 at 21:17:22 +0000, How Can ThisBe wrote: >>>> Hello. I have a number of .bin CDROM images and I was wondering how I >>>> can mount them? I know how to mount .iso CDROM images but .bin is new >>>> to me :] >>>> >>> File name extensions are meaningless in UNIX. You can call them >>> anything you want. As somebody else observed, it might be a >>> proprietary format, in which case you're out of luck. But don't >>> assume anything based on the name. file(1) is your friend some of the >>> time, but it doesn't recognize ISO images. >> >> Just not true. It does recognize ISOs. It worked fine for me, as >> well as the person I was helping :-) Hmm, seems that I have an old version of the magic file on the machine I tried it on: /src/FreeBSD/isos/4.6-mini.iso: ASCII text, with no line terminators On the other machine, I get: /src/FreeBSD/isos/4.6-mini.iso: ISO 9660 CD-ROM filesystem data > That was a great little command! worked perfect! I been messing > with freebsd since 2.2.2 circa 1996 and still it amazes me, now if i > could only remember all these commands. file(1) has been around for ever. From the man page: HISTORY There has been a file command in every UNIX since at least Research Ve= r- sion 4 (man page dated November, 1973).=20 > That should be a good seller... a cheat sheet for freebsd with all > the good commands listed but leave out the "ls" and more common > commands. There have been several such attempts. The real question is where you should stop. Take a look at O'Reilly's "UNIX Power Tools" for a good example of a cheat "sheet". Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+ww0XIubykFB6QiMRAj4aAKCkyzJ0lg2jUIwAS4gY9Ec3YfCyfACfcwln XtIkxCad30d4gjtt6UHmD/E= =i6qR -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--