This is the mail archive of the
mailing list for the Cygwin project.
Re: Help with mount..
- From: Steve Holden <steve at holdenweb dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 03 Sep 2007 22:44:45 -0700
- Subject: Re: Help with mount..
- References: <email@example.com>
Hi - I am having a problem getting mount to work in cygwin. Here is what I
am trying to do:
$ mkdir foo
$ mkdir bar
$ vi bar/test
$ ls -l bar
-rw-r--r-- 1 Greg None 0 Sep 3 23:48 test
$ mount bar foo
mount: foo: Invalid argument
$ mount /home/Greg/test/bar/ /home/Greg/test/foo/
mount: /home/Greg/test/foo/: Invalid argument
Well you could start by explaining what you think those mounts should
have done. Are you trying for the equivalent of a loopback mount?
Remember that mount is one of the utilities that differs substantially
from its Linux/Unix counterpart. The man page starts:
mount - Display information about mounted filesystems, or
mount [OPTION] [<win32path> <posixpath>]
but it doesn't give any specifics of what a win32path is supposed to be
and whether relative paths constitute acceptable win32 paths. In
particular the section that reads
Limitations: there is a hard-coded limit of 30 mount points. Also,
although you can mount to pathnames that do not start with "/", there
is no way to make use of such mount points.
should give you some clue that what you are trying to achieve should
probably be done some way other than what you have tried so far.
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html