Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 13:14:23 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Laszlo Vagner <george@vagner.com>
Cc:        Joshua Oreman <oremanj@www.get-linux.org>
Subject:   Re: How can I mount a cdrom .bin file?\
Message-ID:  <20030515034423.GB21491@wantadilla.lemis.com>
In-Reply-To: <3EC30171.9000308@vagner.com>
References:  <BAY7-F45nEHVKd7IRaP0001fd33@hotmail.com> <20030515013732.GL4390@wantadilla.lemis.com> <20030515024537.GA29949@webserver.get-linux.org> <3EC30171.9000308@vagner.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515034423.GB21491>