The format of the mount command:
mount -t type device directory
type indicates the format of the file system in the device to be mounted:
vfat: Windows Long file system
ntfs: Advanced file system widely used in Windows NT and Windows 7
iso9660: Standard cdrom file system
The file format of general U disk is: vfat
(Recommended learning: linux video tutorial)
The default CD device is under /dev/cdrom. To the point where you want to mount it, you can create a new folder at will, so basically The command is as follows:
Create a new folder cdrom in the /root directory
mkdir cdrom
Mounting command:
mount -y iso9660 -o ro /dev/cdrom /root/cdrom
Recommended related tutorials: CentOS usage tutorial
The above is the detailed content of How to mount a CD in centos. For more information, please follow other related articles on the PHP Chinese website!