Get a physical hard disk serial number under Linux
No .: QA004753 Date: November 8, 2003 Date: November 8, 2003 Category:
C / C - Disk, files and directories
Q Anonymous: REDHAT 7.2 Linux kernel 2.4.18 Programming Tool: GCC Problem: I hope to get the following code (not a logical disk) at the Redhat 7.2 Linux core 2.4.18 attempt (compiled with GCC) ), However, when running, ending: "segment fault" requests you, thank you very much! / / =========================================================================================================================================================================================== ======== #include
A Answer: Add IOPERM (0x1f0, 16, 1) at the beginning of Readide;
This issue is replied by CNGB.
Additional Keywords: Programming, Source Program, Programming, Source Code, C / C , MFC, C Builder, Borland C , Turbo C, C, BCB, Disk, File, Directory, DISK, File, Fat, Directory, Folder.