This is the mail archive of the cygwin-apps@sources.redhat.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: stropts.h


ah well. perhaps a wrapper script for mount? anyway the sed script does it
for me
(usually like
mount | sed -f /bin/exportmounts > mymounts.bat)
Rob
----- Original Message -----
From: "DJ Delorie" <dj@delorie.com>
To: <robert.collins@itdomain.com.au>
Cc: <cygwin-apps@sources.redhat.com>
Sent: Thursday, August 24, 2000 9:05 AM
Subject: Re: stropts.h


>
> > what about mount | sed -e '1d' -e '/ system /s/^/-s /' -e 's/ system
//' -e
> > '/ user /s/^/-u /' -e 's/ user //' -e '/ binmode$/s/^/-b /' -e 's/
> > binmode$//' -e '/ textmode$/s/^/-t /' -e 's/ textmode$//' -e 's/^/mount
> > /' -e 's/\\/\\\\/' > mymounts.bat
>
> I think they wanted us to add an option like this:
>
> mount --bat > mymounts.bat
>


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