realbasic-nug
[Top] [All Lists]

Re: Finding Ejectable Volumes.

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Finding Ejectable Volumes.
From: Stefan Pantke <seaside dot ki at mac dot com>
Date: Tue, 23 May 2006 20:15:20 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060523161033 dot 17E1D1296E9A at lists dot realsoftware dot com> <27EF305E-4049-497F-B82D-1B9753DD4D81 at aztech4mac dot com>

On OS X, you might wish to review the mount command:

>>>
SPC:~ sp2$ mount
/dev/disk0s2 on / (local, journaled)
devfs on /dev (local)
fdesc on /dev (union)
<volfs> on /.vol
automount -nsl [216] on /Network (automounted)
automount -fstab [224] on /automount/Servers (automounted)
automount -static [224] on /automount/static (automounted)
/dev/disk1s0 on /Volumes/DBcdS06 (local, nodev, nosuid, read-only)
<<<

Maybe some switches print the required details.

Am 23.05.2006 um 19:37 schrieb Craig Hoyt:

Thanks Emile and Kurt,

I actually did do a search in the archives. Here's what I found. There was a stellar example provided by Dave but his solution required a plug-in to pass RB volume #'s (untested!). I need to keep this plug-in free. Charles also made a cryptic comment stating that one should use: Volume(Index).ShellPath as a method. I found nothing in the RB Docs to support this. Please point me in the direction if I have missed something. It seems that RB's Volume class is missing quite a few properties that would make it completely usable.

Craig

Another possible way is to make a search of the one already sent to this
list using the List Archive(link at the bottom).

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>