Get the App
SLTechnology News&Howtos  ›  Servers  › 

About mount on unix system

Shulou Source: shulou.com Published: 2022-06-02 22:19:22 09月22日 Update

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

Tags: File format service network device configuration host actual actual password end network account local login input system Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Linux Shulou Technology MariaDB Shulou Information