Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
system:mount [2015/11/10 00:28] – создано mirocowsystem:mount [2019/10/25 01:18] (текущий) mirocow
Строка 1: Строка 1:
 {{tag>bash shell commands mount fs}} {{tag>bash shell commands mount fs}}
  
-====== mount ======+====== mount - Монтирование файловой системы ======
  
-  * [[system:mount:rw|]]+===== mount rw =====
  
-===== Remot mount / Удаленое монтирование =====+  * mount -o remount,rw / 
 + 
 +===== Ускорение файловой системы EXT2 - EXT4 ===== 
 + 
 +  * В 4 секции /etc/fstab ввести **,noatime,nodiratime** 
 + 
 + 
 +===== Монтирование tmpfs ===== 
 + 
 +/etc/fstab 
 + 
 +  # Пример 
 +  none    /dev/shm   tmpfs    defaults                   0 
 +  tmpfs    /tmp   tmpfs    defaults                   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   mount -tfuse sshfs#root@hosting.reklamu.ru:tmp ./test
Строка 16: Строка 33:
  
   mount sshfs#root@hosting.reklamu.ru:tmp ./test   mount sshfs#root@hosting.reklamu.ru:tmp ./test
 +  
 +
 +
 +===== Монтирование tmpfs =====
 +
 +/etc/fstab
 +
 +  # Пример
 +  none    /dev/shm   tmpfs    defaults                   0
 +  tmpfs    /tmp   tmpfs    defaults                   0
 +  chromium-cache   /home/USER/.cache/chromium   tmpfs    defaults,noatime,mode=1777,size=500M    0    0
 +  
 +===== Размонтирование =====
 +
 +  * [[system:umount]]
 +