I'm running Ubuntu 10.04 on two separate machines on a network (Ubuntu machine A and B). I am running some tests with temp files for some other software, installed on Ubuntu machine A. The software uses a temp directory in /tmp/<usrname>/temp_dir. My goal is to mount an external hard drive attached to Ubuntu machine B on Ubuntu machine A under /tmp/<username>/temp_dir so the external hard drive acts as this temp directory for said software on Ubuntu machine A. There happens to be a bug such that when this occurs in the wild the software can't save the temp backup file (this was reported from a user).
My problem is I can't even get the external hard drive mounted where I want it. How do I do this?
Please note, using the same commands, I can mount network shares just fine, according to this post.