Server samba, ftp, ssh, card memory file system etc. you can mount them in your own file system using the lufsmount utility "Linux Userland FileSystem" for ftp, ssh, memory card, PDA or for samba with smbmount or where we can also use the well known mount command
For SSH, and FTP, CARD, PDA,
Install lufsmount
#emerge lufs
or for other distributions it can be installed manually where you can find it at http://sourceforge.net/project/showfiles.p
FTP example
// create mount point #mkdir / mnt / ftp // install ftp in the file system #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 // browsing the mounted file system #cd / mnt / ftp #ls #cd // / unmounting from the #umount / mnt / ftp file system
PS: if you do not specify the password and login automatically try to log in as anonymous
SSH example
#mkdir / mnt / ssh #lufsmount sshfs: // login: pass@ssh.server.org ~ / mnt / ssh --fmask = 444 --dmask = 555
or
# 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
For mounting CARDFS memory card file systems
#mkdir / mnt / card #lufsmount cardfs: // login: pass @ ttyS0 @ 127.0.0.1: 9770 / mnt / card
or
#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
For PDA owners (HP (Compaq) IPAQ, HP Jornada, etc ...)
#mkdir / mnt / cefs #lufsmount cefs: // ~ / mnt / cefs
or
#mount -t lufs none / mnt / lufs -o nosuid, fs = cefs #cd / mnt / cefs #ls #cd / #umount / mnt / cefs
And for filesharing desperation we have the red pill that will bring you deep into the lair of the pink rabbit GNUTELLAFS (GNETFS) Gnutella network interface
// to use this option you need a fast internet connection #cd / mnt / gtfs #lufsmount gnetfs: // ~ / gtfs -o dir_cache_ttl = 1
or
#mount -t lufs none / mnt / gtfs -o fs = gnetfs, dir_cache_ttl = 1 // now create a directory pentry search ex. #mkdir "~ / gtfs / SEARCH / metallica mp3" // we wait a bit #ls // and the surprise suddenly appears the file: p // for fine details in configuration a vim /etc/lufsd.conf #cd / #umount / mnt / gtfs
Smbmount. MOUNT
SAMBA example using smbmount and mount
#mkdir / mnt / win #smbmount //192.168.0.3/share_director / mnt / win #cd / mnt / win #ls #cd / #umount / mnt / win
SAMBA example with pass and login
#mkdir / mnt / win #smbmount //192.168.0.3/share_director / mnt / win -o username = user, password = password #cd / mnt / win #ls #cd / #umount / mnt / win
SAMBA example using mount
#mkdir / mnt / win #mount -t smbfs -o username = user, password = password //192.168.0.3/share_director / mnt / win #cd / mnt / win #ls #cd / #umount / mnt / win
Another SAMBA example using mount
#mkdir / mnt / win #mount -t smbfs smb: // user: password@192.168.0.3/share_director / mnt / win #cd / mnt / win #ls #cd / #umount / mnt / win