From owner-freebsd-current@FreeBSD.ORG Mon Jun 9 15:11:24 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97EF31065673 for ; Mon, 9 Jun 2008 15:11:24 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9978FC1C for ; Mon, 9 Jun 2008 15:11:24 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K5iKR-0000KX-4W for freebsd-current@freebsd.org; Mon, 09 Jun 2008 14:26:35 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2008 14:26:35 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2008 14:26:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Mon, 09 Jun 2008 16:26:26 +0200 Lines: 41 Message-ID: References: <20080609141441.GA5025@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1AA848D5384DB627851F9E13" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.14 (X11/20080505) In-Reply-To: <20080609141441.GA5025@onelab2.iet.unipi.it> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: any simple tool to extract files from an UFS image ? 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: Mon, 09 Jun 2008 15:11:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1AA848D5384DB627851F9E13 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Luigi Rizzo wrote: > Hi, > I am doing some work recently on small FreeBSD images (picobsd and frie= nds), > and I need to run on a linux machine some script to customize > both the UFS and the ISO image. >=20 > Because the customization is just writing some text into a file, > my approach is to put in the UFS image a file with a recognizable > start and end markers, and then dd into the image the stuff I need. >=20 > I was wondering if i could avoid shipping both images, and instead > use some trick to extract the tree from the UFS image and then > use mkisofs on the linux side to build the ISO. >=20 > I know that bsdtar can read ISO images, but I don't think it does > the same on UFS.=20 If I understand you correctly, you may try mounting the images in Linux, with suitably compiled kernel. --------------enig1AA848D5384DB627851F9E13 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFITT2SldnAQVacBcgRAjuLAJ9LWgKY6pc9+FydLY88g2piIE3gXACgm2bU x2u906OyMUPpK2DCALlWoI4= =bR1h -----END PGP SIGNATURE----- --------------enig1AA848D5384DB627851F9E13--