Server samba, ftp, ssh, card memory file system etc. le puteti monta in propriul sistem de fisiere utilizand utilitarul lufsmount "Linux Userland FileSystem" pentru ftp, ssh, memory card, PDA sau pentru samba cu smbmount sau unde mai putem utiliza si bine cunoscuta comanda mount

Pentru SSH,i FTP, CARD, PDA,
Instalam lufsmount

#emerge lufs

sau pt alte distributii se poate instala manual unde o gasiti la adresa http://sourceforge.net/project/showfiles.p
Exemplu FTP

//crearea punctului de montare
#mkdir /mnt/ftp
//monstarea ftp-ului in sistemul de fisiere
#lufsmount ftpfs://login:pass@ftp.server.org ~/mnt/ftp -o ftpactive
#mount -t lufs none /mnt/ftp -o nosuid,fs=ftpfs,host=ftp.server.org,username=login,password=pass,ftpactive
//navigarea in sistemul de fisiere montat
#cd /mnt/ftp
#ls
#cd /
//demontarea din sistemul de fisiere
#umount /mnt/ftp

PS: daca nu se specifica parola si login automat ca incerca sa se conecteze ca anonymous
Exemplu SSH

#mkdir /mnt/ssh
#lufsmount sshfs://login:pass@ssh.server.org ~/mnt/ssh --fmask=444 --dmask=555

sau

# mount -t lufs none /mnt/ssh -o nosuid,fs=sshfs,host=ssh.server.org,username=login,fmode=444,dmode=555
#cd /mnt/ssh
#ls
#cd /
#umount /mnt/ssh

Pentru montarea memory card file systems CARDFS

#mkdir /mnt/card
#lufsmount cardfs://login:pass@ttyS0@127.0.0.1:9770 /mnt/card

sau

#mount -t lufs none /mnt/card -o nosuid,fs=cardfs,username=login,password=pass,host=ttyS0@127.0.0.1 ,port=9770
#cd /mnt/card
#ls
#cd /
#umount /mnt/card

Pentru posesorii de PDA (HP (Compaq) IPAQ, HP Jornada, etc...)

#mkdir /mnt/cefs
#lufsmount cefs:// ~/mnt/cefs

sau

#mount -t lufs none /mnt/lufs -o nosuid,fs=cefs
#cd /mnt/cefs
#ls
#cd /
#umount /mnt/cefs

Si pentru disperatii de filesharing avem pilula roshie ce va aduce adanc in vizuina iepurilui roz GNUTELLAFS (GNETFS) Gnutella network interface

//pentru a utiliza aceasta optiune aveti nevoie de o conexiune rapida la Internet
#cd /mnt/gtfs
#lufsmount gnetfs:// ~/gtfs -o dir_cache_ttl=1

sau

#mount -t lufs none /mnt/gtfs -o fs=gnetfs,dir_cache_ttl=1
//acum cream un director pentry search
ex.
#mkdir "~/gtfs/SEARCH/metallica mp3"
//asteptam putin
#ls
//si surpriza apare din senin fisierul :p
//pentru detalii de finete in configurare un vim /etc/lufsd.conf
#cd /
#umount /mnt/gtfs

SMBMOUNT. MOUNT
Exemplu SAMBA utilizand smbmount si mount

#mkdir /mnt/win
#smbmount //192.168.0.3/share_director /mnt/win
#cd /mnt/win
#ls
#cd /
#umount /mnt/win

Exemplu SAMBA cu pass si login

#mkdir /mnt/win
#smbmount //192.168.0.3/share_director /mnt/win -o username=userul , password=parola
#cd /mnt/win
#ls
#cd /
#umount /mnt/win

Exemplu SAMBA utilizand mount

#mkdir /mnt/win
#mount -t smbfs -o username=utilizator, password=parola //192.168.0.3/share_director /mnt/win
#cd /mnt/win
#ls
#cd /
#umount /mnt/win

Alt exemplu SAMBA utilizand mount

#mkdir /mnt/win
#mount -t smbfs smb://utilizator:parola@192.168.0.3/share_director /mnt/win
#cd /mnt/win
#ls
#cd /
#umount /mnt/win

  • What is your reaction?
  • powered by Verysign
  • like gnulinux.ro
    Like
  • unmoved gnulinux.ro
    Unmoved
  • amused gnulinux.ro
    Amused
  • excited gnulinux.ro
    Excited
  • angry gnulinux.ro
    Angry
  • sad gnulinux.ro
    Sad
TENDINTA  |  IBM Fully Homomorphic Encryption Toolkit este disponibil pentru Linux
Andreea                   gnulinux.ro
Andreea
"Rome wasn't built in a day" !
118 articole



  • Comenteaza
  • powered by Verysign

Nici un comentariu inca. Fii primul!