Q. How do I use USB Pen under Solaris UNIX?
A. Solaris does support USB devices including USB pen / key.
You need to use cfgadm command which is SCSI hardware specific commands. USB device emulated as SCSI hot-plug under Solaris
vold is Volume Management daemon to manage CD-ROM and floppy, ZIP/JAZ, USB and DVD-ROM devices. So you need to start/restart this device.
Procedure to mount USB pen
Login as the root user.
Next insert USB pen.
Type cfgadm to see if it detected or not:
# cfgadm
You should see something as follows:
... ... usb0/2.0 usb-storage connected configured ok ... ....
Now just create a directory called /rmdisk with mkdir command:
# mkdir /rmdisk
Now start vold daemon to pick up USB pen and mount to /rmdisk/rmdisk0
# /etc/init.d/vold start; volcheck
OR restart vold daemon
# /etc/init.d/vold stop
# /etc/init.d/vold start; volcheck
OR just kill and restart (same as above but less typing)
# pkill -HUP vold; volcheck
Task: Access my USB pen under Solaris?
To access your USB pen under /rmdisk/rmdisk0
# cd /rmdisk/rmdisk0
# ls -l
Use cp and other commands to copy files.
Read man pages of vold, volcheck, pkill, cfgadm for more information.
$ man vold
$ man volcheck
$ man pkill
$ man cfgadm
🐧 3 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Thank u for ur suggestion… i’m using the command # /etc/init.d/vold start; volcheck but some error occurs.. that is /etc/init.d/vold command not found.. can u suggess me any other alternative
Hi Prakash,
You’re probably under Solaris10, vold no longer exists, you have to use :
#svcadm disable volfs
#svcadm enable volfs
to check if volfs is online :
#svcs | grep volfs
it is very helpful to me