Operating Systems 2014F: Tutorial 9: Difference between revisions
|  Created page with "'''This tutorial is not yet finalized.'''  * apt-get install sshfs * mount remote ssh directory locally * do file operations on directory * unmount, see it go away * apt-get i..." | No edit summary | ||
| Line 12: | Line 12: | ||
| * hard link files over sshfs, look at link counts | * hard link files over sshfs, look at link counts | ||
| * go into directory locally as root, look around.  now do the same to mounted version.  What do you see? | * go into directory locally as root, look around.  now do the same to mounted version.  What do you see? | ||
| * look at inodes in local and remote system.  How do they compare? | |||
Revision as of 00:50, 25 November 2014
This tutorial is not yet finalized.
- apt-get install sshfs
- mount remote ssh directory locally
- do file operations on directory
- unmount, see it go away
- apt-get install openssh-server
- ssh to local box
- sshfs to local box, do a "loopback" mount
- dd a large file to local drive. Do same thing over sshfs. Which is faster?
- hard link files locally, look at link counts
- hard link files over sshfs, look at link counts
- go into directory locally as root, look around. now do the same to mounted version. What do you see?
- look at inodes in local and remote system. How do they compare?