delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2000/04/29/12:11:13

Message-ID: <20000429161650.15706.qmail@nw128.netaddress.usa.net>
Date: 29 Apr 00 10:16:50 MDT
From: Joseph Morris <b52g AT usa DOT net>
To: opendos AT delorie DOT com
Subject: Re: protecting DR-DOS from Windows
X-Mailer: USANET web-mailer (M3.4.0.33)
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA03577
Reply-To: opendos AT delorie DOT com

> DONALD PEDDER <jims_son AT jedi DOT apana DOT org DOT au> wrote:

> I am in the process of setting up my computer as a multi-partition,
> multi-boot one. The over-view is that I have a "DATA" partition which
> contains all my PERSONAL stuff,and DOS programs. i.e. stuff I want to
> BACKUP. All Windows stuff (most of which is installed from CD,and
> therefore doesn't need to be backed up) I install to a "PROGRAMS"
> partition.
>
> The point to this is that the "DATA" partition is then free to be under
> the control of the full suite of DR-DOS utilities since the disk isn't
> getting touched by Windows (diskopt and delwatch don't support
> long-filenames). I still have those partitions ("DATA" and the DR-DOS
> boot disk) visible to Windows so that I can still ACCESS that stuff,even
> though I won't be doing any updating while running under Windows (so
> that I don't leave any long-filenames on those disks).

> My problem is,Windows IS touching that disk. It keeps dumping a
> "recycled" directory onto the disk (which can only be removed by a
> re-format) with a "desktop.ini" in it (the file can be deleted,but not
> the directory). I don't know what particular operation is doing this.

Try this:

1. Remove the directory.  If you have Linux, root will be able to take out the
directory and associated LFNs.  If not, you will have to delete it with
Windows and use a tool to kill the orphaned LFN entries.
Recent versions of Norton for Windows (V4) have NDD v8 for DOS, which works
under DRDOS and will remove orphaned LFN entries for you.

2. Once the directory is removed, create a FILE called 'recycled', e.g.
echo Muahahahaha! > recycled

Windows can do whatever it likes but it will NOT be able to do pollute the
disk unless you write to it yourself while in Windows.

I've always intended to hack the Chris Jones LFN source to make a program that
seeks and destroys LFN entries for a given disk, but I haven't got around to
it yet.

> So,what I'm wondering - does anyone know how to make these partitions
> read-only to Windows? I looked in "properties" for the disks,but there
> was nothing like that there.

There was a rumour of a way to disable the LFN driver for some disks, but I've
never found out how.

Linux can mount a partition as either VFAT or MSDOS, so you can have LFNs for
some drives but not others, so you can still write to the disk with Linux and
not create any LFN entries by accident.



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019