How to get device name with device id?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I want to open a device(/dev/sda1, /dev/hda2 etc) in which my file exists.
I've used 'stat' system call to get the device id.

But now I want the device name from this id(st_dev).
How to get that one?
Or 
Do you have any other method to know the device name where my file resides?

Thanks 


      Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups  


_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux