handle the seek parameter in the attach command

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>