Jump to content

detecting unmounted devices on mac

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
nishad_kumar

nishad_kumar

    Newbie

  • Members
  • Pip
  • 2 posts
hi all,

i am working with cocoa -Objective c.

i want to detect unmounted devices programmatically using objective c. if anybody have knowledge about it please share it.

with thanks and regards

Nishad

#2
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
Such as Hard Drives and USB devices? You have to search the /dev in order to determine that.

#3
nishad_kumar

nishad_kumar

    Newbie

  • Members
  • Pip
  • 2 posts

Lop said:

Such as Hard Drives and USB devices? You have to search the /dev in order to determine that.

i want to detect devices like Hard disk and USB.we can get details of mounted devices from /volumes directory. but unmounted device details is not available there.