Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-22-2004, 11:51 PM   #1
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Rep: Reputation: 15
vfat volume won't allow date to be set


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?

- TSloth
Old 10-23-2004, 02:29 AM   #2
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
cp --preserve=timestamps
Old 10-24-2004, 02:12 AM   #3
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set date and time thick_guy_9 Slackware 8 07-07-2005 09:46 AM
date command do not keep time set shanenin Linux - Software 1 09-04-2004 09:16 PM
How to correctly set date/time? Jakerohs Linux - General 5 01-08-2004 04:48 AM
set perms when mounting vfat? spiderworm Linux - General 1 11-19-2003 06:34 PM
set date and time maggielmk Programming 3 10-24-2001 02:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration