delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/23/04:12:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 23 Jul 2009 10:12:34 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to activate new fstab mount points under 1.7?
Message-ID: <20090723081234.GW27613@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7A0F2D8FA705486F8F4023E472B69590 AT multiplay DOT co DOT uk> <20090715204013 DOT GB16862 AT ednor DOT casa DOT cgf DOT cx> <7A6E77FFEAED4B40B26BED9ADFF9651C AT multiplay DOT co DOT uk> <20090716081642 DOT GG27613 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20090716081642.GG27613@calimero.vinschen.de>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 16 10:16, Corinna Vinschen wrote:
> On Jul 15 22:29, Steven Hartland wrote:
> >
> > ----- Original Message ----- From: "Christopher Faylor"
> >>> Any I missing something or has this functionality just been
> >>> overlooked?
> >>
> >> Overlooked == not implemented.
> >
> > ;-)
> >
> > Something that's planned?
> 
> Not yet.  I added it to my TODO list but don't hold your breath for now.

I implemented `mount <posixpath>' as well as `mount -a' to read the
mount points from the fstab files and add either just the mount point
for the given posix path, or all the missing ones.

It's in the latest snapshot: http://cygwin.com/snapshots/

Here's the documentation snippet, which is yet missing in the User's
Guide on cygwin.com:

  If you added mount points to /etc/fstab or your
  /etc/fstab.d/<username> file, you can add these mount points to your
  current user session using the -a/--all option, or by specifing the
  posix path alone on the command line.  As an example, consider you
  added a mount point with the POSIX path /my/mount.  You can add this
  mount point with either one of the following two commands to your
  current user session.

  $ mount /my/mount
  $ mount -a

  The first command just adds the /my/mount mount point to your current
  session, the mount -a adds all new mount points to your user session.

  If you change a mount point to point to another native path, or if you
  changed the flags of a mount point, you have to umount the mount point
  first, before you can add it again.  Please note that all such added
  mount points are added as user mount points, and that the rule that
  system mount points can't be removed or replaced in a running session
  still applies.


HTH,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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

- Raw text -


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