how to get type of the drive(removable,fixed,eject) using ioctl and file descriptor

yogish

Registered
how to get type of the drive(removable,fixed,eject) using ioctl function and file descriptor?
i am able to get blocksize and number of block using ioctl function and file descriptor.
 
Back
Top