Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: Checking mount points Date: Fri, 27 Sep 2002 09:07:19 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Richardson, Tony" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g8RE7RK10516 What is the easiest way to check if /home/$USER (or some other directory) has been mounted (either system-wide or user-only)? I know that I can use regtool (checking both the system and user keys) or parse the output from "mount", but I was hoping for something as simple as typing "isitmounted /home/$USER" and have the unknown isitmounted command return an appropriate exit status. I'm trying to write startup scripts so that mount points get set automatically when running cygwin from a network share (but I don't to override /home/$USER if that already exists.) The mount man page seems to refer to a man page for mount-table but I haven't been able to find it. Thanks, Tony Richardson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/