Date: Tue, 07 Nov 2000 01:44:33 +0100 From: Siegbert Baude <siegbert.baude@gmx.de> To: James A Wilde <james.wilde@tbv.se> Cc: freebsd-questions@freebsd.org Subject: Re: dd to a smaller disk Message-ID: <3A075071.6506569A@gmx.de> References: <NEBBLHNJHLFCJGCBFDKIMEFLCCAA.james.wilde@tbv.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi James, > Can I use dd to copy a disk to a smaller disk - in other words, will dd just > copy the parts of the disk which have data on them and ignore empty disk > space? No dd will copy your data byte-wise, without regard if itīs actually data or just plain garbage. > I am trying to copy a large - but nearly empty - disk on <whisper> Solaris > X86 to a smaller disk on the same machine. I tried the command > > tar clfX - /usr/exclude.lst -C / . |tar xvpf - /mnt Read the man-page for tar. At the end there are examples how to copy whole trees. What I got out of a recent discussion about tar here: Donīt mix switches preceded with - and ones without them. Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A075071.6506569A>