Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 15 May 2001 09:59:47 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: display output from mount changed.! Message-ID: <20010515095947.E26560@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00256A4D DOT 003EE4B0 DOT 00 AT SMTP-NOTES DOT Kindlesystems DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <00256A4D.003EE4B0.00@SMTP-NOTES.Kindlesystems.com>; from Ashwin_Patil@Kindlesystems.com on Tue, May 15, 2001 at 11:15:39AM +0100 On Tue, May 15, 2001 at 11:15:39AM +0100, Ashwin_Patil AT Kindlesystems DOT com wrote: > > >Hi > >I downloaded the cygwin components on 14th of May . I installed them .I am using >cygwin-1.3.1. I ( i think this is the latest). The problem i am facing is that >the mount command now gives a different output. Well, the mounts are ok. But, >the display is somewhat difficult to read. > > > >$mount.exe > >This is the way i run the command. > >e.g > >f:\webpages\systems\nt_porting_notes on /web type user (binmode) >g:\vol1\port\tpg217 on /nusrc type user (textmode) >d:\application on /apps type user (binmode) >i:\bankmaster7 on /brad type user (binmode) >c:\cygwin\bin on /usr/bin type system (binmode) >c:\cygwin\lib on /usr/lib type system (binmode) >d:\foomaster on /foomaster type user (textmode) >e:\foomaster on /cpsnt4 type user (binmode) >d:\r7systems on /r7systems type user (binmode) >d:\bmntfeed on /feed type user (binmode) >d:\download on /download type user (binmode) >h:\systems1 on /systems type user (textmode) >c:\cygwin on / type system (binmode) >d:\temp on /temp type user (textmode) >c: on /cygdrive/c type user (binmode,noumount) >d: on /cygdrive/d type user (binmode,noumount) >g: on /cygdrive/g type user (binmode,noumount) >h: on /cygdrive/h type user (binmode,noumount) > > >But, if i use my old mount.exe, it shows me the mounts in a nice tabular >fashion. > >e.g: >Device Directory Type Flags >f:\webpages\systems\nt_porting_notes /web user binmode >g:\vol1\port\tpg217 /nusrc user textmode >d:\application /apps user binmode >i:\bankmaster7 /brad user binmode >c:\cygwin\bin /usr/bin system binmode >c:\cygwin\lib /usr/lib system binmode >d:\foomaster /bankmaster user textmode >e:\foomaster /cpsnt4 user binmode >d:\r7systems /r7systems user binmode >d:\bmntfeed /feed user binmode >d:\download /download user binmode >h:\systems1 /systems user textmode >c:\cygwin / system binmode >d:\temp /temp user textmode >c: /cygdrive/c user binmode,noumount >d: /cygdrive/d user binmode,noumount >g: /cygdrive/g user binmode,noumount >h: /cygdrive/h user binmode,noumount > > >Is it a known (problem)? Yeah, it is that strange "suddenly the output from a command is completely different" problem. It is a well known computer problem. I struggle with it constantly. A few months ago the "ls" command was actually just downloading transcripts of the Rush Limbaugh program rather than displaying the files in my directory. I tracked this down to a problem in the cygwin DLL. The opendir/readdir calls were inadvertently picking up AM radio signals. Once I added some software filters, everything was ok. In this case it is difficult to say what caused the problem other than my efforts to make the mount command output in a more UNIX like fashion. I suggest that you write some kind of simple shell script filter if you want to get the old tabular behavior. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple