[Bug 72355] Can't run strings(1) on a (disk) device, even if you want to
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 21 14:57:32 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=72355
Ed Maste <emaste at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emaste at freebsd.org
Resolution|--- |FIXED
Status|In Progress |Closed
--- Comment #5 from Ed Maste <emaste at freebsd.org> ---
This is fixed with the migration to ELF Tool Chain strings, as of FreeBSD 11.0.
Testing with a memory disk:
# newfs_msdos /dev/md0
newfs_msdos: cannot get number of sectors per track: Operation not supported
newfs_msdos: cannot get number of heads: Operation not supported
/dev/md0: 2003 sectors in 2003 FAT12 clusters (512 bytes/cluster)
BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 Sectors=2048
Media=0xf0 FATsecs=6 SecPerTrack=63 Heads=1 HiddenSecs=0
# strings /dev/md0
BSD4.4
NO NAME FAT12
Non-system disk
Press any key to reboot
#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list