Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265717

Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions)

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions)
Date 2024-01-09 18:20 +0100
Message-ID <HUnVD-1Wkd-5@gated-at.bofh.it> (permalink)
References (3 earlier) <HU5cl-1KEL-5@gated-at.bofh.it> <HUjp0-1TxD-5@gated-at.bofh.it> <HUjp0-1TxD-3@gated-at.bofh.it> <HUm3v-1Vce-3@gated-at.bofh.it> <HUmGd-1Vpw-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Jan 09, 2024 at 10:57:29AM -0500, Stefan Monnier wrote:
> >>What are you talking about? FAT does not get “overloaded” by long
> >>filenames.
> > Seen it happen;
> 
> I have serious doubts about the "it".
> 
> > Long filenames, mixed case, and files saved at the beginning of
> > a session of copying multiple files would be lost because the FAT was
> > filled, and overwritten from the start by files added later in
> > the session.
> 
> The FAT doesn't contain file names.  It has a fixed size and contains
> one "word" per block in the partition, and that word indicates simply if
> the corresponding block is free or not, and if not, what is the next
> block of the corresponding "file" (where that "file" may be also
> something like a directory).
> 
> The FAT doesn't get filled/emptied: it has the same size whether the
> partition is empty or full, because the partition contains a fixed
> number of blocks.
> 
> So, I don't doubt you have seen what you have seen, but whatever you
> have seen was not due to "the FAT was filled".

I gues we are talking about VFAT, otherwise the "long" filename doesn't
make much sense.

The LFS layer on top of FAT does have some limitations: "Because the
FAT LFN implementation is layered atop an older, more limited naming
system, there are inevitable complications, such as if an attempt is
made to create too many files with the same first six letters" [1].

Given the baroque construction of that thing (only Microsoft could've
come up with such a monster), I'd not be surprised if there were known
bugs kept around for backward compatibility.

So perhaps what Brad observed was a name collision in the underlying
("bare") FAT file system (I've seen that back then, Windows 3.1) or
some other strange inhabitant of that code biotope.

Cheers

[1] https://en.wikipedia.org/wiki/Long_filename
-- 
t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 17:20 +0100
  Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-08 17:30 +0100
    Re: playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 22:00 +0100
      Re: playing CDROM music questions Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-01-08 22:20 +0100
        Re: playing CDROM music questions Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-09 01:50 +0100
        Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-09 13:30 +0100
          Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-09 16:20 +0100
          Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions) Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-09 17:00 +0100
            Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions) David Wright <deblis@lionunicorn.co.uk> - 2024-01-09 17:10 +0100
              Re: [OFFTOPIC] Filling the FAT Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-09 21:40 +0100
                Re: [OFFTOPIC] Filling the FAT David Wright <deblis@lionunicorn.co.uk> - 2024-01-10 01:40 +0100
            Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions) <tomas@tuxteam.de> - 2024-01-09 18:20 +0100
      Re: playing CDROM music questions "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-01-09 03:50 +0100
      Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-09 13:30 +0100
  Re: playing CDROM music questions Michel Verdier <mv524@free.fr> - 2024-01-08 17:40 +0100
    Re: playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 22:10 +0100
  Re: playing CDROM music questions Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-01-08 17:40 +0100
    Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-08 17:50 +0100
      CD-DA sector addressing, was Re: playing CDROM music questions "Thomas Schmitt" <scdbackup@gmx.net> - 2024-01-08 20:10 +0100
    Re: playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 22:10 +0100

csiph-web