Christoph Bugel wrote:

> I was thinking about block special files, and realized that I
> don't know a system call to read a specific block from a file.
> (I suspect it is 'read'??)

Yes, it is read with the restriction that only (multiplies of) whole
blocks can be read.

Why have yet another syscall when the semantics and functionality fits
in a standard one?

> is this maybe a technicality of strace? same reason that it doesn't
> show the exec() after the fork()?

It is.. You need to use the -f option when using strace on a program
that forks. (follow children).

---
Henrik Nordstr�m

Reply via email to