public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* use of mount -b
@ 1997-10-28 18:40 Pasa Guglielmo
  1997-10-29  2:35 ` Andy Piper
  1997-10-29 16:04 ` Fernandes, Hilton
  0 siblings, 2 replies; 5+ messages in thread
From: Pasa Guglielmo @ 1997-10-28 18:40 UTC (permalink / raw)
  To: gnu-win32

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

I've a conceptual problem with binary mount.
If I mount my system as binary mount -b d:/ /
(text=binary)
make don't works and I run in a lot of problems.

If I mount by default : mount d:/ /
(text!=binary)
everything go fine.

So my question is why and when should I mount my system as binary ?
-- 
Sincerely yours,
				Pasa Guglielmo
------------------------------------------------------------------
¦ homepage: http://www.omedia.ch/pages/gpasa/			 ¦
¦----------------------------------------------------------------¦
¦ e-mail  : gpasa@omedia.ch       ¦  tel. :  +41 (0)24 485 50 40 ¦
¦ mailing : Pasa Guglielmo        ¦  fax  :  +41 (0)24 485 50 44 ¦
¦ 	    Rte des Cases 17A     ¦ 	  	  		 ¦	
¦ 	 CH-1890 St-Maurice       ¦  prof.: physicist		 ¦	
¦	    (Switzerland)         ¦				 ¦	
------------------------------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: use of mount -b
  1997-10-28 18:40 use of mount -b Pasa Guglielmo
@ 1997-10-29  2:35 ` Andy Piper
  1997-10-29 16:04 ` Fernandes, Hilton
  1 sibling, 0 replies; 5+ messages in thread
From: Andy Piper @ 1997-10-29  2:35 UTC (permalink / raw)
  To: gpasa; +Cc: sos, gnu-win32

I have to agree with this. Using mount -b to get sergey's version of bash
to work seems just plain wrong. I want all my text files in a format that
normal windows tools can understand, I don't think mount -b does this, does
it?

I still use the b18 distributed version of bash because it does what I
want, bar some history problems. Using sergey's version of bash 
requires me to convert files to unix format which I don't want to do.

andy

At 23:16 28/10/97 -0025, you wrote:
>I've a conceptual problem with binary mount.
>If I mount my system as binary mount -b d:/ /
>(text=binary)
>make don't works and I run in a lot of problems.
>
>If I mount by default : mount d:/ /
>(text!=binary)
>everything go fine.
>
>So my question is why and when should I mount my system as binary ?

   ___                ____         	Dr Andy Piper
  / _ \___ ________ _/ / Solutions_	(require 'disclaimer)
 / ___/ _ `/ __/ _ `/ / / _ `/\ \ /	andyp@parallax.co.uk
/_/   \_,_/_/  \_,_/_/_/\_,_//_\_\ 	boot /vmemacs

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: use of mount -b
  1997-10-28 18:40 use of mount -b Pasa Guglielmo
  1997-10-29  2:35 ` Andy Piper
@ 1997-10-29 16:04 ` Fernandes, Hilton
  1 sibling, 0 replies; 5+ messages in thread
From: Fernandes, Hilton @ 1997-10-29 16:04 UTC (permalink / raw)
  To: Pasa Guglielmo, gnu-win32; +Cc: Fernandes, Hilton

On 28 Oct 97 at 23:16, Pasa Guglielmo <gpasa@omedia.ch> wrote:

> So my question is why and when should I mount my system as binary ?

Hi!

As far as i know, you should use binary mounts when using binary (Unix) texts.
And non-binary mounts when using non-binary texts.

That's probably a simplistic idea, but in my experience, some programs --
particularly make -- crash when they find a non-binary (DOS) text file in a
mount where it expects binary (Unix) text files.


Regards,
++Hilton
----
Hilton Fernandes
hfernandes@geocities.com
http://www.geocities.com/SiliconValley/Lakes/5657
URLs and help on C++ programming and Object-Oriented Design
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: use of mount -b
@ 1997-10-29 10:20 Larry Hall
  0 siblings, 0 replies; 5+ messages in thread
From: Larry Hall @ 1997-10-29 10:20 UTC (permalink / raw)
  To: Andy Piper, gpasa; +Cc: sos, gnu-win32

I sincerely hope that this question does not lead to another round of people
piping up and saying which mount option they prefer.  There are many reasons
and many uses that would prompt one to use one mount method over another.  
However, in an attempt to answer the original question, you almost certainly
want to be mounted binary if you want to try to configure and build software
self-hosted.  If you don't want to do this, you *may* want to leave the 
mounts in text mode (the default).  This will allow things like notepad to
display the file correctly (since it does not read binary file line 
terminators properly).  You may run into problems with programs like cat,
od, and some other GNU utilities terminating early as a result of seeing a 
CTRL-Z.  However, if this is not important to you, text are probably what
you want.

Personally, I've found very few programs in the Windows world that will not
*read* a binary file properly.  Actually, notepad is the only program I know 
of that has real problems reading binary files.  I have not done any 
exhaustive tests however and I'd hate for this thread to degenerate into a 
flood of messages from people suggesting what programs do and do not work 
with binary or text files (although there may be some benefit to having this
in the FAQ or somewhere similar.)  However, it is probably worthwhile to 
note to all newcomers that a default mount (/) is created at the original 
installation time and this mount point is set to *text*.  A subsequent 
change of the original mount point (/) to binary means things like configure 
scripts, profiles, login scripts, and scripts in general need to have 
carriage returns removed from them, otherwise many complaints will ensue.  
There are many ways to remove the carriage returns from these file (see the 
mailing list archive if you're looking for more information on this.)  
However, the need to strip the carriage returns from these files does *not* 
indicate that mounting binary is inherently flawed nor is otherwise
generally undesirable.  It is simply an artifact of the default installation
mode.  
As far as I know, noone at Cygnus has seen the value of allowing the user to 
configure this option during the setup to avoid the annoying aspect of the 
current process for switching mounting options.

Mounting options are a matter of personal preference based on what you
think you want to do with these tools and how much you need interface to
Windows programs that cannot handle binary files.  I hope this helps answer
the original question.

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02181   

At 10:35 AM 10/29/97 +0000, Andy Piper wrote:
>I have to agree with this. Using mount -b to get sergey's version of bash
>to work seems just plain wrong. I want all my text files in a format that
>normal windows tools can understand, I don't think mount -b does this, does
>it?
>
>I still use the b18 distributed version of bash because it does what I
>want, bar some history problems. Using sergey's version of bash 
>requires me to convert files to unix format which I don't want to do.
>
>andy
>
>At 23:16 28/10/97 -0025, you wrote:
>>I've a conceptual problem with binary mount.
>>If I mount my system as binary mount -b d:/ /
>>(text=binary)
>>make don't works and I run in a lot of problems.
>>
>>If I mount by default : mount d:/ /
>>(text!=binary)
>>everything go fine.
>>
>>So my question is why and when should I mount my system as binary ?
>
>   ___                ____         	Dr Andy Piper
>  / _ \___ ________ _/ / Solutions_	(require 'disclaimer)
> / ___/ _ `/ __/ _ `/ / / _ `/\ \ /	andyp@parallax.co.uk
>/_/   \_,_/_/  \_,_/_/_/\_,_//_\_\ 	boot /vmemacs
>
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: use of mount -b
@ 1997-10-29  9:11 Earnie Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: Earnie Boyd @ 1997-10-29  9:11 UTC (permalink / raw)
  To: andyp; +Cc: gnu-win32

You can have it both ways.
e.g.:

dir c:\text

can be mounted as

mount c:\\text /text
mount -b c:\\text /btext

-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------

>Date: Wed, 29 Oct 1997 10:35:01 +0000
>To: gpasa@omedia.ch
>From: Andy Piper <andyp@parallax.co.uk>
>Subject: Re: use of mount -b
>Cc: sos@prospect.com.ru, gnu-win32@cygnus.com
>
>I have to agree with this. Using mount -b to get sergey's version of 
bash
>to work seems just plain wrong. I want all my text files in a format 
that
>normal windows tools can understand, I don't think mount -b does this, 
does
>it?
>
>I still use the b18 distributed version of bash because it does what I
>want, bar some history problems. Using sergey's version of bash 
>requires me to convert files to unix format which I don't want to do.
>
>andy
>
>At 23:16 28/10/97 -0025, you wrote:
>>I've a conceptual problem with binary mount.
>>If I mount my system as binary mount -b d:/ /
>>(text=binary)
>>make don't works and I run in a lot of problems.
>>
>>If I mount by default : mount d:/ /
>>(text!=binary)
>>everything go fine.
>>
>>So my question is why and when should I mount my system as binary ?
>
>   ___                ____         	Dr Andy Piper
>  / _ \___ ________ _/ / Solutions_	(require 'disclaimer)
> / ___/ _ `/ __/ _ `/ / / _ `/\ \ /	andyp@parallax.co.uk
>/_/   \_,_/_/  \_,_/_/_/\_,_//_\_\ 	boot /vmemacs
>
>-
>For help on using this list (especially unsubscribing), send a message 
to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-10-29 16:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-28 18:40 use of mount -b Pasa Guglielmo
1997-10-29  2:35 ` Andy Piper
1997-10-29 16:04 ` Fernandes, Hilton
1997-10-29  9:11 Earnie Boyd
1997-10-29 10:20 Larry Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).