i2C-6ULX-B carrier board has two USB Host interfaces (J5) are provided to connect various types of USB devices. Take a USB storage devices as an example, insert the USB storage device to the USB port, the system will prompt the discovery of USB devices, but also shows the current device in the Linux system device name sda. And the device has a partition, the corresponding device is sda1.
usb 1-1.1: new high-speed USB device number 4 using ci_hdrc usb-storage 1-1.1:1.0: USB Mass Storage device detected scsi host1: usb-storage 1-1.1:1.0 scsi 1:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6 sd 1:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB) sd 1:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA random: nonblocking pool is initialized sda: sda1 sd 1:0:0:0: [sda] Attached SCSI removable disk FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
The default system will automatically mount the USB device to the "/run/media" directory. Use the mount command to view the corresponding mount directory.
# mount /dev/root on / type ext4 (rw,relatime,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=89168k,nr_inodes=22292,mode=755) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /var/volatile type tmpfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) /dev/sda1 on /run/media/sda1 type vfat (rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
After the operation is complete, you can use the umount command to unmount the device and unplug the device.
# umount /run/media/sda1