delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/02/23/05:30:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <do_not_have AT notreplytome DOT cmm>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: VirtualBox DOS how can I copy a piece of tree?
Date: Wed, 23 Feb 2011 05:18:39 -0500
Organization: Aioe.org NNTP Server
Lines: 59
Message-ID: <ik2mn2$kb2$1@speranza.aioe.org>
References: <566325 DOT 51644 DOT qm AT web45105 DOT mail DOT sp1 DOT yahoo DOT com> <ijsncq$stf$1 AT speranza DOT aioe DOT org> <4f137927-e686-40d7-a2af-55533dcb70b8 AT t13g2000vbo DOT googlegroups DOT com>
NNTP-Posting-Host: sg0uvLzlDfZOqmCSVnJXCA.user.speranza.aioe.org
X-Complaints-To: abuse AT aioe DOT org
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001
X-Notice: Filtered by postfilter v. 0.8.2
X-Newsreader: Microsoft Outlook Express 6.00.2800.2001
X-Priority: 3
X-MSMail-Priority: Normal
Bytes: 3643
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Rugxulo" <rugxulo AT gmail DOT com> wrote in message
news:4f137927-e686-40d7-a2af-55533dcb70b8 AT t13g2000vbo DOT googlegroups DOT com...
> > IMO, the easiest method to copy a directory and it's subdirectories is
> > LCOPY. But, this is for normal DOS.
> >
> > LCOPY is a LFN (Long FileNames) copy program written by Ortwin "Odi"
> > Glück (or Glueck).
>
> It has problems with my P4's FAT32 recovery partition.
>

Extended ?  Too large ?

Win98SE won't recognize a 48GB FAT32 partition I just created on a 500GB
external USB harddisk.  MS' "corrected" FDISK won't recognize it either,
pre- or post-partitioning...  Supposedly, the fixed FDISK from MS handles
upto 550GB.  NOT!  It's not even close.  It recognized 11GB maximum and
wouldn't allow partitions larger than that, i.e., major computation error...
FreeDOS' FDISK handled it OK though.  Whew!  But, *neither* of them would
/MBR on a non-boot, non-C drive ... which was a PIA.  FreeDOS' FDISK also
wouldn't FDISK/MBR the drive even as a the booted C drive!!!  ARGH!  Really
FreeDOS guys?  Ok, "I'm just about to cry..."  I seriously thought I was
going to have to install the MBR from Linux, or partcopy a good MBR to a
floppy and back.  Fortunately, MS' FDISK did handle /MBR once the drive was
physically reconfigured as boot.  I guess MS wins one.  Sorry, FreeDOS.  I
would've expected FreeDOS' to /MBR to a non-boot drive since they also
removed the partition verify part of FDISK *and* allow non-boot drive
partitions to be marked active, but NOooo...  Apparently, *nobody* thought
about that one.  Do the FreeDOS guys even use DOS or FreeDOS?  How can they
*not* run into that situation?  I.e., needing to /MBR a non-boot drive?
Cuz' it had a Linux MBR, that's why...  If there was a partition verify in
FreeDOS' FDISK, would've been _painfully_ slow.  It took an hour just to
format the 48GB partition.  That is just 1% of the total drive space, and
it's not even close to the size of a new multi-TB drive.  I can't even
imagine my psychological grief if I had chosen some larger partition size.

> FreeDOS can
> read/write it, apparently, but LDIR doesn't work. I forget exactly
> why, something silly (odd sector count??).
>

FreeDOS error... ?

It's possible Odi's tools use "undocumented" internal DOS structures to get
LFN support.  *If* so, then FreeDOS may not have the necessary, compatible
internal structures...

> Anyways, Odi long ago abandoned it, but you can find it on SourceForge. I
think he used Borland C (5.x?).
>

IIRC, it was MSVC 1.52c, the final 16-bit version.  (Don't quote me...)

So, uh, I guess that makes LCOPY a one-liner... ;-)


RP


- Raw text -


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