As of VirtualBox 2.0.4, shared folders are still not supported for Solaris guests. However, you can still share data with your host operating system using SMB. In this example I'll explain how to set up the share on Mac OS and access it from OpenSolaris.
Step 1: Configure Mac OS to share files
Open the Sharing system preference and set File Sharing to On:
Click the Options button and select Share files and folders using SMB:
Note down your Mac's IP address, which you can find from the Network Utility. In my case is 10.0.1.186:
Step 2: Access the share from OpenSolaris
Select Network from the Places menu, which will probably only show a Windows Network icon. Click the pencil icon in the Location Bar and enter the following string: smb://<ip address of Mac OS host>
. For example:
And you should see your share. Note, unless you've changed the default permissions, you'll only have read access.