LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2001, 03:52 AM   #1
SloppyO
LQ Newbie
 
Registered: Sep 2001
Posts: 2

Rep: Reputation: 0
Question VFAT file attribute


Does anyone know how to keep VFAT file attribute?
Say I make a copy of IO.SYS on my Win98 partition C: to D:
which are my /dev/hda1 and /dev/hda5 under Linux. Using
commands like
cp -a and/or
mcopy
After reboot into DOS there is no Hidden, System and Read-Only
attributes associated with the new file d:\io.sys. Anybody know why/How?
 
Old 09-10-2001, 11:13 AM   #2
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
I'm not positive about this but I highly doubt that Linux would recognize DOS file properties. Furthermore, Win 98 doesn't use VFAT it uses FAT/FAT32. Whatever the diferences are between these two couold be enough to prevent file properties from showing up across systems.
 
Old 09-10-2001, 11:24 PM   #3
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
According to the man page for mcopy, the p option preserves the attributes.

mcopy -p file _to_copy


For cp, it's the same option p

cp -p file _to_copy

I don't know if this option for cp will work to preserve attributes for vfat files.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Heeelp! Preserving file modification attribute Slackovado Slackware 4 04-01-2005 02:31 AM
what sort of file attribute is this: b--Srws-wt BrianK Linux - General 6 12-17-2004 11:26 PM
why does sftp change mtime file attribute? hazelhill Linux - Software 3 10-17-2004 09:42 PM
%file attribute for RPM SPEC files Brian of Gep Fedora 0 06-15-2004 07:12 PM
file attribute question swmok Debian 2 05-20-2004 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:03 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
Open Source Consulting | Domain Registration