Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

CD Emulator?

Thread view: 
simpleinventor@gmail.com - 28 Apr 2006 11:17 GMT
Does anyone have code to mount a single virtual CD, like daemon tools
would? Would only need it to mount an ISO (but the program is going to
actually be embedded into a website, as part of a fileserver.) Thanks!
Gordon Beaton - 28 Apr 2006 16:05 GMT
> Does anyone have code to mount a single virtual CD, like daemon
> tools would? Would only need it to mount an ISO (but the program is
> going to actually be embedded into a website, as part of a
> fileserver.) Thanks!

Since you use the term "mount" I'll assume you're using Unix or simlar
OS. AFAIK most such platforms can mount ISO-files just fine, perhaps
by specifying an extra flag for the mount command:

 String[] mountCmd = {
    "mount",
       options,
       filename,
       mountPoint };
 Runtime.getRuntime().exec(mountCmd);

/gordon

Signature

[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

Alun Harford - 28 Apr 2006 23:14 GMT
> Does anyone have code to mount a single virtual CD, like daemon tools
> would? Would only need it to mount an ISO (but the program is going to
> actually be embedded into a website, as part of a fileserver.) Thanks!

If you're working on a Unix system, it's trivial (just runexec the mount
command - most systems can just mount ISOs).
If you're using Windows, you're going to have to code a driver (ie. not use
java). Or use daemon tools and runexec the command to mount the ISO.

Alun Harford


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.