public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Mounting ISOs with Cygwin?
@ 2013-06-03 22:20 John Oliver
  2013-06-03 22:29 ` Dan Kegel
  2013-06-03 22:47 ` Larry Hall (Cygwin)
  0 siblings, 2 replies; 10+ messages in thread
From: John Oliver @ 2013-06-03 22:20 UTC (permalink / raw)
  To: cygwin

$ mount -o loop -t iso9660 /cygdrive/c/Documents\ and\
Settings/joliver/My\ Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
mount: unknown option -- t
Try `mount --help' for more information.

$ mount -o loop /cygdrive/c/Documents\ and\ Settings/joliver/My\
Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
mount: invalid option - 'loop'

$ mount /cygdrive/c/Documents\ and\ Settings/joliver/My\
Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
mount: Fedora: Invalid argument


Man pages don't help, Google doesn't help... what's the secret? :-)

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 22:20 Mounting ISOs with Cygwin? John Oliver
@ 2013-06-03 22:29 ` Dan Kegel
  2013-06-03 22:47 ` Larry Hall (Cygwin)
  1 sibling, 0 replies; 10+ messages in thread
From: Dan Kegel @ 2013-06-03 22:29 UTC (permalink / raw)
  To: cygwin

If you're just looking for any old way to do it, as opposed to using cygwin,
Me, I just install WinCDEmu from
http://wincdemu.sysprogs.org/download
and then do
cygstart foo.iso
- Dan

On Mon, Jun 3, 2013 at 3:20 PM, John Oliver <joliver@john-oliver.net> wrote:
> $ mount -o loop -t iso9660 /cygdrive/c/Documents\ and\
> Settings/joliver/My\ Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
> mount: unknown option -- t
> Try `mount --help' for more information.
>
> $ mount -o loop /cygdrive/c/Documents\ and\ Settings/joliver/My\
> Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
> mount: invalid option - 'loop'
>
> $ mount /cygdrive/c/Documents\ and\ Settings/joliver/My\
> Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
> mount: Fedora: Invalid argument
>
>
> Man pages don't help, Google doesn't help... what's the secret? :-)
>
> --
> ***********************************************************************
> * John Oliver                             http://www.john-oliver.net/ *
> *                                                                     *
> ***********************************************************************
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 22:20 Mounting ISOs with Cygwin? John Oliver
  2013-06-03 22:29 ` Dan Kegel
@ 2013-06-03 22:47 ` Larry Hall (Cygwin)
  2013-06-03 23:03   ` Dan Kegel
  1 sibling, 1 reply; 10+ messages in thread
From: Larry Hall (Cygwin) @ 2013-06-03 22:47 UTC (permalink / raw)
  To: cygwin

On 6/3/2013 6:20 PM, John Oliver wrote:
> $ mount -o loop -t iso9660 /cygdrive/c/Documents\ and\
> Settings/joliver/My\ Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
> mount: unknown option -- t
> Try `mount --help' for more information.
>
> $ mount -o loop /cygdrive/c/Documents\ and\ Settings/joliver/My\
> Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
> mount: invalid option - 'loop'
>
> $ mount /cygdrive/c/Documents\ and\ Settings/joliver/My\
> Documents/Downloads/Fedora-18-x86_64-DVD.iso Fedora
> mount: Fedora: Invalid argument
>
>
> Man pages don't help, Google doesn't help... what's the secret? :-)

Cygwin != Linux.  This is one area where you see the difference.  Cygwin's
mount is really just a mechanism for mapping DOS-style paths and names to
POSIX versions.  That's it.  There have been some bells and whistles added
over time but there is no Cygwin-specific way to mount ISOs, for example.
So how do you do it?  The same way you would in Windows.  Get a utility
that mounts the ISO for you and then, if you want to see that ISO under
Cygwin, just access it by its drive name under '/cygdrive'.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 22:47 ` Larry Hall (Cygwin)
@ 2013-06-03 23:03   ` Dan Kegel
  2013-06-03 23:44     ` Warren Young
  2013-06-04  2:29     ` Yaakov (Cygwin/X)
  0 siblings, 2 replies; 10+ messages in thread
From: Dan Kegel @ 2013-06-03 23:03 UTC (permalink / raw)
  To: cygwin

On Mon, Jun 3, 2013 at 3:47 PM, Larry Hall (Cygwin) wrote:
> Cygwin != Linux

/proc/cpuinfo begs to differ :-)

For what it's worth, windows 8 now includes a way to mount iso,
and it seems to have been backported to older windows as an addon
( http://www.microsoft.com/en-us/download/details.aspx?id=38780 ),
so maybe cygwin's mount could use that to trigger a mount, if
it's available.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 23:03   ` Dan Kegel
@ 2013-06-03 23:44     ` Warren Young
  2013-06-03 23:52       ` Dan Kegel
  2013-06-04  2:29     ` Yaakov (Cygwin/X)
  1 sibling, 1 reply; 10+ messages in thread
From: Warren Young @ 2013-06-03 23:44 UTC (permalink / raw)
  To: Cygwin-L

On 6/3/2013 17:03, Dan Kegel wrote:
> On Mon, Jun 3, 2013 at 3:47 PM, Larry Hall (Cygwin) wrote:
>> Cygwin != Linux
>
> /proc/cpuinfo begs to differ :-)

$ grep -i linux /proc/cpuinfo | wc -l
0

Smiley suggests joke.  Joke not funny, yet statement not serious. 
Programmer confused.  F1!

Also:

$ uname -a | grep -i linux | wc -l
0

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 23:44     ` Warren Young
@ 2013-06-03 23:52       ` Dan Kegel
  2013-06-04 21:21         ` Warren Young
  0 siblings, 1 reply; 10+ messages in thread
From: Dan Kegel @ 2013-06-03 23:52 UTC (permalink / raw)
  To: cygwin

On Mon, Jun 3, 2013 at 4:44 PM, Warren Young wrote:
>>> Cygwin != Linux
>>
>> /proc/cpuinfo begs to differ :-)
>
> $ grep -i linux /proc/cpuinfo | wc -l
> 0

Wrong test.  I think you were looking for
$ test -f  /proc/cpuinfo && echo "looks like linux"

See also http://www.sourceware.org/ml/cygwin-patches/2003-q2/msg00054.html
- Dan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 23:03   ` Dan Kegel
  2013-06-03 23:44     ` Warren Young
@ 2013-06-04  2:29     ` Yaakov (Cygwin/X)
  2013-06-04  8:44       ` Corinna Vinschen
  1 sibling, 1 reply; 10+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-06-04  2:29 UTC (permalink / raw)
  To: cygwin

On 2013-06-03 18:03, Dan Kegel wrote:
> On Mon, Jun 3, 2013 at 3:47 PM, Larry Hall (Cygwin) wrote:
>> Cygwin != Linux
>
> /proc/cpuinfo begs to differ :-)
>
> For what it's worth, windows 8 now includes a way to mount iso,
> and it seems to have been backported to older windows as an addon
> ( http://www.microsoft.com/en-us/download/details.aspx?id=38780 ),
> so maybe cygwin's mount could use that to trigger a mount, if
> it's available.

FWIW, that only works for x86 Windows, not x64.


Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-04  2:29     ` Yaakov (Cygwin/X)
@ 2013-06-04  8:44       ` Corinna Vinschen
  0 siblings, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2013-06-04  8:44 UTC (permalink / raw)
  To: cygwin

On Jun  3 21:29, Yaakov (Cygwin/X) wrote:
> On 2013-06-03 18:03, Dan Kegel wrote:
> >On Mon, Jun 3, 2013 at 3:47 PM, Larry Hall (Cygwin) wrote:
> >>Cygwin != Linux
> >
> >/proc/cpuinfo begs to differ :-)
> >
> >For what it's worth, windows 8 now includes a way to mount iso,
> >and it seems to have been backported to older windows as an addon
> >( http://www.microsoft.com/en-us/download/details.aspx?id=38780 ),
> >so maybe cygwin's mount could use that to trigger a mount, if
> >it's available.
> 
> FWIW, that only works for x86 Windows, not x64.

Sure?  Per the above page, the tool supports Windows 2008 R2,
which is x64-only.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-03 23:52       ` Dan Kegel
@ 2013-06-04 21:21         ` Warren Young
  2013-06-04 21:32           ` Dan Kegel
  0 siblings, 1 reply; 10+ messages in thread
From: Warren Young @ 2013-06-04 21:21 UTC (permalink / raw)
  To: Cygwin-L

On 6/3/2013 17:52, Dan Kegel wrote:
> On Mon, Jun 3, 2013 at 4:44 PM, Warren Young wrote:
>>>> Cygwin != Linux
>>>
>>> /proc/cpuinfo begs to differ :-)
>>
>> $ grep -i linux /proc/cpuinfo | wc -l
>> 0
>
> Wrong test.  I think you were looking for
> $ test -f  /proc/cpuinfo && echo "looks like linux"
>
> See also http://www.sourceware.org/ml/cygwin-patches/2003-q2/msg00054.html

$ test -f /etc/termcap && echo "looks like BSD"

Any single test is likely to confuse software that needs to be portable. 
  This is why, 2 decades ago, the creators of Autoconf popularized the 
practice of testing for individual needed features, not whole platforms.

(You see this in the long output from a "configure" script.  It doesn't 
just say "looks like Linux".)

Cygwin does conform most closely to Linux, but if you write softwares 
that blindly assumes Cygwin *is* Linux, you're likely to get surprised 
at some point.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Mounting ISOs with Cygwin?
  2013-06-04 21:21         ` Warren Young
@ 2013-06-04 21:32           ` Dan Kegel
  0 siblings, 0 replies; 10+ messages in thread
From: Dan Kegel @ 2013-06-04 21:32 UTC (permalink / raw)
  To: cygwin

On Tue, Jun 4, 2013 at 2:21 PM, Warren Young <warren@etr-usa.com> wrote:
> $ test -f /etc/termcap && echo "looks like BSD"

That's why I had the smiley.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-06-04 21:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 22:20 Mounting ISOs with Cygwin? John Oliver
2013-06-03 22:29 ` Dan Kegel
2013-06-03 22:47 ` Larry Hall (Cygwin)
2013-06-03 23:03   ` Dan Kegel
2013-06-03 23:44     ` Warren Young
2013-06-03 23:52       ` Dan Kegel
2013-06-04 21:21         ` Warren Young
2013-06-04 21:32           ` Dan Kegel
2013-06-04  2:29     ` Yaakov (Cygwin/X)
2013-06-04  8:44       ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).