[TriLUG] ext3 to vfat copy issue...

Alexei Znamensky russoz at gmail.com
Wed Jan 24 16:07:32 EST 2007


D,

check mount(8) man page, look for vfat. In particular, this piece here might
be it:

       shortname=[lower|win95|winnt|mixed]

              Defines the behaviour for  creation  and  display  of
filenames
              which fit into 8.3 characters. If a long name for a file
exists,
              it will always be preferred display. There are four modes:

              lower  Force the short name to lower case upon display; store
a
                     long name when the short name is not all upper case.

              win95  Force  the short name to upper case upon display; store
a
                     long name when the short name is not all upper case.

              winnt  Display the shortname as is; store a long name  when
the
                     short name is not all lower case or all upper case.

              mixed  Display  the short name as is; store a long name when
the
                     short name is not all upper case.

       The default is "lower".

cheers,
AZ

On 1/24/07, dsandif <dsandif at email.unc.edu> wrote:
>
> I am having issues with copying files from a linux ext3 format to a vfat
> or fat32 external hard drive.The original files to be copied are in up
> case, ie, R3456, Panama, GUTAMALA. But when I copy  the files to the
> external vfat\fat32 drive, the file names get changed to lower case
> every time so I end up with r3456, panama, Guatemala. I have certain
> scripts and programs that depend upon the case sensitivity of these
> files and won't work if they are adjusted like this. The intent was to
> be able to use the external to view and access files on both linux and
> windows OS. The command I give to copy is as follows:
>
> /bin/cp -R source(in this case GUTAMALA) /mnt/flash
>
>
> Thxs.
>
> D-
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



-- 
Alexei Znamensky - russoz_gmail_com
::: Remember, remember the 5th of November



More information about the TriLUG mailing list