Re: Get BSDName from drive name
Re: Get BSDName from drive name
- Subject: Re: Get BSDName from drive name
- From: "Rakesh Singhal" <email@hidden>
- Date: Fri, 9 Jan 2009 18:52:49 +0530
Thanks Terry.
Regards
rksinghal
On Thu, Jan 8, 2009 at 4:59 PM, Terry Lambert <email@hidden> wrote:
> On Jan 8, 2009, at 2:17 AM, Rakesh Singhal wrote:
>>
>> Hi all,
>>
>> I have very small query. I want to get the BSDName of mass storage
>> device like perndrive.
>>
>> Ex. Name of pendrive is MyPenDrive and path is /Volumes/MyPenDrive and
>> now I want to get the BSDName (ex. disk1, disk2, disk1s1 etc) for it.
>
> getmntinfo(3)
>
> -- Terry
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden