04-03-2009
Assuming you have root:
- create a directory called /rmdisk (in the filesystem root) and give it permissions 755.
- restart vold
- insert USB stick
vold should now automount your USB device at /rmdisk.
Rember to use the 'umount' and 'eject' command before unplugging it so changes are flushed out to the media.
(Tested on Solaris 8 only, but should work for later versions.)
HTH,
n.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I need to make it possible to automatically copy files from an external usb hard drive to a directory when i plug it in....if you can point me in the right direction, i would be very grateful....thanks a lot. :confused: (0 Replies)
Discussion started by: backman4sakn
0 Replies
2. UNIX for Dummies Questions & Answers
Hi Folks,
I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.
Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an... (1 Reply)
Discussion started by: Slanter
1 Replies
3. OS X (Apple)
Does anyone know an easy way to mount an NTFS (NT File System) external backup drive R/W on OSX?
I use one backup drive for both my XP and OSX files via a USB interface.
On XP it mounts R/W.
On OSX it mounts Read Only :-(
I'm growing weary of using flash drives and burning CDs to... (4 Replies)
Discussion started by: Neo
4 Replies
4. Filesystems, Disks and Memory
Hello,
I am facing a hard disk drive reading problem since last one month and not able to resolve it.
The thing is I purchased external USB hard disk (seagate 40 gb) 2 years back.And uptil now its working perfectly fine. But suddenly one day I am not able to read my data. The problem goes like... (1 Reply)
Discussion started by: albertspade
1 Replies
5. Solaris
Is there a way to install Solaris 10 x86 with an external DVD drive that connects through the USB port? I would think I would run GRUB off of a floppy disk and somehow use that to make it look to the USB port to boot from but I don't know how to do that. Can anyone help me out? (1 Reply)
Discussion started by: Bradj47
1 Replies
6. Solaris
Hi,
I try to mount an external USB HD on a solaris 10 without any success.
Machine hardware: i86pc
OS version: 5.10
Processor type: i386
Hardware: i86pc
The HD is a zfs, but I installed this with a Ubuntu 8.10.
iostat -En displays this:
--> so the system... (0 Replies)
Discussion started by: edubidu
0 Replies
7. SuSE
Hi,
I am running Suse on a fujitsu server. The problem is that it will no fully load the usb external disk. When plugged in, dmesg shows that indeed a usb disk has been plugged in ,but gives no devpath e.g sda,sdb.
lsusb shows the disk vendor (western digital) but nothing else.Whats goin on... (2 Replies)
Discussion started by: ulemsee
2 Replies
8. Solaris
Hi-
I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform.
I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
Discussion started by: agfa_109
3 Replies
9. Slackware
Holla,
I have been trying to install a recent distro, with a minimum X such as jwm, but unfortunately my cdrom is broken and I can only boot the USB port, with a pendrive.
AMD K6 3D is today too old for being for linux.
Is there an image of slackware than runs that processor and that can... (5 Replies)
Discussion started by: raptor34
5 Replies
10. UNIX for Advanced & Expert Users
hi all,
I have a debian lenny 5.0 server without GNOME installed.
the server is at a customer's premise.
I want to backup data from the server to the external usb hard disk.
the backup will start at e.g 01:00 everyday.
the user will plug the drive before going home.
also the user will... (1 Reply)
Discussion started by: coolatt
1 Replies
vold(1M) System Administration Commands vold(1M)
NAME
vold - Volume Management daemon to manage removable media devices
SYNOPSIS
/usr/sbin/vold [-n] [-t] [-v] [-f config-file] [-l log-file] [-d root-dir] [-L debug-level]
DESCRIPTION
The Volume Management daemon, vold, creates and maintains a file system image rooted at root-dir that contains symbolic names for removable
media devices. These devices include CD-ROMs, floppies, DVDs, and USB 1394 devices. The default root-dir is set to /vol if no directory is
specified by the -d option.
vold reads the /etc/vold.conf configuration file upon startup. If the configuration file is modified later, vold must be told to reread the
/etc/vold.conf file. Do this by entering:
example# kill -HUP vold_pid
To tell vold to clean up and exit, the SIGTERM signal is used:
example# kill -TERM vold_pid
where vold_pid is the process ID of vold.
A disk storage device can not be removed or inserted while vold is active. To remove or insert a removeable mass storage device such as a
USB memory stick, first stop the daemon by issuing the command /etc/init.d/volmgt stop. After the device has been removed or inserted,
restart the daemon by issuing the command /etc/init.d/volmgt start.
OPTIONS
The following options are supported:
-n Never writeback. Volume Management updates media labels with unique information if labels are not unique. This flag keeps
Volume Management from changing your media. The default setting is FALSE.
-t Dump NFS trace information to the log file. The default setting is FALSE.
-v Provide lots of status information to the log file. The default setting is FALSE (do not provide status info to log file).
-d root-dir Specify an alternate root directory. The default location is /vol. Setting this will also cause other Volume Management
utilities to use this as the default root directory.
-fconfig-file Specify an alternate configuration file. The default file is /etc/vold.conf.
-llog-file Specify an alternate log file. The default log file is /var/adm/vold.log.
-Ldebug-level Change the level (verbosity) of debug messages sent to the log file. The range is 0 to 99 where 0 is nothing and 99 is
everything. The default level is 0.
ENVIRONMENT VARIABLES
vold sets the following environment variables to aid programs which are called when events such as insert, notify, and eject occur:
VOLUME_ACTION Event that caused this program to be executed.
VOLUME_PATH Pathname of the matched regex from the vold.conf file.
VOLUME_DEVICE Device (in /vol/dev) that applies to the media.
VOLUME_NAME Name of the volume in question.
VOLUME_USER User ID of the user causing the event to occur.
VOLUME_SYMNAME Symbolic name of a device containing the volume.
VOLUME_MEDIATYPE Name of the type of media (CD-ROM, floppy or rmdisk)
FILES
/etc/vold.conf Volume Management daemon configuration file. Directs the Volume Management daemon to control certain devices, and
causes events to occur when specific criteria are met.
/usr/lib/vold/*.so.1 Shared objects called by Volume Management daemon when certain actions occur.
/var/adm/vold.log the default log file location (see the -l option for a description).
/vol the default Volume Management root directory.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWvolu |
+-----------------------------+-----------------------------+
SEE ALSO
volcancel(1), volcheck(1), volmissing(1), rmmount(1M), rpc.smserverd(1M), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS)
System Administration Guide: Basic Administration
SunOS 5.10 13 Sept 2004 vold(1M)