Mail Archives: opendos/2002/01/20/16:05:31
From: Robert <impala AT dfsi DOT net>
To: opendos AT delorie DOT com
Subject: Re: linux messin
Date sent: Sun, 20 Jan 2002 12:00:29 -0600
Send reply to: opendos AT delorie DOT com
> On Sunday 20 January 2002 12:02 pm, Thomas A Webb wrote:
> Nope im running Mandrake 8.1 and have DRDOS 7.3 on another
> scsi drive HOWEVER while looking around with Konquer I noticed
> in the directory mnt (mount) that I could see everything on my DOS
> drive. so just to see,I copyied a jpg file to my dos download directory
> and it worked ,and it also works to copy stuff from dos into linux!
> how can this be? linux is on it's own 2scsi drives and dos is on
> it's own scsi drive!
Linux can use any drives that you allow it to. DOS by itself can
only read and write FAT filesystems, but Linux can read and write
many different filesystems.
> BUT linux seems to want to put some secret stuff on the dos drive
> I discovered this while trying to run diskopt (drdos) using undelete in
> the directory of download,found a bunch of unreadable stuff!
> finally got rid of it with a program called cyborg2
> any one explain please.
>
The "U" in diskopt means unmovable. Bad clusters are marked with
"X". If you had "U"s, DRDOS might have put them there.
The programs Diskmap and Delwatch create hidden files to help with
undeleting. If you use Delwatch, the deleted files are marked with
"U" until you run Delpurge. Files with hidden or system attributes
are also marked with "U". You can list those with Attrib or Xdir.
If you had "X"s, your hard drive is probably going bad. Try a
surface scan with Microsoft Scandisk if you have it. I'm not
familiar with cyborg2, but if it can unmark clusters that are marked
bad, presumably it can also search for bad clusters.
One other possibility: When you copied files from Linux to DOS, did
any of them have a name longer than 8.3, or in mixed upper and lower
case? If so, Linux might have written it as a Windows long file name.
Diskopt might refuse to optimize a drive that contains long file
names.
On the Linux side, look in /etc/fstab and change "vfat" to "msdos" if
you don't use Windows 95 or later. Don't change anything else in
that file unless you are sure what you are doing.
- Raw text -