Am Freitag, den 26.03.2010, 18:14 +0800 schrieb Kelvin Chan:
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
Copying to dev in the actual directory seems somewhat confusing. Probably you did mean cp -R Documents /dev/disk1s1/www but even that is wrong. If you insert an usb stick, the actual file system (which is _not_ the device) will be mounted at /media/.../ where ... will be replaced by the actual name, e.g. KINGSTON for an Kingston manufacted USB stick. Simply do a ls /media and you will find your USB stick inbetween.
Joerg