Re: HELP - cp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 26.03.2010 11:14, schrieb Kelvin Chan:

Hi Kelvin,

> 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)

According to the output of mount your are trying to copy a directory
directly to the raw device. Raw (block) device allow access to a hard
drive at very low level. You can access small chunks of data (blocks),
but there are no files, no directories, no file system at all...

The correct command would be "cp -R Documents  /Volumes/IPTGA-K", which
is the directory, where the operating system "shows" the information
stored at the device /dev/disk1s1.

-- 
bye
Adalbert
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux