Date: Tue, 15 Mar 2005 14:34:36 +0100 From: Pietro Cerutti <pietro.cerutti@gmail.com> To: Alejandro Pulver <alejandro@varnet.biz> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: dd on samba Message-ID: <e572718c05031505341c36593f@mail.gmail.com> In-Reply-To: <20050314195312.7f6149cb@ale.varnet.bsd> References: <e572718c0503140527755376c4@mail.gmail.com> <e572718c05031405344dec8fb@mail.gmail.com> <20050314195312.7f6149cb@ale.varnet.bsd>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005 19:53:12 -0300, Alejandro Pulver <alejandro@varnet.biz> 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 <file> -u <n> > > It will appear in '/dev' as 'md<n>', 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 <n> > > Best Regards, > Ale > Great, this is what I was searching for! Thank you once more! Best regards, -- Pietro "Piter" Cerutti <pietro.cerutti@gmail.com> <piter@beansidhe.ch> Beansidhe - SwiSS Death / Thrash Metal <www.beansidhe.ch> Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c05031505341c36593f>