Well, that gets a bit more tricky, but not much.. (: What you are looking for, is a NFS mount. (network filesystem)
It can be abit tricky to set up (lousy error system that doesnt help abit in debugging), but Ill try to advise you. These instructions you must do to both computers.
Lets edit a few files, here are examples:
portmap : ALL
lockd : ALL
mountd : ALL
rquotad : ALL
statd : ALL
portmap : 192.168.0.2 # this is the address of the other comp
lockd : 192.168.0.2
mountd : 192.168.0.2
rquotad : 192.168.0.2
statd : 192.168.0.2
ftp : 192.168.0.2
/ 192.168.0.2(rw,no_root_squash) # again the ip of the other comp
This exports the / dir to 192.168.0.2 with rw permissions, and a root will be able to root that partition also.. Note that there is no space between the ip and the options.. This is __very__ important.. if theres a space, we get the opposite results..
Lets make it start upon boot:
chmod +x /etc/rc.d/rc.portmap
chmod +x /etc/rc.d/rc.nfsd
You need to have several daemons running on both computers. portmapper needs to be started first (the startup scripts do this correctly automagicly) and then the nfsd brings the rest up nicely.
So, at this point, lets fire er up.. (;
/etc/rc.d/rc.portmap start && /etc/rc.d/rc.nfsd start
Do this with both comps.. If there are no errors, there are good chances that its up and running.. Lets test it..
mount 192.168.0.2:/ /mnt/compname
If all goes well and there are no errors, the other comps disk is now mounted at the mountpoint.. enjoy.. (:
If you get cryptic errors, try the following on both comps:
And try again.. If still not working, a good try might be rebooting to make sure they are loaded as they should..
Oh yeah, if you have a firewall solution, youll need several holes in it.. I dont remember which, but I guess you can nmap yourself and find out when theyre running..