[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] cpio problems with Expect



> >     while executing
> > "exec find $tar_path -print | cpio -o > $tar_temp/$tar_name"
> >     (file "./backup" line 27)
>
> Welll ... it looks like you've got a partial error message

The other part of the message is...

1143927 blocks
    while executing

... sorry I didn't include it before.

> Could you do an "ls -li" as well and check the inode numbers (the first
> field); if these are over 65535, you'll need to add "-H newc"

Some of the inode numbers of the directories are more than 65535 - but
running the cpio command from the shell seems to work fine, even without -H
newc.

I tried adding -H newc to the cpio line in the Expect script anyway, but
still produces the same error message, but at 1148171 blocks.

Thanks for your ideas anyway.


Gareth


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.