X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A85A87B.1010700@gmail.com> Date: Fri, 14 Aug 2009 19:10:03 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: creating persistance mounts References: <4A85A341 DOT 9050705 AT columbus DOT rr DOT com> In-Reply-To: <4A85A341.9050705@columbus.rr.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Paul McFerrin wrote: > The documentation does not help much (man pages & web page). http://cygwin.com/1.7/cygwin-ug-net/using-utils.html#mount > mount > > Usage: mount [OPTION] [ ] > mount -a > mount > Display information about mounted filesystems, or mount a filesystem > > -a, --all mount all filesystems mentioned in fstab > -c, --change-cygdrive-prefix change the cygdrive path prefix to > -f, --force force mount, don't warn about missing mount > point directories > -h, --help output usage information and exit > -m, --mount-entries write fstab entries to replicate mount points > and cygdrive prefixes > -o, --options X[,X...] specify mount options > -p, --show-cygdrive-prefix show user and/or system cygdrive path prefix > -v, --version output version information and exit I see no -s option there. > The mount program is used to map your drives and shares onto Cygwin's > simulated POSIX directory tree, much like as is done by mount commands on > typical UNIX systems. However, in contrast to mount points given in > /etc/fstab, mount points created or changed with mount are not persistent. > They disappear immediately after the last process of the current user > exited. That looks pretty relevant to me. > Please see the section called “The Cygwin Mount Table” for more information > on the concepts behind the Cygwin POSIX file system and strategies for > using mounts. Why don't we try that? http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table > The /etc/fstab file is used to map Win32 drives and network shares into > Cygwin's internal POSIX directory tree. This is a similar concept to the > typical UNIX fstab file. The mount points stored in /etc/fstab are globally > set for all users. Sometimes there's a requirement to have user specific > mount points. The Cygwin DLL supports user specific fstab files. These are > stored in the directory /etc/fstab.d and the name of the file is the Cygwin > username of the user, as it's stored in the /etc/passwd file. The content > of the user specifc file is identical to the system-wide fstab file. cheers, DaveK -- 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