delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/02/09:53:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: eisenacher AT fillmore-labs DOT com, cygwin AT cygwin DOT com
Subject: Re: Changing from textmode to binmode mounting
References: <ubs9qfgu6 DOT fsf AT bitstream DOT com>
From: pdavis AT pageflexinc DOT com (Peter Davis)
X-Face: @Pq3?My0v;TPXbg}b;pHV{1I-kH,?FV:1$wMunQgt%u;KIx8Jl%)8E;Tag?jQQu4+Q,/QiTe AT x!bk'k AT uXGAj?wVZSBSj}T1X}Yql~e]uv@#]I>5F:BJ;+\k5B&3hG3ZT8_{3>#[D)SbK/9t&3TG$L7SnV3G
Date: 02 Jul 2002 13:51:14 +0000
In-Reply-To: <ubs9qfgu6.fsf@bitstream.com>
Message-ID: <usn32i6gd.fsf@bitstream.com>
Lines: 108
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0

Patrick Eisenacher <eisenacher AT fillmore-labs DOT com> wrote:
> here is how I did it:
> 
> Go to to cygwin\bin directory and run the following command from a
> Windows shell:
> 
>    mount -bs --change-cygdrive-prefix /cygdrive

Thanks, Patrick.  Unfortunately, this only seems to work on some of
the mounts.  I also followed the suggestion of doing 'mount -m',
modifying all those commands to use -b, and issuing the commands.
Again, that switch some of the partitions to binmode, but not all:

C:\cygwin\bin on /usr/bin type user (binmode)
C:\cygwin\lib on /usr/lib type user (binmode)
C:\cygwin on / type user (binmode)
c: on /cygdrive/c type user (textmode,noumount)
d: on /cygdrive/d type user (textmode,noumount)
m: on /cygdrive/m type user (textmode,noumount)
q: on /cygdrive/q type user (textmode,noumount)
r: on /cygdrive/r type user (textmode,noumount)


The last five are still textmode.  I think these are mounted by Cygwin
somewhere at the start of time, and I can't find out how to override
or change that mounting.

Any clues, anyone?

Thanks,

-pd



> > David Starks-Browning <starksb AT ebi DOT ac DOT uk> writes:
> > 
> > > On  1 Jul 02, Peter Davis writes:
> > > > 
> > > > For some reason, my Win2000 machine has everything mounted in
> > > > textmode, although my WinNT machine correctly mounts in binmode.  In
> > > > textmode, my fetchmail spool file is unreadable by MH and other mail
> > > > utilities?
> > > > 
> > > > Can someone tell me how to switch from textmode to binmode?  I tried
> > > > the command
> > > > 
> > > >     mount -b --change-cygdrive-prefix cygdrive
> > > > 
> > > > as suggested in the faq, but it seemed to have no effect.  
> > > 
> > > You say "everything" is mounted in textmode, but that command will
> > > only change the cygdrive mounts.  Also user mounts will override
> > > system mounts (or vice versa?).  This can be confusing if you change
> > > the system mount but the user mount hides the change (or vice versa?).
> > 
> > Here's what I have:
> > 
> > $ mount
> > C:\cygwin\bin on /usr/bin type user (textmode)
> > C:\cygwin\lib on /usr/lib type user (textmode)
> > C:\cygwin on / type user (textmode)
> > c: on /cygdrive/c type user (textmode,noumount)
> > d: on /cygdrive/d type user (textmode,noumount)
> > m: on /cygdrive/m type user (textmode,noumount)
> > q: on /cygdrive/q type user (textmode,noumount)
> > r: on /cygdrive/r type user (textmode,noumount)
> > 
> > I've tried
> > 
> >     mount -b --change-cygdrive-prefix cygdrive
> >     mount: cygdrive: Invalid argument
> > 
> > I also tried
> > 
> >     mount -b --change-cygdrive-prefix /cygdrive
> >     mount -b --change-cygdrive-prefix /cygwin
> > 
> > 
> > No messages, but nothing changes.  Am I missing something?
> > 
> > Thanks,
> > 
> > 
> > -pd
> -- 
> 
> +--------------------------------------------------------------------------------+
> | Patrick Eisenacher <eisenacher AT fillmore-labs DOT com>     Work: +1 (6102) 88478 72 |
> | Senior Project Manager                                                         |
> | Fillmore Labs GmbH                                                             |
> | Triforum C2; Frankfurter Str. 233                                              |
> | Neu-Isenburg, Hessen 63263 Germany                                             |
> +--------------------------------------------------------------------------------+
> --
> 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/
> ----------

-- 
--------
    Peter Davis                               Pageflex Inc
    617-520-8345                          215 First Street
    617-868-0784 (FAX)                 Cambridge, MA 02142
    pdavis AT pageflexinc DOT com      http://www.pageflexinc.com


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

- Raw text -


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