Mail Archives: djgpp-workers/1998/10/06/07:19:55
On Mon, 5 Oct 1998, Martin Stromberg wrote:
> > Did you notice that `getmntent' on plain DOS returns a bogus filesystem
> > name for floppies that were written with LFN support? Well, the
>
> How does this problem look? Any chance that the labels look like "Aw",
> "Ad" or similarly?
Exactly.
> Reason I ask is df says "Aw" instead of "DriveD" and DOZE's label
> program can't delete the label...
Because that's not a label, but a part of an LFN entry, and it has
hidden and system attributes set, so I guess LABEL panics.
Please try the patch I sent (compile mntent.c with -DTEST and see what
the test program prints for the same floppy where those funny labels
show). The patched version works for me, but additional testing will
never hurt ;-).
- Raw text -