delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/08/10:15:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50EC37EA.8000308@etr-usa.com>
Date: Tue, 08 Jan 2013 08:14:50 -0700
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: disk format question
References: <50EC265F DOT 2010507 AT mailme DOT ath DOT cx>
In-Reply-To: <50EC265F.2010507@mailme.ath.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 1/8/2013 06:59, bartels wrote:
>
> The windows format.com

format.com hasn't existed since the DOS days.  That includes the 
DOS-based versions of Windows, up through Windows ME.  Under NT-derived 
versions of Windows, "format" is a built-in command in cmd.exe.

 > claims the fs is write protected, but I hope dd
> can help out.

It's worth a try, but if I had to take a blind bet on it, I'd say you're 
going to find that dd will give the same result.  Cygwin is essentially 
a user-level process.  If cmd.exe cannot do a thing, dd.exe probably 
can't, either.

It is *possible* that unmounting the filesystem with the taskbar button 
will let you write to the raw device.  But Windows being Windows, it's 
possible that will make it disappear from the system entirely, too.

> The mtab is not very helpful:

That's because Cygwin proper does not mount local filesystems.  The 
Cygwin mount table just shows you Cygwin-specific mappings that it has 
added on top of what the underlying NT kernel has done.

In this case...

>   D: /cygdrive/d udf binary,posix=0,user,noumount,auto 1 1

...it is showing you the /cygdrive/d alias Cygwin has provided for you.

> My question is this: which device in /dev do I use?

According to [this][1] it's probably /dev/sdb.  But please do read 
through what I pointed you to first, and check its applicability 
carefully before attempting this.

[1] 
http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices

--
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