[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] cpio problems with Expect
>
> exec find $tar_path -print | cpio -o > $tar_temp/$tar_name
>
> Which seems to start, and then stop after a few seconds with...
>
> 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 as there should
be the actual error itself before the "while executing". If you can get
hold of that message it'd be a help :)
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" as the old
cpio format (the default, at least on my setup) doesn't support them and
chucks out "truncating inode number" warnings. It could be that expect is
catching them?
Chris...
--
\ Chris Johnson \
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.