[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
How to get device name with device id?
- From: ashish mahamuni <ashitpro yahoo co in>
- To: ext3-users redhat com
- Subject: How to get device name with device id?
- Date: Thu, 20 Mar 2008 16:21:04 +0530 (IST)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]