X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Tony Richardson Subject: Re: unmount drive in cygwin - is it possible Date: Mon, 30 Jan 2006 19:23:00 +0000 (UTC) Lines: 32 Message-ID: References: <20060130181019 DOT 67420 DOT qmail AT web26305 DOT mail DOT ukl DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 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 Mark Bevan 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/