Removable media, more descriptive names

Posted on 2011-10-05
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.
Question by:bejhan
    LVL 39

    Accepted Solution

    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?:

    There you config which command to run on insert/remove
    default is rmmount:

    which on it's turn is using
    as config.
    (And if there is a volumename it should use this name (see man page for rmmount))
    LVL 1

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Title # Comments Views Activity
    NTP Server in VMware 5 88
    Updating Wheezy to latest distro 7 39
    Linux permissions in the context of web sites 9 72
    Sed question 2 25
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now