bin/72355: Can't run "strings" on a (disk) device, even if you want to

David Schultz das at FreeBSD.ORG
Wed Oct 6 14:10:31 PDT 2004


The following reply was made to PR bin/72355; it has been noted by GNATS.

From: David Schultz <das at FreeBSD.ORG>
To: Pierre Beyssac <beyssac at bofh.enst.fr>
Cc: FreeBSD-gnats-submit at FreeBSD.ORG
Subject: Re: bin/72355: Can't run "strings" on a (disk) device, even if you want to
Date: Wed, 6 Oct 2004 17:08:12 -0400

 > 	# strings /dev/da2s1
 > 	strings: Warning: '/dev/da2s1' is not an ordinary file
 
 I can't speak for why strings does this or whether it should be
 considered a bug or not, but a way to override it is
 'cat /dev/da2s1 | strings'.


More information about the freebsd-bugs mailing list