Re: [linux-usb-devel] Is there a way cloning a HD on pendrive.

2006-03-17 Thread Greg KH
On Sat, Mar 18, 2006 at 12:56:49AM +0800, Stephen Liu wrote: > Hi Greg., > > Tks for your advice. > > - snip - > > > both devices I ran; > > > > > > # cp -aR /mnt/hda5/* /mnt/sda1/ > > > > See the man page for cp for how to copy device nodes. Or use tar and > > a > > pipe.. > > I have searche

Re: [linux-usb-devel] Is there a way cloning a HD on pendrive.

2006-03-17 Thread Stephen Liu
Hi Greg., Tks for your advice. - snip - > > both devices I ran; > > > > # cp -aR /mnt/hda5/* /mnt/sda1/ > > See the man page for cp for how to copy device nodes. Or use tar and > a > pipe.. I have searched the man pages of cp and tar without result. My problem comes from 2 FS, DSL running on

Re: [linux-usb-devel] Is there a way cloning a HD on pendrive.

2006-03-16 Thread Greg KH
On Fri, Mar 17, 2006 at 12:10:39PM +0800, Stephen Liu wrote: > Hi folk, > > I have DSL2.2b running on partition-5 (/dev/hd5/) of a HD. It is > working there without problem. I need to clone it on /dev/sda1 of a > pendrive. /dev/sda1 has 800MB in capacity, sufficient to take up > DSL2.2b. > >

[linux-usb-devel] Is there a way cloning a HD on pendrive.

2006-03-16 Thread Stephen Liu
Hi folk, I have DSL2.2b running on partition-5 (/dev/hd5/) of a HD. It is working there without problem. I need to clone it on /dev/sda1 of a pendrive. /dev/sda1 has 800MB in capacity, sufficient to take up DSL2.2b. I can't use "dd" command because of unequal size. So after mounting both de