Re: OLD kernel BUG with volume label? (MS works, 2026..2027rc not)

Bart Oldeman <[email protected]> Mon, 04 Nov 2002 19:25:14 -0500 (EST)
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Tue, 5 Nov 2002, Aitor Santamaria Merino wrote:

> Arkady V.Belousov wrote:
>
> >EA> LWINFO.pas uses
> >EA> FindFirst("X:\*.*", VolumeID, Info);
> >
> >     It should use VolumeID+AnyFile to find labels with any other attribute
> >set.

Do you (Arkady) have any reference that documents that this is necessary?
VOLID+RDONLY+SYSTEM+HIDDEN is surely illegal as volume label, because
it's an LFN id.

> Although in principle it doesn't make sense, I have recently read
> somewhere (snippets?) that you should also check that the returned file
> actually has the VolumeID attribute... but don't ask me why (?)

DOS 2.x behaviour. DOS 3.0+ will only return the volume label.

Bart