Date: Tue, 6 Oct 1998 14:19:59 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: DJGPP-WORKERS Subject: Re: getmntent and bogus disk labels In-Reply-To: <199810050727.JAA03764@mars.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com 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 ;-).