From owner-freebsd-current@FreeBSD.ORG Fri Aug 26 18:39:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 BA01116A41F for ; Fri, 26 Aug 2005 18:39:26 +0000 (GMT) (envelope-from Lonnie.Vanzandt@ngc.com) Received: from xcgca810.northgrum.com (xcgca810.northgrum.com [208.12.122.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B95A43D67 for ; Fri, 26 Aug 2005 18:39:20 +0000 (GMT) (envelope-from Lonnie.Vanzandt@ngc.com) Received: from xcgca800.northgrum.com ([157.127.103.70]) by xcgca810.northgrum.com with InterScan Messaging Security Suite; Fri, 26 Aug 2005 11:39:20 -0700 Received: from xcgco501.northgrum.com ([158.114.104.53]) by xcgca800.northgrum.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 26 Aug 2005 11:39:17 -0700 Received: from [192.168.217.128] ([158.114.106.12]) by xcgco501.northgrum.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 26 Aug 2005 12:38:17 -0600 From: Lonnie VanZandt Organization: Northrop Grumman To: freebsd-current@freebsd.org Date: Fri, 26 Aug 2005 12:38:06 -0600 User-Agent: KMail/1.8.1 References: <200508262004.54637@harrymail> In-Reply-To: <200508262004.54637@harrymail> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508261238.07244.lonnie.vanzandt@ngc.com> X-OriginalArrivalTime: 26 Aug 2005 18:38:17.0377 (UTC) FILETIME=[53307910:01C5AA6D] Subject: Re: cpio and tar are loosing flags (and a panic message without trace) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lonnie.vanzandt@ngc.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 18:39:26 -0000 How about rsync? (There is a ports version available) see man rsync and the -a flag On Friday 26 August 2005 12:04 pm, Emanuel Strobl wrote: > Hello, > > hmm, once again me. And again with a probably not so common problem. > I need to replicate files, exactly like they are! > I thought cpio was the deal, but no way, I tried several -H formats but > that hasn't changed anything. As soon as a file gets restored the flag > arch is reset, same with nodump. > Then I remember Tim Kienzles great work for bsdtar and all the ACL stuff, > but unfortunately a cvPPzf <> xvpPfz also looses the arch flag :( > My temporary solution is the following, but I don't liek it: > > for n in `/usr/bin/cpio -idmuv --quiet < ${varmfs_bufferdev} 2>&1` > do /bin/chflags arch $n > done > > Dump is no alternative since I have to archive just selected files, cpio's > behaviour is the one I like most for my needs. > > Any suggestions? > > Thanks, > > -Harry > > P.S.: Here's a little panic I had today on my embedded system (RELENG_6 > from today!), no debug kernel, too less memory, but if anybody's > interested, here's the message: > > fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x20:0xc04d7170 > stack pointer = 0x28:0xc5ddb7e4 > frame pointer = 0x28:0xc5ddb7f0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 526 (gunzip) > trap number = 12