Re: Get BSDName from drive name
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=E1qo7KUrm0bWE3AlxkPSf+Bqfh7cGIpzxDuA7dvhdf8=; b=Htv58qLDuVui4DOANM5GPO7XkEdmnsnwWvW3djzGEaPNAV2GoH58yb0tYbpIhkSDOz v1of8HSs1f1Z0xcMPbmdtu6/VzC3LXSpESxmWg8qoPz9yQlWQ0XkNCGpWhnzpzUFv+sa pcQGrBP2B7ydD5GWIYmvO+GHmfBAWb/RhBBY0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=EcCBZ3rmMY/gNif2OAW2KDFyKwe7I3uDS2/ImVC0y4fKiMYWBDJOThfNxBzs+OK9ao EV0y0OUZ39/rYn4sASJJ1pDeWYAD0aVgPolTx2ohoogrE5fqY2TJy9y54RdjqMqNBxbH tIJcFxBb5jb6mbYr+jcZkBvxjyCDfzip7dDFE= Thanks Terry. Regards rksinghal On Thu, Jan 8, 2009 at 4:59 PM, Terry Lambert <tlambert@apple.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rakesh Singhal