🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.redhat
Article #39

a problem with tar

#39
From: B. Paris
Date: Wed, 09 Jan 2002 09:08
26 lines
1978 bytes
I use i386 redhat7.1 with kernel 2.4.14.

I don't understand this tar problems, any help would be appreciated:

- I make a tar archive of the exclusive root partition in a file on a
different filesystem  (mounted on /mnt/diskC) :

% tar cplf /mnt/diskC/aa.tar /


- When I make

% cd /mnt/diskC ; tar xf aa.tar

I get some errors like 
tar: /bin/gzip: Cannot link to bin/gzip: Invalid cross-device link
tar: bin/gunzip: Cannot link to bin/gunzip: Invalid cross-device link
tar: sbin/dosfsck: Cannot link to sbin/dosfsck: Invalid cross-device link
tar: sbin/mkdosfs: Cannot link to sbin/mkdosfs: Invalid cross-device link

This is curious as - for example - /bin/gzip is not a link but a real
file. Furthermore, where could it be a cross-device problem there ??

Bernard Paris
Universite Catholique de Louvain
PSP - iPSP
Technical Details
Message-ID: <paris-0901021008260001@0036.psp.ucl.ac.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!news.sri.ucl.ac.be!0036.psp.ucl.ac.be!user

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100a19,37af4fbb9db9cd14,start
X-Google-Attributes: gid100a19,public
X-Google-Thread: 109d4a,37af4fbb9db9cd14,start
X-Google-Attributes: gid109d4a,public
X-Google-Thread: 113682,37af4fbb9db9cd14,start
X-Google-Attributes: gid113682,public
X-Google-Thread: fe2cf,37af4fbb9db9cd14,start
X-Google-Attributes: gidfe2cf,public
X-Google-ArrivalTime: 2002-01-09 01:08:32 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!news.sri.ucl.ac.be!0036.psp.ucl.ac.be!user
From: paris@ipsp.ucl.ac.be (B. Paris)
Newsgroups: linux.redhat,be.comp.os.unix,be.comp.os.linux,ucl.comp.os.linux
Subject: a problem with tar
Date: Wed, 09 Jan 2002 10:08:26 +0100
Organization: UCL
Lines: 26
Message-ID: <paris-0901021008260001@0036.psp.ucl.ac.be>
NNTP-Posting-Host: 0036.psp.ucl.ac.be
X-Trace: ail.sri.ucl.ac.be 1010567304 2607 130.104.82.36 (9 Jan 2002 09:08:24 GMT)
X-Complaints-To: news@sri.ucl.ac.be
NNTP-Posting-Date: Wed, 9 Jan 2002 09:08:24 +0000 (UTC)