You want to use NFS for this. Basically, 

        -- on A, you set up a file called /etc/exports, that lists the
filesystems that can be remotely mounted and what systems they can be
remotely mounted on. "man nfs" will show you the syntax, I think.

        -- also on A, you make sure that rpc.nfsd, rpc.mountd, and
rpc.portmap are all running. (I always forget if they have to be running on
B as well, so you'll need to check that elsewhere.)

       -- on B, you use the "mount" command to mount the filesystems from A
on local mount points. The syntax is straightforward and explained in the
man page for mount. (You can put this in fstab, BTW.)

There is an NFS HowTo, I believe, and the man pages for mount, nfs, nfsd,
and mountd will help. There is an automount daemon of some sort as well,
which deals with transient disconnects and reconnects and such things. I've
never used it, though, and I don't even recall the correct name for sure.

At 12:39 AM 4/9/99 +0700, Shaggy Im-erbtham wrote:
>Could somebody please explain or point to the right direction?
>
>Two Linux machines are connected (UTP and hub) and can ping one another.
>How can I mount (otherwise access) the hard- and/or CDROM-drive of computer
> A on computer  B? I am using Slackware 3.5 and not using X for this purpose.
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.328.4219 voice                              [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to