delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/20/15:36:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001120203544.16939.qmail@web121.yahoomail.com>
Date: Mon, 20 Nov 2000 12:35:44 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: Creating Mount Points [WAS: Re: How to run javac]
To: alex <tinbb AT hkplanet DOT com>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- alex <tinbb AT hkplanet DOT com> wrote:
> 
> Yes, the javac is come from JDK118. I don;t know now to create a mount path.
> I use the command
> mount d:\\ ddrive
> it told me that
> mount: ddrive:  Invalid argument
> 

To create a mount point, first you need a physical directory to mount as the
mount point.  These are usually empty directories, but can be ones that exist
as long as they exist relative to the root / directory.  So using your example
you would
  mkdir /ddrive
  mount d:/ /ddrive
.  This would create a text mode mount point named /ddrive in the user context.
 If you wish to create a text mode mount point in the system context you would
  mkdir /ddrive
  mount -s d:/ /ddrive
.  This would allow the mount point to be available to multiple uses of the
local machine.  If multiple users aren't using the local machine then this
doesn't have relavance.  If you wish to have a binary mode mount point then you
would
  mkdir /ddrive
  mount -b d:/ /ddrive
.  This would create a binary mode mount point in the user context.  If you
want to create a binary mode mount point in the system context then you would
  mkdir /ddrive
  mount -b -s d:/ /ddrive
.

Also you can add a -f switch to force a remount of an already mounted mount
point.  This allows switching from binary mode to text mode and to add a system
context if you've already a user context.  In the latter case you would have
both the system context mount point and the user context mount point with the
user context mount point taking precedence over the system context mount point.
 This allows the local machine administrator to setup defaults for the users
and have the user change it to his preference.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019