Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need a vold expert

Status
Not open for further replies.

dobbyn

Programmer
Jan 23, 2002
120
US
I'm having a problem with vold when automounting CDs. I have two CDROMs with the same volume label. When the first CD is inserted into my Sun box, vold automounts it under the file system /cdrom/label. When the second CD is inserted, it gets automounted under the file system /cdrom/label#1.

If I kill vold and restart it, I can put either CD in the box and it will mount under /cdrom/label. Then the other CD will mount under /cdrom/label#1 again. So vold is keeping track of these in memory.

By running vold in debug mode, I see that it is computing an md4 signature, and it seems that because they are different it won't mount them with the same label.

Any ideas how I can get both CDs to be mounted under the same file system without having to restart vold each time? I've checked the man page for vold and vold.conf, but I don't see anything.
 
try looking at /cdrom/cdrom0

it should be a link to the current cdrom.
 
It does, however, the java program I am using is determining the actual directory (via something like a getcwd call), and is not working as a result of the "#". I need the CD to mount in the same file system to get everything to work properly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top