views:

28

answers:

1

Simply, I'm just looking to get a list of connected remote disks.

I have a script right now that compares /Volumes/ to "diskutil -list" but that only gives me the name of the remote disks, not the actual address.

Anyone have ideas as to how I might go about doing this?

Thanks in advance.

A: 

getfsstat(2)

cdespinosa
interesting. I hadn't come across that function in my searches. I'm also having difficulty finding how to implement it? Any pointers?
Andrew J. Freyer
figured it out with trial and error. thanks.
Andrew J. Freyer