=?iso-8859-1?Q?Jörg?= Sommer writes: > > pac...@kosh.dhis.org hat am Mon 27. Jun, 23:02 (-0500) geschrieben: > > =?iso-8859-1?Q?J=F6rg?= Sommer writes: > > > I don't know, why dd thinks something went wrong. llseek() and fstat64() > > > didn't return an error. Accessing the file with Ruby yields the expected > > > result. > > > > I don't speak ruby, but that sounds unlikely. Would it do a ptrace > > behind your back? Or did you maybe think it succeeded when actually it > > just didn't report the errors it encountered? You should strace that too. > > % cat /tmp/mem-cat.c [snip]
OK, but that's /proc/self/mem. You can always read your own memory. In the original report, dd was trying to read a different process's memory. Tell dd to open /proc/self/mem and it'll work (except for the complaint caused by the bogus st_size) -- Alan Curry -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org