Has anyone out there successfully written some C code
to utilize the mount() system function? I wish to attempt to mount a floppy
disk, and if any errors occur, such as a floppy disk
not in the drive, I wish to return these errors. I can
detect a write-protect tab through use of the errno system
variable, but if a floppy disk is not in the drive, it seems
that the program tries forever to mount it.
If after a period of time I inserrt a disk into the
drive, the program will detect it and successfully mount it.
Is there a way to tell mount() to stop after so many retries? I saw something
dealing with setting a softmount with the vfsmount () function.
Can I detect a condition where the floppy disk is not present in the
Please email me with solutions, code to: