Tuesday, November 11, 2008

Share files between Linux host & Linux guest on Virtualbox

Make Virtualbox know which folder you want to share
Devices -> Shared Folders -> Add New Shared Folder
Fill shared folder destination and its name for calling in the guest (Also tick read only or permanent as you wish)

In the guest's terminal
Create folder somewhere you want which the name as what you defined.
Use this command
sudo mount -t vboxsf [folder's name] [the path where the folder is at]

credit : Sharing Folders Between Host and Guest

Sunday, November 9, 2008

How to get USB work in Intrepid

The work around to enable USB in Intrepid is different from Hardy.

The way to do that is to add this below line in the bottom line of /ect/fstab file

none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

that is it!

credit : Intrepid/Virtualbox/USB

Clojure how to get JVM options from inside application

(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean)) Credit:  How to get vm arguments from inside of java applic...