Hi guys. I am relatively new to C/C++. I need a C program to print out all the information (stats) of a floppy disk, such as sectors per track,number of file allocation tables,maximum entiries in root directory,sectors per file allocation table and so forth. Additionally the program should also be able to allow for getting the names of files and directories in the root directory. I would appreciate any help anyone out there may be able to give me. Its basically for a much bigger LINUX project I am doing for my final univeristy project.

Have you tried browsing the source for the Linux fdformat for ideas? It does all of that stuff, IIRC.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.