From owner-freebsd-current Sun Sep 29 12:52: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5B1337B401; Sun, 29 Sep 2002 12:51:58 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5043E6A; Sun, 29 Sep 2002 12:51:58 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id C5192665E3; Sun, 29 Sep 2002 19:51:53 +0000 (GMT) Date: Sun, 29 Sep 2002 19:51:53 +0000 (GMT) Message-Id: <20020929195153.Oy3a2352@hun.org> From: attila! X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-No-Archive: yes In-Reply-To: <20020929154810.GB4494@vega.vega.com> References: <20020929094611.GA2374@vega.vega.com> <20020929020757.cpMi1596@hun.org> <20020929094611.GA2374@vega.vega.com> To: Maxim Sobolev Cc: FreeBSD-CURRENT Subject: Re: broken: tar -l (--one-file-system) flag Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 1. world and kernel slice dated 28 Sep 2002 1200 GMT 3264 -r-xr-xr-x 1 root wheel 3327414 Sep 29 17:36 /boot/kernel/kernel 496 -r-xr-xr-x 1 root wheel 499424 Sep 29 17:35 /usr/bin/tar 2. Tyan 2642 dual 1.2GHz Athlon w/ dual 160 MB/sec SCSI /dev/da0a 101141 72063 20987 77% / /dev/da0e 2078659 1593383 318984 83% /usr /dev/da0f 2078659 1235883 676484 65% /usr/local /dev/da0g 2086164 991494 927777 52% /user /dev/da0h 2088046 1 1921002 0% /drv/da0h /dev/da1a 101141 60779 32271 65% /drv/da1a /dev/da1e 2078659 74729 1837638 4% /drv/da1e /dev/da1f 2078659 169833 1742534 9% /drv/da1f /dev/da1g 2086164 1702723 216548 89% /source /dev/da1h 2088046 1790550 130453 93% /usr/ports 3. operation: cd / tar -l -ycv -b 200 -f /source/2929.1842.root.tbz .??* * or tar --one-file-system -ycv -b 200 -f /source/2929.1842.root.tbz .??* * copied /dev /proc /source (2G partion mount point) which, of course, makes it recursive --ouch! also cd /usr tar --one-file-system -ycv -b 200 -f /source/2929.1842.usr.tbz .??* * transfered local, ports, and pkg which are all mounted filesystems. So, before committing this to mail, I thought would try the work around: find -x .??* * \! -type d -print >.tfile tar --files-from .tfile -yc -b 200 -f /source/2929.1842.usr.tbz .??* * but, alas, 'find' has the same problem ... it crosses the mount point to a different device. Makes me suspect there is common code for the find in 'tar' with 'find'. If you need more info, or wish me to test it, please let me know. If you're on the usual +3, it's still "today". best, Dr Daniel Flickinger Sent: Sun, 29 Sep 2002 18:48:10 +0300 by Maxim + On Sun, Sep 29, 2002 at 12:46:11PM +0300, Maxim Sobolev wrote: + > I'll look into this later. Thanks for reporting! + + I can't reproduce it locally. Could you please provide + more details about your setup? + + -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message