Hook Command (Mount)First, introduce the use of the Hook (Mount) command, the Mount command parameters are very many, here is the main point we want to use today.Command format: Mount [-t vfstype] [-O options] Device dirwhich1.-t vfstype Specifies the type of file system, which is not usually specified.
Run CAT/proc/partitions to check the partitions in the system. After plugging in the USB flash drive, run the preceding command again to see what partitions are added. This is generally sda1.
1. Insert a USB flash drive
2. Input fdisk-L/dev/SDA to view the output result. For example, mine is like this:
[Root @ leason-laptop proc] # fdisk-L/dev/SDA
Disk/dev/SDA: 2004 MB, 2004877312 bytes
247 heads, 62 sectors/track, 255 Cylinders
Units = cylinders of 15314*512 = 7840768 bytes
Device boot start en
Run the command CAT/proc/partitions to see which partitions are in the system before the http://linux.chinaunix.net/techdoc/install/2008/05/31/1008467.shtml hangs on the USB flash drive. After plugging in the USB flash drive, run the above command again to see what extra partitions are available (generally sda1, PS is sdb1 because it is occasionally installed on the virtual machine ).
1. Insert a USB flash drive
2. Input fdisk-L/dev/SDA to view the output result. For example, mine is like this:
Drive mount points, which can also be called volume mount points. A mount point is actually an operating system or user-set that is used to enter a logical drive or a volume entry. After you set a mount point for a volume, the user or application can use the volume label or the specified
file system-t {EXT2,EXT3,EXT4} Specify file system-B {1024,2048,4096} specify block Size-l LABEL Specifies the volume label-j equivalent to-t ext3-i # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Create Innode 5% of space. Reserved block count reserved blocks. Default Reservation 5%4. MountingIn the Linux system, the new partition format is not ready to use directly, you need to "mount" to use. This is not like Windows. Linux hierarchical
1. The mount point must be a directory.
2. A partition is mounted on an existing directory, which may not be empty, but the previous contents of this directory will not be available when it is mounted.
This is also true for the mounting of file systems built by other operating systems. However, it should be understood that the format of the file system used by the CD, floppy disk, and other operating systems is different from the file system format u
Mount [-t vfstype] [-O options] Device dir
which
1.-t vfstype Specifies the type of file system, which is not usually specified. Mount automatically selects the correct type. Common types are:
Optical or optical Image: iso9660
DOS FAT16 file system: MSDOS
Windows 9x FAT32 file system: VFAT
Windows NT NTFS file system: NTFS
Mount Windows file network share: SMBFS
Name: mount permission: System Administrator or user allowed in/etc/fstab: mount [-hV] mount-a [-fFnrsvw] [-tvfstype] mount [-fnrsvw] [-ooptions [,...] device | dirm... name: mount
Permission: System Administrator or user allowed in/etc/fstab
Usage:
This article describes the use of the Mount command, as well as tips on how to image files, removable hard disks and USB drives.One, Mount command (Mount)How to use the Attach (Mount) command.Command format:Copy CodeThe code is as follows:Mount [-t vfstype] [-O options] Device dirwhich1.-t vfstype Specifies the type of
/wyfs02/M02/7F/2E/wKioL1cWAz6jeV_pAABSQejCr0M102.png "style=" float: none; "title=" 4.png "alt=" Wkiol1cwaz6jev_paabsqejcr0m102.png "/>Specify the disk name to complete650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/2E/wKioL1cWAz7QQC1nAABQiYKtYns421.png "style=" float: none; "title=" 5.png "alt=" Wkiol1cwaz7qqc1naabqiyktyns421.png "/>After you create a new disk, start the virtual machineViewing the current Mount situation650) this.width=
the question Yes,-f: Mandatory detection, Example: E2fsck-y-f/dev/sdb1), mkfs-t vfat You can create a FAT32 file system, swap a partition: Swap to alleviate the physical memory resource is not sufficient to use the situation; Mkswap [-L LABEL] DEVICE: Example: Mkswap-l swap1/dev/sdb2 (note that you need to modify the partition type to swap type before creating With Fdisk)8.3.5, mount mount a device or file
Command function mountMountCommand format: Mount [-t Vfstpye] [-o optins] device dirwhich1.-t vfstype Specifies the type of file system that is not normally specified. Often types:Disc or disc Image: iso9660DOS FAT16 file system: MSDOSWindows FAT32 file system: VFATWindows NTFS: File system: NTFSMount Windows file network share: SMBFSLinux file network share: NFS2.-o options are primarily used to describe the way devices or files are hung. The commonl
Dfviewing system partitions and usageHow to use:Df-h (automatically according to the size of the unit to fit the display)Df-i (view inode usage)FreeView Swap partition UsageDuView the specified directory size (space-consuming size)How to use:Du-h/etc/(view/etc/directory size, including self-directory size)Du-s/etc/(view/etc/directory or file size, not including subdirectory size)FDISK (partitioning the disk)How to use:Fidsk-l (View the current partitioning situation)fdisk/dev/sdb/(Partitioning t
I tried the first method. Note that the remote host. Ssh/authorized_keys needs to be generated through the ssh-keygen gesture. The previous steps were successful, but the configuration was still not successful after the instance was started.
After the password is removed, an executable file is directly created in the main folder.
#/Bin/sh
#
# Mountsshfs Mount SSH filesystems.
#
# Version: @ (#) mountsshfs 1.00-1 15-apr-2005 andot@ujn.edu.cn
#
Path
If you need to copy a file from a second hard disk, which is formatted as a UFS 2 file system, how do I mount a ufs 2 file system created by FreeBSD onto the Ubuntu system?UFS file systems are widely used in different operating systems (for example: Hp-ux,sun Solaris), including FreeBSD. The following syntax is used to mount the Mount UFS 2 file system:Mount-t Uf
Mount is mounted. mounty11 is not mounted successfully.
Mount
1 mount
Basic Concepts
Mount: Associate the additional file system with the existing Directory of the root file system, so that this directory is used as the behavior for accessing other files to the database.
Unmount: The process of disassociation
Note: The
This article only discusses the execution of the Mount system call (based on Linux-3.4.51) after executing the "Mount none/mnt/huge-t hugetlbfs" command, and does not involve process-related details.The kernel implementation of the Mount system call:1Syscall_define5 (Mount,Char__user *, Dev_name,Char__user *, Dir_name,
, in fact, the bottom is through the CPU NAND Flash controller to achieve NAND flash read and write.
Fig. 1.2 NAND device with only one root node
In the Linux boot-linux 3.10 kernel and the virtual file system (VFS)-based on linux3.10, the loading process and the file system mount are described separately, and some of these pointcuts originate from these two articles.
The first is the Start_kernel () function, which is described in the startup, which
Part 1: Mount operation: 1 mount: 1 after a file system is created for a disk or partition, it must be mounted to a directory for use. 2 Windows or mac systems will be automatically mounted, after a file system is created, it is automatically mounted to the system. disks C and D are called windows.
Part 1: Mount operation:
I.
Tags: Windows Linux Information
The Linux file system combines all the media disks into a virtual directory. before using the new media disk, you need to put it in a virtual directory. This task is called mounting!
Mount command: used to mount Media
[[Email protected] ~] # Mount
/Dev/mapper/VolGroup00-LogVol00 on/type ext3 (RW)
Proc on/proc type proc (R
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.