From: Stelian P. <st...@po...> - 2007-12-05 22:12:15
|
Le mardi 04 décembre 2007 à 12:54 +0100, Helmut Jarausch a écrit : > Hi, > > does anybody know (Stelian, you are supposed to) how the > Quick File Access support does work? > I thought it would notice the position (got by ftell or counting > the output bytes) where > a given file is stored on the backup medium. It does work by using ioctl(MTIOCPOS) if the output is a tape, or lseek if the output is a file. > Therefore I tried something like > > dump -y -b256 -0 -D /usr/src/dumpdates \ > -Q /usr/src/$User-$Date.Q \ > -L $Date-$User -f - /home | \ > /usr/local/bin/ttcp -t -l 262144 -p 5618 $Server" > > Here ttcp is something similar to netcat. > > Unfortunately dump fails > DUMP: [26581] error: 29 (getting tapepos: -1) 29 is ESPIPE: a pipe is not seekable. This is why it fails. -- Stelian Pop <st...@po...> |