Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Consumer Hardware & Components > Flash Drive and duplicate files made

Flash Drive and duplicate files made
Thread Tools
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Jan 30, 2005, 01:43 AM
 
I have 2 flash drives and both of them do strange things. I've found this question posted with no answer twice in the last year, so I'll ask too.

When placing files into the drive it adds a copy of the file with a ._ before the name of the file. For example:

examplefile.doc
would be
._examplefile.doc

What is going on? And how do I not have this happen?
...
     
Addicted to MacNN
Join Date: Jan 2003
Location: ~/
Status: Offline
Reply With Quote
Jan 30, 2005, 08:57 AM
 
Originally posted by euchomai:
I have 2 flash drives and both of them do strange things. I've found this question posted with no answer twice in the last year, so I'll ask too.

When placing files into the drive it adds a copy of the file with a ._ before the name of the file. For example:

examplefile.doc
would be
._examplefile.doc

What is going on? And how do I not have this happen?
These "._" files are written by the HFS file system when writing to another file system (like the FAT32 that your flash drive is formatted in). They are hidden on the Mac, but shown on Windows, since Windows has no idea what they are. Technically, they are the resource fork of HFS files (FAT32 doesn't support forked files like the Mac's HFS does). AFAIK, a properly designed OS X application isn't supposed to use the resource fork any more, but for what ever reason, the OS continues to write these files to non-HFS systems. They take up little to no disk space.

Bottom line: when on Windows, just ignore them.
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Jan 30, 2005, 05:26 PM
 
Originally posted by Cadaver:
These "._" files are written by the HFS file system when writing to another file system (like the FAT32 that your flash drive is formatted in). They are hidden on the Mac, but shown on Windows, since Windows has no idea what they are. Technically, they are the resource fork of HFS files (FAT32 doesn't support forked files like the Mac's HFS does). AFAIK, a properly designed OS X application isn't supposed to use the resource fork any more, but for what ever reason, the OS continues to write these files to non-HFS systems. They take up little to no disk space.

Bottom line: when on Windows, just ignore them.
Wow, great information... Thanks a ton, now the problem is that they are on my Flash MP3 player. How do I get them to not be put there? Or how can I get them off of my player? I can't see them at all!
...
     
Addicted to MacNN
Join Date: Jan 2003
Location: ~/
Status: Offline
Reply With Quote
Jan 31, 2005, 09:23 PM
 
Originally posted by euchomai:
Wow, great information... Thanks a ton, now the problem is that they are on my Flash MP3 player. How do I get them to not be put there? Or how can I get them off of my player? I can't see them at all!
That I'm not sure about. MacOS X has a habit of depositing these files all over the place on foreign file systems. Check macwindows.com perhaps for some suggestions.
     
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Jan 31, 2005, 09:34 PM
 
You could use FileBuddy to manually remove the files from your flash drive.
     
Addicted to MacNN
Join Date: Jan 2003
Location: ~/
Status: Offline
Reply With Quote
Feb 1, 2005, 06:51 PM
 
Originally posted by PurpleGiant:
You could use FileBuddy to manually remove the files from your flash drive.
That would work, BUT be aware that if you remove the "._" file from a Mac-based data file that is dependent on the resource fork, you will corrupt the file and render it unusable on the Mac.

Wont matter for MP3 music, but if you're storing Mac data on the device it may matter.
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 09:43 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2