🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #59

Re: migrating slackwareOS to a new hard drive?

#59
From: William Hunt
Date: Wed, 04 Aug 2004 04:42
36 lines
2455 bytes
On Wed, 4 Aug 2004 qyswmhk@ojdmyw.com wrote:

> |> GNU tar does. I've done complete network transfers of disk contents
> |> using tar and netcat.
> |
> |Aren't there also some other things that could be happening with /proc and
> |/dev, like dynamic content creation? I can't remember the details but I
> |thought I'd throw that out there.
>
> I normally exclude /proc from the tar since its contents are virtual.
> /dev is ok to tar, GNU tar knows what to do with device files.


/proc is a seperate filesystem.  if you give tar the --one-file-system,
it will be excluded.  tarring it up is kind of pointless anyway, since
only a snapshot of it's outputs is preserved, and restoring it does not
producce a functional proc filesystem.

note, just for giggles, that you can mount a proc filesystem anywhere.
eg., mkdir /tmp/foo && mount -t proc none /tmp/foo.

but above /dev, i just did a fast test, tar -cpf /tmp/dev.tgz /dev/,
and tar did bitch about socket /dev/log ... not sure if that's a
problem or not.  but i've never notied any negative results from
using the technique in practice.





-- 
Fire the Liars - Impeach Bush and Cheney!
Prosecute the criminals - Indict Rumsfeld and Ashcroft!
Corruption starts at the top.

William Hunt, Portland Oregon USA
Technical Details
Message-ID: <Pine.LNX.4.58.0408032124470.12547@worker.huntbros.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!sjc1.usenetserver.com!news.usenetserver.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!worker.huntbros.net!wjh
References: <ceo4b9$7cc$1@spacebar.ucc.usyd.edu.au> <2nanstFtbea9U1@uni-berlin.de> <r2WPc.31981$K53.4086@news-server.bigpond.net.au> <Xns953AD15B1D605jbuserspc9org@205.200.16.73> <0WXPc.32119$K53.19148@news-server.bigpond.net.au>

Show Full Headers
Complete Article Headers
X-Google-Thread: f906c,d77a150c151ff0fb
X-Google-Thread: 102983,d77a150c151ff0fb
X-Google-Attributes: gidf906c,gid102983,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!sjc1.usenetserver.com!news.usenetserver.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!worker.huntbros.net!wjh
From: William Hunt <wjh@huntbros.net>
Newsgroups: alt.os.linux.slackware,aus.computers.linux
Subject: Re: migrating slackwareOS to a new hard drive?
Date: Tue, 3 Aug 2004 21:42:30 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <Pine.LNX.4.58.0408032124470.12547@worker.huntbros.net>
In-Reply-To: <0WXPc.32119$K53.19148@news-server.bigpond.net.au>
References: <ceo4b9$7cc$1@spacebar.ucc.usyd.edu.au> <2nanstFtbea9U1@uni-berlin.de>
 <r2WPc.31981$K53.4086@news-server.bigpond.net.au> <Xns953AD15B1D605jbuserspc9org@205.200.16.73>
 <0WXPc.32119$K53.19148@news-server.bigpond.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: abuse@supernews.com
Lines: 36