From owner-freebsd-questions@FreeBSD.ORG Tue Mar 15 13:34:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC99A16A4CE for ; Tue, 15 Mar 2005 13:34:42 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC7843D39 for ; Tue, 15 Mar 2005 13:34:39 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so5843wra for ; Tue, 15 Mar 2005 05:34:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Rew7n9yorHsJj4RtEAvtFQ7bD0/nfov8EqYmG80fU1jYfjYY/xgySbIQbh80f4BzPTUrOeImj7NCO1PZ7i7sdfxmKYjG0SN6ujgDNmej8pH/ZZLnVYWEVwM0Zk6vzQi6l4Tr9bS5xPA6I6sT4X3loR8+NDD3RIFvydo8N5UIAlo= Received: by 10.38.72.35 with SMTP id u35mr582512rna; Tue, 15 Mar 2005 05:34:36 -0800 (PST) Received: by 10.38.13.78 with HTTP; Tue, 15 Mar 2005 05:34:36 -0800 (PST) Message-ID: Date: Tue, 15 Mar 2005 14:34:36 +0100 From: Pietro Cerutti To: Alejandro Pulver In-Reply-To: <20050314195312.7f6149cb@ale.varnet.bsd> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050314195312.7f6149cb@ale.varnet.bsd> cc: FreeBSD Subject: Re: dd on samba X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pietro Cerutti List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 13:34:43 -0000 On Mon, 14 Mar 2005 19:53:12 -0300, Alejandro Pulver wrote: > > Hello, Hi there, > > I have free space between two slices to I tried to do the same as you. Thank you! > When you have the image of a slice generated by 'dd', it contains its > partitions and filesystems. First you may want to make that slice image > (file) to appear in '/dev', so you can manipulate its partitions. This > is done (in FreeBSD 5.X, if you use 4.X use'vnconfig', there are > examples in the Handbook) like with a CD-ROM ISO image (see the > Handbook->Storage): > > mdconfig -a -t vnode -f -u > > It will appear in '/dev' as 'md', with its partitions, like the > following: > > md1a > md1c > [...] > > So you can mount them, dump them, etc., like with a slice (in fact, > it is an image of a slice). > > When you end what you want to do with it, do (after unmounting the > partitions): > > mdconfig -d -u > > Best Regards, > Ale > Great, this is what I was searching for! Thank you once more! Best regards, -- Pietro "Piter" Cerutti Beansidhe - SwiSS Death / Thrash Metal Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?"