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 use Fedora mount and Linux

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly shows you "Fedora mount and Linux how to use", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Fedora mount and Linux how to use" this article.

Fedora mount needs to be done in the Linux file system. If you want to complete the Fedora mount, you must have a certain foundation for the application of the Linux system. Fedora mount is a piece that is often used in the process of use. I take this opportunity to make a summary by the way.

Fedora mounts the file system. You must know the partition of the disk. Yes, the command is as follows:

# / sbin/fdisk-l

It should be noted here that administrative permissions are required to query. Almost all the basic information about the disk is given in the list. Before you want to mount a file system on Fedora, you need to know not only the partition of the disk, but also the kernel version of the system. This is a groundwork for NTFS partitions, because the early kernels did not support NTFS file systems. The command to view the system kernel is as follows:

Uname-a

If the kernel does not support the NTFS file system, you need to install a third-party kernel NTFS plug-in or edit the kernel to do so. Compiling the kernel is not mentioned here, so only the download address of the third-party plug-in is given here:

Http://linux-ntfs.sourceforge.net

Now that you know the available disk partitions, it's naturally the part of the Fedora mount that needs to be used. The mount command is generally used. The specific format is:

Mount-t file format-o option parameter disk partition mount point directory name

Here is an example. If you mount the / dev/hda1 of the NTFS file system to / mnt/winc, first create a winc directory under the / mnt directory, which can be done under the window interface or use the command:

Mkdir / mnt/winc

Then mount / dev/hda1 to / mnt/winc with the mount command, as follows:

Mount-t ntfs-o nls=utf8,umask=000 / dev/hda1 / mnt/winc

Where:

-t ntfs indicates that the file system format is ntfs

-o is a parameter option

Nls-utf8 indicates that Native Language Support (Local language support) is utf8, that is, language coding, so that the system can support Chinese display.

Umask=000 means that all user groups can read and write.

Another example of mounting a FAT32 file system is given. If / dev/hda2 in FAT32 file format is mounted under the / mnt/wind file, then:

First of all, set up a wind directory under the / mnt directory as the example above.

Then mount it with the mount command:

Mount-t vfat-o iocharset=utf8,umask=000 / dev/hda2 / mnt/wind/

After the file system Fedora is mounted, you can use the following command to check whether the Fedora mount is successful:

Df-lh

* mention the automatic Fedora mount when booting, which requires modification of the / etc/fstab file.

For example, you need to add the following line of code to the fstab file:

/ dev/hda1 / mnt/winc ntfs umask=000,nls=utf8

The above is all the contents of the article "how to mount Fedora and how to use Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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