delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/24/18:55:31

From: Pierre DOT Humblet AT eurecom DOT fr (Pierre A. Humblet)
Subject: Re: Answer to your text == binary question
24 Jan 1999 18:55:31 -0800 :
Message-ID: <3.0.5.32.19990124193022.00841a80.cygnus.cygwin32.developers@pop.ne.mediaone.net>
References: <19990124122315 DOT F9953 AT cygnus DOT com>
To: Christopher Faylor <cgf AT cygnus DOT com>,
"cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>

At 12:23 PM 1/24/99 -0500, Christopher Faylor wrote:
>On Sat, Jan 23, 1999 at 10:12:24AM -0500, Sergey Okhapkin wrote:
>>Pierre A. Humblet wrote:
>>> I assume there WILL BE a clear and convenient way to change the mode
>>> after the default automount has taken place.
>
>I'm not quite sure what is being asked for here.  If you have a default
>the only way to override it is to do something specific like mount the
>directory.

The user will find him/herself with an automounted directory, say z: to /cygdrive/z with text mode. What is the simple specific rule to change the mode to binary? What Sergey suggested is perfect. It would be nice if "mount -b z: /cygdrive/z" was doing the job as well instead of generating Device or resource busy (recognizing that only the mode has changed). Less nice ways are to have the user umount then mount again, or to have to use the force flag.

>Or, you can remote using a different automount prefix and a different mode.
>
>>What about something like "mount -b /", "mount -t /dev/fd0"? Note missing 
>>win32path argument - this case mount command must just change a type of an 
>>existing mount point.
>
>mount -t \\.\a: /dev/fd0
>
>should work fine.  Assuming I've got the \\ syntax right.
>
Today it would generate Device or resource busy 

Pierre

- Raw text -


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