Date: Wed, 19 Aug 2015 22:56:56 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: curious file access problem On Thu, Aug 20, 2015 at 03:03:09AM +0200, Sebastian Gottschall wrote: > Hello Guys > > can someone explain why a file read operation on /proc/net/route > will return everything but the default gateway? > this happens only with musl and does for sure affect the command > "route" in busybox > > here a short example of this curiosity > strings does not print the default gateway. > cat does print it with default gateway Which package is the strings command you're using coming from? Have you looked at strace output for both commands? That might help determine if it's something weird with how the reading is taking place, or if strings is just deciding via its own logic that the one line is non-text. BTW in the future please send a new email rather than replying to an existing thread to start a new topic. The way you did it messes up threading. Just changing the subject does not start a new thread. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.