Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!lll-crg!mordor!sri-spam!ames!ucbcad!ucbvax!ulysses!ggs From: ggs@ulysses.UUCP Newsgroups: comp.unix.wizards Subject: Re: a new (?) twist on filesystem backups Message-ID: <1486@ulysses.UUCP> Date: Sun, 23-Nov-86 10:55:24 EST Article-I.D.: ulysses.1486 Posted: Sun Nov 23 10:55:24 1986 Date-Received: Mon, 24-Nov-86 01:23:59 EST References: <269@ima.UUCP> Distribution: world Organization: AT&T Bell Laboratories, Murray Hill Lines: 21 > I have been using cpio to save filesystems to move from a Sys V to a > 4.3bsd. I am happier with cpio than with tar; let's assume that I have > to use cpio (I have the BRL Sys V cpio on 4.3). > > As we know, cpio likes a list of files on standard input. Problem is, > people normally use find to generate that list, but it happily crosses > filesystem boundaries. How to generate a list of files on a filesystem > for cpio? find | grep -v? No, ncheck! > > Andrew Tannenbaum Interactive Boston, MA +1 617 247 1155 Fine, but the 4.3BSD "find" has the -xdev option, which does what you want. find /usr -xdev -print | cpio ocB > /dev/rmtfoo -- Griff Smith AT&T (Bell Laboratories), Murray Hill Phone: (201) 582-7736 UUCP: {allegra|ihnp4}!ulysses!ggs Internet: ggs@ulysses.uucp