Skip to contentSkip to conversation

640.0 GB symlink

DISCUSSION Jason Mancini 2 participants 2 messages Dec 4, 2002

lore
Share & tools
lore
#0 lore raw
$ tar czvlf root.tgz /
...
tar: memory exhaused

Hmmm. The short story, tar dies on libz.so symlink.

$ ls -l /usr/lib/libz.*
-rwxr-xr-x    1 root     root        72302 Jun  7 06:33 /usr/lib/libz.a*
lrwxrwxrwx    1 root     root 687194767373 Jun  9 16:36 /usr/lib/libz.so -> libz.so.1.1.4*
lrwxrwxrwx    1 root     root           23 Jun  9 16:36 /usr/lib/libz.so.1.1.4 -> ../../lib/libz.so.1.1.4*
$ ls -l ../../lib/libz.*
lrwxrwxrwx    1 root     root           13 Jun  9 16:36 ../../lib/libz.so.1 -> libz.so.1.1.4*
-rwxr-xr-x    1 root     root        57584 Jun  7 06:33 ../../lib/libz.so.1.1.4*

I rebooted with init=/bin/bash
"reiserfsck --check /dev/hda1" revealed no errors.

Mandrake kernel 2.4.19-19mdk.
reiserfsprogs-3.6.3-1mdk

Should I just erase and remake the symlink? It wasn't like this in July (my last backup, *cough*).

In the mean time, I will use tar's --exclude option...

Thanks,
Jason Mancini
<[email protected]>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

#1 lore raw

Hello!

Quoted 1 line · Jason Mancini

Should I just erase and remake the symlink?

Yes, that would be the simpliest thing.

Quoted 1 line

It wasn't like this in July (my last backup, *cough*).

Then somebody corrupted it, or may be even the drive itself.

reiserfsck is generally does not shorten file sizes, but symlink is really special file, so this will be fixed for next release for sure. May be we will even include something like that check into the kernel.

Thank you for your report.

Bye,
Oleg