![]() |
N900: tar broken?
I am using Maemo 5, Version 10.2010.19-1 on N900.
When I am using tar to pack files with tar -cvzf /media/mmc1/backup.tar.gz / or tar -cvf /media/mmc1/backup.tar / onto the SD card as root user I am getting "tar: short read" and the tar file is garbage. :-( What can I do? (I am used to Linux so if there is an alternative I can try please tell me, but normally tar should work on a Linux system!) |
Re: N900: tar broken?
What filesystem on mmc1? How big file?
|
Re: N900: tar broken?
Quote:
But the error also occurs when doing it on /home which is ext3. file is ~ 232MB which should be no problem for vfat or ext3 Internet only says: http://www.mail-archive.com/busybox@.../msg04880.html tar -v says "BusyBox v1.10.2" :-( |
Re: N900: tar broken?
Quote:
Quote:
|
Re: N900: tar broken?
Quote:
Try this Code:
sudo gainroot |
Re: N900: tar broken?
Or just tar -X.
|
Re: N900: tar broken?
Is it joke?
I mean - recursive write of tar file. Commands like "tar cvf somefile /" will never ends until the space on somefile file system is exhausted. Because tar will try to write somefile into somefile! If you want to make a copy of root file system you should use a full tar (install it from repository) and use a parameter "-l" (or "--one-file-system"). By default tar will go through mount points and write all stuff from it including "somefile" content too. |
Re: N900: tar broken?
BusyBox is one f'd up tool, install tar-gnu and use gtar instead.
|
Re: N900: tar broken?
Quote:
Quote:
|
Re: N900: tar broken?
Quote:
|
All times are GMT. The time now is 19:13. |
vBulletin® Version 3.8.8