Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the mount problem of Ubuntu 8.04

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to understand the mounting problem of Ubuntu 8.04. the article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Ubuntu 8.04 can improve the performance of more convenient use. Here's how to talk about Ubuntu 8.04. In Ubuntu 8.04, the default boot is not automatically mount the disk, for example, my machine, there is a 80g hard disk, using 10g to install Ubuntu 8.04, the rest of the disk as a mount disk, generally do backup things, download files distribution center.

After relearning the / etc/fstab section, it is finally possible to let the system mount the disk automatically when it boots up.

Specific methods:

Query disk uuid

Ls-al / dev/disk/by-uuid

Total dosage

0drwxr-xr-x 2 root root 120 2008-05-03 08:02.

Drwxr-xr-x 5 root root 2008-05-03 08:02..

Rwxrwxrwx 1 root root 10 2008-05-03 08:02 084C-084D->.. / sda4

Lrwxrwxrwx 1 root root 10 2008-05-03 08:02 93b32f8a-9284-455c-9e68-319d38f7970f->.. / sda3

Lrwxrwxrwx 1 root root 10 2008-05-03 08:02 ea5e6210-b4c9-45e5-b6c4-f904156d3954->.. / sda1

Lrwxrwxrwx 1 root root 10 2008-05-03 08:02 ffe6dd79-73c0-4d9f-8b8c-7ec1036ee270->.. / sda2

Basic principles of mounting:

Ubuntu 8.04 uses mount to mount a device under / dev to / media, similar to the ln-s command

For example, there are four disks under my / dev, which are

Sda1 swap

Sda2 / home

Sda3 /

Sda4 fat32

Mount / dev/sda4 / media/disk

Ubuntu 8.04 is mounted in this way

But what if you want to write this command into / etc/fstab and let the system recognize it and mount it?

You can join a line.

/ dev/sda4 / media/disk vfat user,auto,umask=002,gid=1000,utf8 00

Where vfat refers to the fat32 format, utf8 is the encoding format, umask is the specified access permission, and gid is my user id.

Written in uuid format

Ubuntu 8.04 UUID=084C-084D / media/disk vfat user,auto,umask=002,gid=1000,utf8 00

If the disk is mounted in ntfs format, it should be written as (reference)

UUID=084C-084D / media/disk ntfs user,nls=utf8,umask=0222,gid=1000,auto 00

The above is the editor for you to share how to understand the Ubuntu 8.04mount problem, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report