Use a USB storage device in Solaris

Source: Internet
Author: User
Article Title: Use a USB storage device under Solaris. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems 1. Earlier versions of Solaris vold cannot detect hot swapping immediately. You need to restart vold to identify it:
 
Insert the usb flash drive into the usb port and restart vold. vold will automatically mount the usb device:
 
#/Etc/init. d/volmgt stop
 
#/Etc/init. d/volmgt start
 
/Rmdisk/rmdisk0 may be the USB flash drive mounted. If not, check/rmdisk/rmdisk1,/rmdisk/rmdisk2 ......
 
2. Directly query the device path and mount the device:
 
If the USB device already has a file system and Solaris supports the file system, you can mount the file system directly. Taking the FAT32 file system as an example, you must first understand the path of the USB device:
 
# Rmformat
 
Looking for devices ......
 
1. Logical Node:/dev/rdsk/c3t0d0p0
 
Physical Node:/pci @ 151/pci1028, @ 1d, 7/storage @ 4/disk @
 
Connected Device: hts000004 0M9AT00
 
Device Type: Removable
 
Then, mount the device directly (taking FAT32, that is, PCFS format as an example ):
 
# Mount-F pcfs/dev/dsk/c3t0d0p0: c/mnt
 
C In c2t0d0p0: c refers to the first partition of the c2t0d0p0 device. You can also use c2t0d0p0: 1 for mounting. The effect is the same.
 
Before detaching a USB flash drive, make sure that the mount directory is not in use:
 
# Umount/mnt
 
# Eject rmdisk0
 
Or,
 
# Umount/mnt
 
# Eject/dev/rdsk/c3t0d0p0
 
It should be noted that Solaris currently supports only ufs, hsfs (for CD), pcfs (for DOS, Windows FAT32) and udfs. if your USB device is FAT or NTFS, it cannot be used now.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.