Mail Archives: djgpp/1993/12/23/05:10:53
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
- Raw text -