Date: Mon, 6 Nov 2000 17:37:22 +0100 From: "James A Wilde" <james.wilde@tbv.se> To: "Send to questions" <freebsd-questions@freebsd.org> Subject: dd to a smaller disk Message-ID: <NEBBLHNJHLFCJGCBFDKIMEFLCCAA.james.wilde@tbv.se>
next in thread | raw e-mail | index | archive | help
Hope the question is not too stupid. 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? 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 but it just doesn't seem to cut it. Or if it does, it takes a devil of a time to do it. Where can I see the temporary file being created? The /usr/exclude.lst file contains: /mnt /usr /export these being separate file systems. mvh/regards James 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?NEBBLHNJHLFCJGCBFDKIMEFLCCAA.james.wilde>