If I do this:
grep -a -n 'test' /dev/sdb10
It will search on the device sdb10 at binary level for a string 'test'. I can see the output of 'n' option, but what does it represent? Is the device treated as a single file?
My objective is to pinpoint the location of a file on the device so I can 'dd' a section of the drive.