[H-GEN] Hardware Upgrade

Robert Brockway robert at timetraveller.org
Mon Jan 6 20:12:28 EST 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Tue, 7 Jan 2003, David Jericho wrote:

> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> On Mon, Jan 06, 2003 at 08:34:44PM +1000, Robert Brockway wrote:
> > If you're using tar make sure you don't copy /proc and don't bother with
> > /tmp, /var/tmp, your cdrom or floppy as these may get caught up in a
> > blanket tar of the system.
>
> --exclude maybe an option of interest. Easier to
> "tar -c --exclude /proc -f - /*" than to manually list all directories
> you want.

Yep, --exclude (aka -X) is very useful.

> Dump and restore is an excellent combo for doing this sort of thing,
> but be aware that there are caveats that could bite you in rare
> circumstances under Linux[1]. Always compare the two file systems for
> differences in the data. cmp(1) and md5sum(1) are two easy ways of
> comparing files.

> [1] I don't have a reference handy, but Linus posted a list of
> situations where he thought dump could lose data for you.

I know Linus is very much against dump and dump like tools but I wasn't
aware he had actually forecast the possability of data loss.  Such a
situation would indicate a bug in dump or the filesystem code, imho.

Do you have a reference?

Cheers,
	-Rob

-- Robert Brockway B.Sc. email: robert at timetraveller.org  ICQ: 104781119
   Linux counter project ID #16440 (http://counter.li.org)
   "The earth is but one country and mankind its citizens" -Baha'u'llah


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list