SInce both are Linux hosts, the easiest way is to use NFS (Network File
System). I think there's a HowTo, and I know there are relevant man pages
(try nfs, nfsd, and mount for starters). Basically what you do is:
1. On the host that has the file system, run rpc.portmap, rpc.nfsd, and
rpc.mountd. (You'll want to add them to an appropriate rc* script - which
one depends on the distribution and version of Linux you are running.)
2. Add in the file /etc/exports an entry that permits the other host to
mount the file system to be exported. This looks something like:
/cdrom otherhostname
(replacing "otherhostname" with a resolvable hostname or an IP address) for
an entry that permits a mounted CD to be remotely mounted. "man exports"
will give you a lot more detail about the options you have here; this is
intentionally a simplistic example.
3. On the other host, use a variation of the familiar mount command. Instead
of saying
mount /dev/somethingorother /mountpoint
you say
mount otherhost:/cdrom /mnt/remotecd
(you need to create the mount point remotecd, of course). Again, a
simplistic example -- "man mount" for fuller details.
HOpe this helps. Good luck. If you have specific questions after you try it,
don't hesitate to post again.
At 08:22 PM 8/7/99 +0200, Klaus Drechsler wrote [in part]:
>I have to linux computers in a local network. I call them A and B.
>my question: how can I mount a partition/directory on A that is on B ?
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA 94303-3603 [EMAIL PROTECTED]
----------------------------------------------------------------