HELP - cp

Joachim Backes joachim.backes at rhrk.uni-kl.de
Fri Mar 26 10:25:18 UTC 2010


On 03/26/2010 11:14 AM, Kelvin Chan wrote:
> Hi,
> 
> I encounter a problem as I copy folder with all files to a usb disk.
> 
> command>>
> Kelotus:/ Kelotus$ cp -R Documents dev/disk1s1/www
> 
> result>>
> cp: dev/disk1s1/www: Not a directory
> or
> cp: /dev/disk1: Resource busy
> 
> 
> Kelotus:webserver Kelotus$ mount
> /dev/disk0s2 on / (hfs, local, journaled)
> devfs on /dev (devfs, local)
> fdesc on /dev (fdesc, union)
> map -hosts on /net (autofs, automounted)
> map auto_home on /home (autofs, automounted)
> /dev/disk1s1 on /Volumes/IPTGA-K (msdos, local, nodev, nosuid, noowners)
> 
> 

If I understood you correctly, you need to copy the Documents directory.
If yes, you must copy to
the mounted directory and not to the device node:

 cp -R Documents /Volumes/IPTGA-K

Remark: You forgot the leading / in dev/disk1s1/www in the (useless)
command you presented us :-)
> 
> Thanks
> 
> /Kelvin Chan/
> 
> 
> <http://www.i3live.cn>
> 
> 
> 
> 
> Hotmail: Trusted email with powerful SPAM protection. Sign up now. 
> <https://signup.live.com/signup.aspx?id=60969>
> 


-- 
Joachim Backes <joachim.backes at rhrk.uni-kl.de>

http://www.rhrk.uni-kl.de/~backes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6131 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100326/29e281a4/attachment.bin 


More information about the users mailing list