Share files between Mandrake and YDL
Chris Ruprecht
yellowdog-general@lists.terrasoftsolutions.com
Thu Feb 12 11:06:01 2004
Of course, there is ... this is the UNIX world, remember? This is what
everybody else is copying from ... ;-).
It's called NFS - Network File System
You define the directories you want to share to to whom you want to share them
to on machine A using the /etc/export file.
Here is a sample entry, world read/writeable:
/home/common *(rw)
Then, you mount the directory on machine B with:
mount -t nfs A:/home/common /home/common
For this to work, machine A must be running nfs. To switch it on, you would
use:
service nfs start
You can make a link from your nfs script to your runlevel directory on machine
A, so it always starts up NFS. Then you can make an entry in /etc/fstab on
machine B to always auto-mount the directory on startup.
Best regards,
Chris
On Thursday 12 February 2004 12:29, Clinton MacDonald wrote:
> Friends:
>
> What is the best way to share files between one
> computer running Yellow Dog Linux 3.0 and a second
> running Mandrake Linux 9.2?
>
> In Konqueror, I am able to use
> "sftp://clint@192.168.1.251/" to browse files, and
> that's not too bad. However, I was wondering if there
> was a way to mount a directory from one Linux box on a
> second box?
>
> All the How-Tos I see on Yellow Dog's site talk about
> sharing files from Windows machines using SAMBA
> (whatever that is :-) ), but I don't have a Windows
> machine in the mix.
>
> At present, the only port I have open on my Mandrake
> box (which serves as an Internet router for my DSL
> modem) is port 22 for ssh. I don't want to open up the
> ftp port if I don't have to. Maybe ssh/sftp is the
> best way. Using ssh/sftp, I can even see files on my
> PowerBook running OS X. What do you think?
>
> Thanks!
>
> Best wishes,
> Clint
> (whose next project will be to share files between Mac
> OS X and the Mandrake and YDL boxes)