Ubuntu7.10 system folder

Source: Internet
Author: User
Article Title: Ubuntu7.10 system folder. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Ubuntu and windows are a little different. Unlike windows, there are C, D, and E disks, but a bunch of folders.
 
The root directory is/
 
There are 20 folders and 2 files below. I don't know if everyone is the same.
 
The names of the 20 folders are:

Bin boot cdrom (connection) dev etc home initrd lib loft + found media mnt opt proc root sbin srv sys tmp usr var
 
The other two files: initrd. img vmlinuz are shortcuts. The above cdrom is also a shortcut.
 
Bin should be the root directory. There is a soft drive in media, and the mobile hard drive is also in the media folder. Home is the desktop of each user. After playing for a day, I think ubuntu is quite interesting!
 
Updeta:

Wiki.ubuntu.org.cn
 
Different from operating systems that create a file tree for each disk, the entire file system in Linux is a huge tree structure. The top is/(Root). All folders, files, and drive disks are the Root branch.
 
For example, suppose you have two hard drives (named a and B), one floppy disk drive and one CD-ROM. The first hard disk has two partitions (named a1 and a2 ). In Windows, the Organization is as follows:
 
+ Hard disk a, partition 1 (hda1): Drive C
 
+ Hda2: D Disk
 
+ Hdb1: edisk
 
+ Soft drive: Drive
 
+ Optical drive: F drive
 
In Linux, you only have one file system, not the five listed in Windows. Each disk is mounted to this tree structure, which is similar to a folder. The organization of each disk is as follows:
 
+ Hda1:/(our Root)
 
+ Hda2:/home
 
+ Hdb1:/home/user/music
 
+ Soft drive:/mnt/floppy
 
+ Optical drive:/mnt/cdrom
 
Both the D and E disks are attached to the C drive, so you do not need to go back to the top to switch between different disks. All these changes are the same as moving from one folder to another. This is also true for both the software drive and the optical drive. They are all attached to the/mnt directory as part of the file system. In fact, these disks can be loaded almost anywhere in the Linux system, depending on the setup program or the user's settings for the/etc/fstab file, which tells the computer, partitions and so on.
 

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.