This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: display output from mount changed.!


On Tue, May 15, 2001 at 11:15:39AM +0100, Ashwin_Patil@Kindlesystems.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]