mounting windows partitions
i'm trying to write a programe that automatically mounts all available windows partitions.
please tell me how can get information about windows partitons.Is there
any file in linux which has information about windows partions.
Is there any function available in c for mounting devices or i have to use the bash script for this purpose.
the command for this purpose is
mount -t vfat /dev/hda1 /mnt/c
But the problem is that how can i know that c drive on windows is hda1 on linux and what are the names of other drives.
|