This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

List of HD devices


Hi All,

How can i get the list of the hard drive devices in C.

I just want to create a program to check for the quota of some users. and the quota file for each user is on different drives.

Som times it might be in sda1, some times in sdb1 and sdc1

Is there any library function to get the list of all devices or partitions in the server.

Regards,
Shameem


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]