You will write and run a lot of programs this semester, so the question of where to do this work is important, as is the question of where to store it. We'll take some time in class to address that question.
Storing stuff on your VM's filesystem is nice in some ways - you can work regardless of whether or not you have network access, for example. On the other hand, it's got some serious negatives. If your laptop dies you lose all your work. If the file on your laptop that contains the VM's state gets corrupted, you lose all your work. Finally, the work you do in the lab is not available on your VM and vice versa, undless you go back to constantly copying files back and forth. So ...
... storing stuff in your CS Department home directory is the best option. It's backed up nightly, accessible from the computer lab and, thanks to the "csunixmount" script that's preloaded on your VMs, it's accessible from your VM - as long as you have a network connection.
csunixmount
script and keep everything in your CS Department home directory.
Warning! If you "pause" your VM before exiting VMPlayer (as opposed to shutting the VM down), you should run the csunixunmount
script first, otherwise things may not resume properly when you "unpause" your VM.
A quick activity to demonstrate and verify that it's working:
1. in your VM home directory, type the ls command. Note the directory "csunix". Type 'cd csunix', then 'ls'. Note: it's empty. Type 'cd ..' to go back to your home directory. 2. run csunixmount cd to csunix again and do an ls. Now there's a file README. Give command cat README 3. Type the command cd ~ (takes you back to your VM home directory) Type the command csunixunmont do ls csunix (now it's empty again) do csunixmount (files are back!)