www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/08/17:58:31

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3C3B78BA.D14D8A8E@phekda.freeserve.co.uk>
Date: Tue, 08 Jan 2002 22:54:50 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP newsgroup <djgpp AT delorie DOT com>
Subject: Re: c++ with djgpp without long filenames
References: <f5n61a DOT ihb DOT ln AT colin DOT ursa DOT de> <6ml91a DOT laj DOT ln AT colin DOT ursa DOT de> <3C3875A9 DOT 6DC12CC1 AT yahoo DOT com> <7263-Sun06Jan2002190540+0200-eliz AT is DOT elta DOT co DOT il> <3C38A367 DOT D5FC4CA8 AT yahoo DOT com> <utlf1a DOT m15 DOT ln AT colin DOT ursa DOT de>
Reply-To: djgpp AT delorie DOT com

Hello.

Dirk Groeneveld wrote:
> I downloaded the archives drom the djgpp page and unzipped them on my
> linux box, on a reiserfs partition, with long filenames. Then I copied
> the (unzipped) files to a bunch of floppy disks that were formatted
> fat16. So I figure that the fat16 driver mistruncated the filenames,
> and actually it's the linux kernel that is to blame.

> I did it that way because the only way to get things into the actual
> destination machine is via 1.44MB floppy disk. I can't do a thing about
> this. And since some of the zip files are bigger than 1.44MB I unzipped
> them to get smaller chunks.
[snip]

How did you mount the floppy disk? Like so?

    mount -t vfat /dev/fd0 /mnt/floppy

If you mount it as type 'vfat', then Linux will create both the long and
short filenames on the disk. Perhaps you should mount it as type 'msdos'
to get the truncated name rather than a name with numeric tails? Or try
the 'nonumtail' option for vfat? See the 'mount' man page for more details
("man mount").

HTH, regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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