It is actually a few simple commands. (1) after the USB flash disk is mounted and deleted and inserted into it, the command line will display and respond. In this case, use $ fdisk-l to view all the partitions and drive letters, and then $ mkdir/mnt/usb to create the directory to be mounted. My usb flash drive is always set to sda by default, so my mount command is: $ mount/dev/sda/mnt/usb to delete the usb flash drive. the command is: $ umount/mnt/usb (2) drive mounting and deletion creation
It is actually a few simple commands.
(1) mount and delete a USB flash drive
After the USB flash drive is inserted, the command line will display and respond. Use
$ Fdisk-l
View all partitions and drive letters
Then
$ Mkdir/mnt/usb
Create a directory to be mounted.
My USB flash drive is always set to sda by default, so my mount command is:
$ Mount/dev/sda/mnt/usb
The command to delete a USB flash drive is:
$ Umount/mnt/usb
(2) attach and delete the optical drive
Create a folder to be mounted:
$ Mkdir/mnt/cdrom
Mount:
$ Mount-t iso9660/dev/hdc/mnt/cdrom
Delete:
$ Umount/mnt/cdrom