meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:fstab [2024/06/18 09:10] niziaklinux:fstab [2024/10/26 18:57] (current) niziak
Line 8: Line 8:
  
 </file> </file>
- 
-===== sshfs ===== 
- 
-[[https://git.launchpad.net/ubuntu/+source/sshfs-fuse/tree/ChangeLog.rst|sshfs Changelog]] 
- 
-<file | /etc/fstab> 
-user@example.com:/  /mnt/examplecom  fuse.sshfs  defaults,_netdev,noauto,compression=yes,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,cache=yes,cache_timeout=3600,cache_dir_timeout=600,cache_stat_timeout=20,cache_link_timeout=20  0  0 
-</file> 
- 
-Cache options (>v3.0.0) 
-<code> 
--o dir_cache=BOOL 
-       Enables (yes) or disables (no) the SSHFS directory  cache.   The 
-       directory  cache  holds the names of directory entries. Enabling 
-       it allows readdir(3) system calls to be processed  without  net‐ 
-       work access. 
- 
--o dcache_max_size=N 
-       sets the maximum size of the directory cache. 
- 
--o dcache_timeout=N 
-       sets timeout for directory cache in seconds. 
- 
--o dcache_{stat,link,dir}_timeout=N 
-       sets  separate timeout for {attributes, symlinks, names} in  the 
-       directory cache. 
- 
--o dcache_clean_interval=N 
-       sets the interval for automatic cleaning of the directory cache. 
- 
--o dcache_min_clean_interval=N 
-       sets the interval for forced cleaning  of  the  directory  cache 
-       when full. 
- 
--o max_conns=N 
-       sets  the maximum number of simultaneous SSH connections to use. 
-       Each connection is established with a separate SSH process.  The 
-       primary purpose of this feature is to improve the responsiveness 
-       of the file system during large file transfers. When using  more 
-       than once connection, the password_stdin and passive options can 
-       not be used, and the buflimit workaround is not supported. 
-</code> 
- 
-Cache options (< v3.0.0) 
-<code> 
-   -o cache=YESNO 
-          enable caching {yes,no} (default: yes) 
- 
-   -o cache_timeout=N 
-          sets timeout for caches in seconds (default: 20) 
- 
-   -o cache_X_timeout=N 
-          sets timeout for {stat,dir,link} cache 
-</code> 
-