Mount of linux commands
Anyone familiar with linux should know the mount command.
In linux, everything is a file. Hard Disk Partition exists as a file directory.
If we want to access a mobile hard disk or a USB flash drive, we must mount these devices
In a linux File System Directory, we can access
Rong.
The general format of the mount command is:
Mount [-t filetypes] [-o option] mount directory of the device to be mounted
You do not need to specify filetypes. mount automatically selects an appropriate file type for us.
The types of filetypes include:
CD or CD image: iso9660
DOS fat16 File System: msdos
Windows 9x fat32 File System: vfat
Windows NT ntfs file system: ntfs
Mount Windows File network sharing: smbfs
Network Sharing for UNIX (LINUX) files: nfs
Command Options include:
Loop: used to connect a file to the system as a hard disk partition.
Ro: mounting a device in read-only mode
Rw: mounting a device in read/write mode
Iocharset: Specifies the character set used to access the file system
For example, attach a CD image:
Create a mount directory:
# Mkdir/mnt/vcdrom
Mount the mydisk. iso file in the home directory to/mnt/vcdrom of the iso9660 type.
# Mount-o loop-t iso9660/home/sunky/mydisk. iso/mnt/vcdrom