LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
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
 
Old 10-23-2004, 01:29 AM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
cp --preserve=timestamps
 
Old 10-24-2004, 01:12 AM   #3
TSloth
Member
 
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
 
  


Reply


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 08:46 AM
date command do not keep time set shanenin Linux - Software 1 09-04-2004 08:16 PM
How to correctly set date/time? Jakerohs Linux - General 5 01-08-2004 03:48 AM
set perms when mounting vfat? spiderworm Linux - General 1 11-19-2003 05:34 PM
set date and time maggielmk Programming 3 10-24-2001 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 AM.

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