From owner-freebsd-questions@FreeBSD.ORG Mon Oct 20 23:45:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42496106566C for ; Mon, 20 Oct 2008 23:45:49 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id E8E158FC1F for ; Mon, 20 Oct 2008 23:45:48 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-24-161-50-5.hvc.res.rr.com [24.161.50.5]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m9KNjc4Z056909; Mon, 20 Oct 2008 19:45:48 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.14.3/8.14.3) with ESMTP id m9KNjVi5030416; Mon, 20 Oct 2008 19:45:32 -0400 (EDT) (envelope-from tbohml@himinbjorg.tucs-beachin-obx-house.com) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.14.3/8.14.3/Submit) id m9KNjVfF030415; Mon, 20 Oct 2008 19:45:31 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200810202345.m9KNjVfF030415@himinbjorg.tucs-beachin-obx-house.com> To: wojtek@wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon, 20 Oct 2008 19:45:31 -0400 (EDT) In-Reply-To: <20081021012041.T24350@wojtek.tensor.gdynia.pl> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 192.168.3.21 Cc: "Tuc at T-B-O-H.NET" , freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] Re: Right way to mount/edit dd of a disk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 23:45:49 -0000 > > > mount -t msdos /dev/md0s5 /mnt > > > > to be able to get the dd5 on /mnt. I then edited the files I wanted, > > replaced them, and copied back to /mnt. I did "umount /mnt" and copied the dd > > file back to where it needed to be. > > did you mdconfig -d before copying image? > Well, turns out the problem I had was elsewhere with something else, but I was slowly coming back around to having to deal with this again. (Apparently FreeBSD's tar can actually create a tar that a Linux system doesn't like...) No, I didn't. That would probably have been a good idea no matter what. Will do so in the future. But otherwise my procedure seemed sane? Thanks! Tuc