?
Solved

Removable media, more descriptive names

Posted on 2011-10-05
2
Medium Priority
?
243 Views
Last Modified: 2012-05-12
I have vold running and it detects my removable media.

However, when creating symbolic links in /rmdisk the names are not helpful.
I just get names rmdisk0, rmdisk1, etc.

How do I go about getting vold to give more descriptive names (such as kingston_blahblah) so that I can identify which removable device is which.
0
Comment
Question by:bejhan
2 Comments
 
LVL 41

Accepted Solution

by:
noci earned 2000 total points
ID: 36923607
The udev automounter does try to use the volume label of the discovered device .

But vold & family are SunOS? right?

Did you check out the manual page of the config file for vold?:
http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?vold.conf+4

There you config which command to run on insert/remove
default is rmmount:   http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?rmmount+1

which on it's turn is using  http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?rmmount.conf+4
as config.
(And if there is a volumename it should use this name (see man page for rmmount))
0
 
LVL 1

Author Comment

by:bejhan
ID: 36925660
I am using Solaris 10, should have mentioned that in the question.

Okay so the symbolic links will always just be rmdisk0, rmdisk1, etc. It's the actual directories that will have the name, I thought it was the other way around.
I just see unnamed_rmdisk, etc. I'll try one of these in a windows box and see if is actually unnamed.

I'll post when I have some results.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question