Ubuntu automatically mounts the specified device

Source: Internet
Author: User
When ubuntu is started, it reads configuration information from/etc/fstab and automatically mounts the specified device according to the configuration in fstab. The fstab file has a certain format. The following is the output after cat/etc/fstab is executed: QUOTE: # etc/fstab: staticfilesystem...
When ubuntu is started, it reads configuration information from/etc/fstab and automatically mounts the specified device according to the configuration in fstab. The fstab file has a certain format. The following is the output after cat/etc/fstab is executed: QUOTE: # etc/fstab: static file system information. # proc/proc defaults 0 0 #/dev/sda3 www.2cto.com UUID = c0b4f709-047e-4315-a763-3dcff9cda95a/ext3 defaults, errors = remount-ro 0 1 #/dev/sda1/dev/sda1/media/windowsc vfat ro, utf8, umask = 007, gid = 46 0 0 #/dev/sda5/dev/sda5/media/windowsd vfat defaults, utf8, umask = 007, gid = 46 0 0 #/dev/sda6/dev/sda6/media/wind Owse vfat defaults, utf8, umask = 007, gid = 46 0 0 #/dev/sda7 # UUID = 4351-0615/media/windowsf vfat defaults, utf8, umask = 007, gid = 46 0 0/dev/sda7/media/windowsf vfat rw, utf8 0 0 #/dev/sda4 www.2cto.com UUID = fc036e2f-c252-436b-9abe-57c13d5f36db none swap sw 0 0/dev/sp_0/media/cdrom0 udf, iso9660 user, noauto 0 0 is shown in the comment in the fstab File (# The initial behavior comment row). each row contains a configuration item. each row can be divided into six columns, which are :, device location/file system location ., The destination location where the device is mounted ., The file system format in which the device is mounted to the target location, common File System formats include ext2 --- file system ext3 used in linux --- file system swap used in linux --- file system msdos used in linux swap partition --- files used in ms-dos operating system system vfat --- win-95/98/xp commonly used fat32 file system, in fact, it is also compatible with the file system used by fat16nfs --- win-2000/nt. Currently, linux only has the read permission for this file system, which is the cd-rom file system specified by iso. This article is from Linux Learning Network

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.