Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 1996 09:58:13 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Re: Which tools can back up inodes with 32bit minor numbers ?
Message-ID:  <199607070758.JAA24626@uriah.heep.sax.de>
In-Reply-To: <199607061414.QAA23586@vector.jhs.no_domain> from "Julian H. Stacey" at "Jul 6, 96 04:14:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Julian H. Stacey wrote:

> > (You will get /dev into a separate file system anytime soon.  But i
> > doubt you will have any need to include it into a backup then. :-)
> 
> One can run MAKEDEV to rebuild standard stuff, but after working away
> at /dev & various other dirs. with various ports & private stuff,
> EG fax + uucp + slip + getty etc,
> it's nice to be able to make a complete backup of a working system.

Well, as i wrote, the existing static /dev is about to be killed
anytime soon.  MAKEDEV as well -- shouldn't you have it already
noticed.

Persistency of the devfs entries across reboots was one major point of
discussion, and good ideas are still sought.  I tend to defend the
idea of keeping this outside the kernel, so the device drivers do only
create their generic device nodes, while some /etc/rc-started userland
script creates the required links (and tweaks the permissions if
necessary).  Anyway, i'm biased, i have seen something to this avail
working on DG/UX.

Simply backing it up with cpio or dump and restoring later is *not*
the way to go then.

> Also, perhaps we should 
> 	s/GNU/GNU (& thus FreeBSD etc)/
> in the (formatted) chunk:
> 	The new ASCII format
> 	is portable between different  machine  architectures  and
> 	can  be used on any size file system, but is not supported
> 	by all versions of cpio; currently, it is  only  supported
> 	by  GNU  and Unix System V R4.  The crc format is like the
> 	new ASCII format, but also contains a  checksum

No, there's no such thing like ``FreeBSD cpio''.  We use GNU cpio.

> > You forgot:
> > pax:
> .....
> 
> I'm conservative, I don't use pax ;-)   (far as I know, it's just a new
> wrapper, not on many commercial Unixes, for formats also available by tar
> & cpio, & I have enough trouble remembering cpio parameters).

It's the only archiver sanctioned by Posix.2.  All platforms that
claim support for Posix.2 should have it.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607070758.JAA24626>