-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Spakman wrote:
> Hello Jim, Charles,
> 
> What I don't understand is that grep or sed seems to work fine if you
> first do a cp /proc/net/hostap/$1/debug /etc/firmware/hostap/$1/debug
> This is exactly the same file...

I cannot test this personally, but I strongly suspect some bug in the
virtual filesystem code for the device in question.

There must be a difference between how grep and sed read the file
compared to cat or cp.  It could be flags used on file open, the timing
of reads, or ???.

I should have stated this before, but any of the examples I've posted
that actually work are simply work-arounds for the buggy behavior of the
driver's /proc/ interface...on a fully functional system (ie: no bugs in
the /proc/ filesystem) all of the example code should behave identically.

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEWLdbLywbqEHdNFwRAl3UAKDYBNcKUSb9VGBVD7oxcJUu3Dmn8QCg0dDc
XngVTstZL9L1fsi2vR7WM7Y=
=JoXo
-----END PGP SIGNATURE-----


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to