LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vfat volume won't allow date to be set (https://www.linuxquestions.org/questions/linux-newbie-8/vfat-volume-won%27t-allow-date-to-be-set-246198/)

TSloth 10-22-2004 10:51 PM

vfat volume won't allow date to be set
 
Hi.

I am using Mandrake Linux 9.2 on a system that dual-boots with W98.
I am mounting a Fat32 volume that is read/write in both OS's.
When I copy a file from anywhere to the /mnt/win_d partition, the date gets set to the current date & time. This same unwanted behavior happens in the Konqueror file manager, with cp -a, and with tar. I would like it to preserve the original date & time.
Here's the line from /etc/fstab:

/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,umask=0,codepage=850 0 0

How can I get it to preserve the date and time?

Also (lower priority question), is this the best iocharset and codepage for compatibility with Windows in the United States?

Thanks,
- TSloth

Samsara 10-23-2004 01:29 AM

cp --preserve=timestamps

TSloth 10-24-2004 01:12 AM

:(
Didn't work:

$ cp --preserve=timestamps test.doc /mnt/win_d/
cp: preserving times for `/mnt/win_d/test.doc': Operation not permitted

Should I have something different in /etc/fstab?

- TSloth


All times are GMT -5. The time now is 10:47 AM.