CD-ROM, USB stick mount

Source: Internet
Author: User

System Mount command

1. Query Mount Information

Mounted devices in Mount query system

2. Auto Mount

Mount-a automatically mounts based on the contents of the configuration file/etc/fstab

3. Mount command format

Mount [-t file system] [-o special Options] Device name mount point

-T File system: Add file type to make mount type, can be ext3 ext4 iso9660 and other file system

-O Special option: Additional options for mounting can be made

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

Example: mount-0 remount,noexec/home

4. Set up mount point

mkdir/mnt/cdrom/mount point is the empty directory in the system.

5. Mount the disc

Mount-t Iso9660/dev/sr0/mnt/cdrom

iso9660 This file format is CD-specific file format, you can omit the system will automatically recognize

/dev/sr0 and/dev/cdrom is a directory, CDROM is sr0 soft connection, two software can

Carriage return will appear after this line prompt: Mount:block device/dev/sr0 is write-protected, mounting read-only

This means that the disc can only be mounted as read-only permission and is understood as a hint. Actually the disc has been mounted successfully. Just look in the/mnt/cdrom.

6. Unmount the disc, theLinux system to remove the disc to be properly uninstalled to take out

Command: Umonut device file name or mount point

Uninstall when you want to exit the CD directory in order to uninstall.

Mount USB Drive

1. After inserting the USB drive, you need to see the hard drive identified in the system

Command: fdisk-l (Partition command, later say) find USB flash drive

2. Create a/MNT/USB mount point

3. Mount USB Drive

Mount-t Vfat/dev/sdb1/mnt/usb

Vfat32 FAT32 file system (up to 4g single file)

Note: The NTFS file system is not supported by default on Linux (unless you recompile the kernel or install ntfs-3g software)

Other commands

1. View the currently logged in user

W

W.H.O.

2. View all user login information for the system

Last query was/var/log/wtmp.

3. Last login information for all users

Lastlog


This article is from the "start from 0" blog, please be sure to keep this source http://0kaishi.blog.51cto.com/9457500/1679084

CD-ROM, USB stick mount

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.