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

About mount on unix system

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Mount-t-o

There are two main types of option:

1) loop: Mount the device as a file

2) rw: read-only

Fs type includes

1) ext2, ext3, in fact, if you mount ext2 and ext3 formats unique to unix, you will directly mount

2) vfat (windows fat format), mount-t vfat-o loop

3) ntfs (windows nfts, but need to install rpm package of ntfs-3G), mount-t ntfs-3G

4) nfs (unix file network sharing fs, related files and services need to be configured)

Mount-t nfs-o rw ip:

IP refers to the IP of the unix server. It can also be a hostname, but it has to be written to the native hosts

5) smbfs (windows file network sharing fs, which is mounted on unix and needs to install the samba rpm package)

Mount-t smbfs-o username=123 password=123 ip/

Both username password and ip are on the windows server

6) CIFS (Unix file network sharing fs, which is mounted on windows, and cifs server IP and account are configured on nas)

The windows side logs in through\ CIFS_server name (IP)\ and enter the password.

*

Mount USB disk on Linux

First of all, if you insert a flash drive, it is mostly automatically mount to / media/.

If the USB disk format is fat32 and ntfs, mount as above. Pay attention to mount the block device / dev/sdx under fdisk-l

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