Date: Thu, 23 Dec 93 09:03:20 +0100 From: joep AT ichsun6 DOT ich DOT nl (Joep Jansen) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Problems with unlink(), getmntent() library routines I encountered some difficulties when trying to port the FSF file utilities (3.9) to djgpp. 1. The unlink() system call does not remove read-only files. This is different from the Unix unlink, which will remove RO files when you own the file. I was able to work around the problem by first making the file writable (using chmod(pathname,W_OK). 2. My system has logical drives A:, B:, C: and E: getmntent() fails to retrieve E:. Apparently, this is because there is no drive D:. When I add a RAMDRIVE D:, E: becomes visible. The requirement that drive letters are sequential is wrong. 3. The requirement that floppies must have a volume label in order to be recognized by getmntent() is rather restrictive. Is there a way to get information on an untitled floppy? I cannot offer patches for these problems, because I do not have the library sources. Regards, Joep Jansen