Guest User

Untitled

a guest
May 17th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. mount –t ofs file:/home/user/Downloads/src /home/user/Downloads/mountdir
  2.  
  3. ofs on /mountdir type fuse.ofs.
  4.  
  5. $ sudo mount -t ofs file://usr /tmp/mnt
  6. $ ls /tmp/mnt
  7. bin/ etc/ games/ include/ lib/ lib32/ libx32/ local/ sbin/ share/ src/
  8. $ sudo umount /tmp/mnt
  9.  
  10. $ sudo mount -t ofs file:/usr /tmp/mnt
  11. $ ls /tmp/mnt
  12. ls: cannot access /tmp/mnt: Transport endpoint is not connected
  13. $ sudo umount /tmp/mnt
  14.  
  15. sudo mount -t ofs cifs://127.0.0.1/Music /tmp/music
  16.  
  17. sudo mount -t ofs -o remoteoptions=guest cifs://127.0.0.1/Music /tmp/music
  18.  
  19. sudo mount -t ofs -o remoteoptions=credentials=/etc/remotecreds.conf cifs://127.0.0.1/Music /tmp/music
  20.  
  21. sudo mount -t ofs -o remoteoptions=username=mike:password=mike1 cifs://127.0.0.1/Music /tmp/music
Add Comment
Please, Sign In to add comment