openSUSE Forums > Hardware » VFAT USB-KEY mounted Issue

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-Jul-2009, 07:04
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 23
didess hasn't been rated much yet
Unhappy VFAT USB-KEY mounted Issue

Hi all friends !

I've got many files with colons in their names and I'd like to save them onto a USB-KEY.

It seems that I can't write them (answer of 'cp' : "Invalid argument").

The USB-KEY is automatically mounted as a VFAT file-system on an OpenSuse 11.1

One example (among a great number ...) Moose::Cookbook::Basics::Recipe9.3pm

question 1 : Is it "normal" ?
question 2 : How to deal with that ?

Thanks to you in advance !
Reply With Quote
  #2 (permalink)  
Old 08-Jul-2009, 07:19
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,616
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: VFAT USB-KEY mounted Issue

Quote:
Originally Posted by didess
Hi all friends !

I've got many files with colons in their names and I'd like to save
them onto a USB-KEY.

It seems that I can't write them (answer of 'cp' : "Invalid
argument").

The USB-KEY is automatically mounted as a VFAT file-system on an
OpenSuse 11.1

One example (among a great number ...)
Moose::Cookbook::Basics::Recipe9.3pm

question 1 : Is it "normal" ?
question 2 : How to deal with that ?

Thanks to you in advance !

Hi
Question 1 Yes
Question 2 You will have to use
\'s eg;
Code:
cp Moose\:\:Cookbook\:\:Basics\:\:Recipe9.3pm /media/someusbdevice/
--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 10 days 21:44, 2 users, load average: 0.46, 0.45, 0.19
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #3 (permalink)  
Old 08-Jul-2009, 07:38
FeatherMonkey's Avatar
Wise Penguin
 
Join Date: Mar 2008
Posts: 1,545
FeatherMonkey has a spectacular reputation aura aboutFeatherMonkey has a spectacular reputation aura aboutFeatherMonkey has a spectacular reputation aura aboutFeatherMonkey has a spectacular reputation aura about
Default Re: VFAT USB-KEY mounted Issue

I believe Fat won't let you as it is an invalid character, apparently you cant use : or ? going on this ...

https://lists.ubuntu.com/archives/ub...ay/115345.html

You would have to do a rename something like .. or use a gui rename think KRename
Code:
for file in *; do mv "$file" $(echo $file | sed -e 's/:\+\|?/_/g'); done
@malcomlewis I found I could cp on ext3 using :
__________________
Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
If I've helped click on the Rep button I don't know what it does but it sounds cool.
Reply With Quote
  #4 (permalink)  
Old 08-Jul-2009, 09:08
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,616
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: VFAT USB-KEY mounted Issue

Quote:
Originally Posted by FeatherMonkey
I believe Fat won't let you as it is an invalid character, apparently
you cant use : or ? going on this ...

https://lists.ubuntu.com/archives/ub...ay/115345.html

You would have to do a rename something like .. or use a gui rename
think KRename

Code:
--------------------
for file in *; do mv "$file" $(echo $file | sed -e 's/+\|?/_/g');
done --------------------


@malcomlewis I found I could cp on ext3 using :

Hi
I knew there was a reason I avoided fat filesystems......

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 10 days 23:35, 2 users, load average: 0.16, 0.25, 0.18
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #5 (permalink)  
Old 08-Jul-2009, 14:42
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 23
didess hasn't been rated much yet
Wink Re: VFAT USB-KEY mounted Issue

thanks to all !

In fact I cannot rename files because they are parts of a Perl-module-distribution and all could break if I renamed.

another last solution : build a tar-file containing all the "bad-named" files. But it's just good fro storage, not using.

however, thanks!
Reply With Quote
  #6 (permalink)  
Old 09-Jul-2009, 03:02
Busy Penguin
 
Join Date: Jun 2008
Posts: 281
KJ44 hasn't been rated much yet
Default Re: VFAT USB-KEY mounted Issue

> another last solution : build a tar-file containing all the "bad-named" files. But it's just good fro storage, not using.

You could build an ISO file and mount it using loopback to get read access to individual files.

Do you need to read the stick on Windows? If not, format it ext2 (not ext3, for some reason to do with journals and flash I forget), then you're doing things the right way.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2