Hi,
On 22/10/2007, Edd Barrett wrote:
I know what has happened?
---8<---
# ls
a_fragile_hope darkness_prevails
# ls /mnt/usb
palm volume.nam
# cp -R a_fragile_hope /mnt/usb
cp: /mnt/usb/a_fragile_hope/the_coroner.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/as_the_storm_unfolds.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/dawn_of_the_first_day.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/awaiting_the_flood.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/between_two_words.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/sirens_chant.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/hope.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/in_the_absence_of_light.ogg: No such file
or directo
ry
cp: /mnt/usb/a_fragile_hope/in_absense_of_light.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/the_starting.ogg: No such file or directory
cp: /mnt/usb/a_fragile_hope/at_the_end_of_the_tunnel.ogg: No such file
or direct
ory
# ls /mnt/usb
a_frag~1 palm volume.nam
---8<---
The directory made has been truncated msdos style. "a_frag~1".
Therefore when cp tries to copy files into the new directory, it can't
find the new filename.
The workaround is to do something like this, with a shorter filename
---8<---
# cp -R a_fragile_hope /mnt/usb/a
---8<---
--
Best Regards
Edd
---------------------------------------------------
http://students.dec.bournemouth.ac.uk/ebarrett
| jjohansen | [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Andrew Morton | 2.6.23-rc6-mm1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
