delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/30/14:23:53

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Tony Richardson <richardson AT evansville DOT edu>
Subject: Re: unmount drive in cygwin - is it possible
Date: Mon, 30 Jan 2006 19:23:00 +0000 (UTC)
Lines: 32
Message-ID: <loom.20060130T201837-386@post.gmane.org>
References: <20060130181019 DOT 67420 DOT qmail AT web26305 DOT mail DOT ukl DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Mark Bevan <mark_bevan_email <at> yahoo.co.uk> writes:
> I have compiled ntfsprogs 1.12.1 for use with cygwin -
> compilation went well and I know have the set of
> executables available.
> 
> Whenever I run ntfsresize (even just to get info on
> current NTFS filesystem using -i option) I am told :
> 
> ntfsresize v1.12.1 (libntfs 8:1:0)
> ERROR: Device '/cygdrive/e' is mounted read-write. You
> must 'umount' it first.
> 
> However there doesn't seem to be a way to unmount a
> disk in cygwin :
> 
> $ umount /cygdrive/e
> umount: /cygdrive/e: No such file or directory
> 
> Maybe this because this because the underlying windows
> operating system (Windows XP) doesn't allow for this
> or maybe I am not using the right commands ?

Did you try using the raw device name instead of the filesstem?
That is, something like:

   ntfsresize /dev/sda1

for the first partition on the first disk.  See the "Special
Filenames" of the Cygwin User's Guide for more info.

Tony



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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