List physical disks
peachesncream
Posted messages
16
Status
Member
-
yg_be Posted messages 23437 Registration date Status Contributor Last intervention -
yg_be Posted messages 23437 Registration date Status Contributor Last intervention -
Hello,
I want to display all physical disks on Linux using the C language.
I have done some research but couldn't find a library function that does this. In console mode, there's ls, but how can I do it inside a procedure in C? And if you have references or documentation links, could you please share them with me? Thank you!
I want to display all physical disks on Linux using the C language.
I have done some research but couldn't find a library function that does this. In console mode, there's ls, but how can I do it inside a procedure in C? And if you have references or documentation links, could you please share them with me? Thank you!