Difference between revisions of "Linux: fuse"

From mmmv_kos
Jump to: navigation, search
m
m
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
* [https://github.com/libfuse/libfuse GitHub konto]
 
* [https://github.com/libfuse/libfuse GitHub konto]
 
* [[SSH]]
 
* [[SSH]]
 
+
* [[SSHFS]]
 
 
 
 
= [https://github.com/libfuse/sshfs sshfs] =
 
 
 
<syntaxhighlight lang="bash">
 
MINA=`whoami`
 
# There's a group named "fuse" and it kind of "exists by default".
 
 
 
sudo modprobe fuse            # Loads kernel modules, drivers, etc.
 
sudo useradd -G fuse $MINA
 
sudo chown root:fuse /dev/fuse
 
sudo chmod +x /usr/bin/fusermount
 
sudo chmod 0777 /dev/fuse #  I couldn't figure out, how to do it otherwise
 
</syntaxhighlight>
 
 
 
 
 
<syntaxhighlight lang="bash">
 
# Tavakasutajana, kõigepealt lahti-haakimine, sest katkenud SSH-ühenduste
 
# korral automaatset lahtihaakimist ei toimu:
 
fusermount -u <full path to the mounting point at the ssh client side>
 
 
 
# Alles seejärel haakimine:
 
sshfs -oport=<port number> <username>@<ipaddress>:<fullpath at the server> <full path to the mounting point at the ssh client side>
 
 
 
# Soovi korral võib kõibe lõppu lisada ka veel
 
# harilikult ~/.ssh/config failis kirjeldatud parameetreid. Näiteks:
 
sshfs -oport=<port number> <username>@<ipaddress>:<fullpath at the server> <full path to the mounting point at the ssh client side> -o IdentityFile=$HOME/.ssh/privaatv8tmefail.txt "
 
</syntaxhighlight>
 
 
 
  
  

Revision as of 07:17, 12 January 2020

Linux : failisüsteemid : failisüsteemi administreerimine



eCryptfs

eCryptfs'i MITTE KASUTADA, sest selle realisatsioon on vigane ja korrupeerib failisüsteemi, sealhulgas kohati takistades ka tava-failisüsteemi draiveri korrektselt toimimist.

mount -t ecryptfs /home/ts2/m_local/seifi_sisu_kryptitult_blowfish_56 /home/ts2/m_local/seif_blowfish_56


Konsoolilt sisestatav parool ei või olla pikem kui 64 tähemärki.