From owner-freebsd-current@FreeBSD.ORG Fri Aug 26 18:05:00 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 4083C16A420 for ; Fri, 26 Aug 2005 18:05:00 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3710943D46 for ; Fri, 26 Aug 2005 18:04:58 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 26 Aug 2005 18:04:57 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp021) with SMTP; 26 Aug 2005 20:04:57 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org, freebsd-current@freebsd.org Date: Fri, 26 Aug 2005 20:04:45 +0200 User-Agent: KMail/1.8.1 X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2251193.c8OhkGqAsp"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508262004.54637@harrymail> X-Y-GMX-Trusted: 0 Cc: Subject: 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 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:05:00 -0000 --nextPart2251193.c8OhkGqAsp Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 that hasn't changed anything. As soon as a file gets restored the flag=20 arch is reset, same with nodump. Then I remember Tim Kienzles great work for bsdtar and all the ACL stuff,=20 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= =20 behaviour is the one I like most for my needs. Any suggestions? Thanks, =2DHarry P.S.: Here's a little panic I had today on my embedded system (RELENG_6=20 from today!), no debug kernel, too less memory, but if anybody's=20 interested, here's the message: fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x0 fault code =3D supervisor write, page not present instruction pointer =3D 0x20:0xc04d7170 stack pointer =3D 0x28:0xc5ddb7e4 frame pointer =3D 0x28:0xc5ddb7f0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 526 (gunzip) trap number =3D 12 --nextPart2251193.c8OhkGqAsp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDD1nGBylq0S4AzzwRAkNNAKCFwr//rhPa4S23EJJpiFJnxp9fygCfVv1X 8ma7Z9CNbPQvUA6nZc1qt7w= =p0Bv -----END PGP SIGNATURE----- --nextPart2251193.c8OhkGqAsp--