Quantcast
Channel: Библиотека знаний
Viewing all articles
Browse latest Browse all 1318

mount - Монтирование файловой системы

$
0
0

mount - Монтирование файловой системы

mount rw

  • mount -o remount,rw /

Ускорение файловой системы EXT2 - EXT4

  • В 4 секции /etc/fstab ввести ,noatime,nodiratime

Монтирование tmpfs

/etc/fstab

# Пример
none    /dev/shm   tmpfs    defaults             0       0
tmpfs    /tmp   tmpfs    defaults             0       0
chromium-cache   /home/USER/.cache/chromium   tmpfs    defaults,noatime,mode=1777,size=500M    0    0

Remote mount / Удаленое монтирование

mount -tfuse sshfs#root@hosting.reklamu.ru:tmp ./test
apt-get install sshfs
mount -tsshfd sshfs#root@hosting.reklamu.ru:tmp ./test
mount -tsshfs sshfs#root@hosting.reklamu.ru:tmp ./test
mount sshfs#root@hosting.reklamu.ru:tmp ./test

Монтирование tmpfs

/etc/fstab

# Пример
none    /dev/shm   tmpfs    defaults             0       0
tmpfs    /tmp   tmpfs    defaults             0       0
chromium-cache   /home/USER/.cache/chromium   tmpfs    defaults,noatime,mode=1777,size=500M    0    0

Размонтирование


Viewing all articles
Browse latest Browse all 1318