Re: sharing between linux and windows? And Then Some.

From: LX-i (lxi0007_at_netscape.net)
Date: 10/13/04


Date: Tue, 12 Oct 2004 19:51:56 -0500

Kravin wrote:
> Hi Guys,
>
> OK, im a 3 week old n00b,

OK. It's best if you don't hijack another thread - there is no limit
the the new threads that can be started.

> I have been using FC2 for about 3 weeks now and have set up all my media
> stuff DVD, MP3 etc, and also configured Linux to print to my shared printer
> on my XP machine.
>
> OK, so i have a shared Folder on my XP machine, //Dell/Music .(Yes it's a
> Dell and yes it's poo!)
>
> I have looked at the Samba settings and from what i can tell, that allows XP
> to access a Linux share.
>
> How do i go about getting Linux to access an XP share across a network?
>
> Im thinking that somehow i have to mount the XP share on FD2 first???

Samba will fit the bill for both XP -> Linux and Linux -> XP. From
Linux, you can mount the share to an empty directory (called a "mount
point") on your Linux filesystem, and access it just like it's part of
your hard drive.

For example, here is a snippet from my /etc/fstab that mounts a share
from my wife's computer when I log on.

//michelle/Root_C /home/summersd/michelle smbfs
owner,user,rw,exec,uid=summersd,gid=summersd,username=michelle,password= 0 0

(Imagine that all on one line, a single space for each line break.)

What that says is to mount the XP share at the specified mount point (a
directory I created in my home directory) using smbfs (which is the
Samba file system). The others just mean that I have full control over
all files, along with supplying the user name and password (yes, it's
blank). The 0 and 0 have to do with checking the filesystem for errors
on restart. Try the following...

man mount
man fstab
man smbmount
man samba

Along with a Google or two for those topics. You'll probably find more
than you ever wanted to know about setting up file systems.

Now, from XP -> Linux, you've got to define a share in
/etc/samba/smb.conf . There are examples in there on how to define
users and shares, and there are GUI tools that allow you to set it up as
well.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~   /   \  /         ~        Live from Montgomery, AL!       ~
~  /     \/       o  ~                                        ~
~ /      /\   -   |  ~          LXi0007@Netscape.net          ~
~ _____ /  \      |  ~ http://www.knology.net/~mopsmom/daniel ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~         I do not read e-mail at the above address           ~
~    Please see website if you wish to contact me privately   ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e    ~
~ h---- r+++ z++++                                            ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Relevant Pages

  • Re: Multiple Hard Drives
    ... your linux system has detected the hard drive (dmesg said so when it ... you need to partition the hard drive. ... you need to have a file system on the hard drive. ... The mount program does this. ...
    (Debian-User)
  • Re: Mount AIX partition on linux
    ... don't forgot create aix folder under /mnt and -t it means file system type. ... The following link is man page for mount command under Linux and it will ...
    (RedHat)
  • Re: Running mame on linux
    ... Is there a version of mame that will run on it? ... you just need to tell Linux where Windows is (I had thought it had ... You add an existing file system to Linux by creating an empty directory ... Then you "mount" it there (hoping mount detects the ...
    (alt.games.mame)
  • Re: used to windows
    ... for starters i would rather use linux as a simple home user, ... Unix has a unified file system structure, ... a mount point. ... referred to as the file system's root directory. ...
    (alt.os.linux.redhat)
  • Re: [opensuse] How do I mount USB drive world writable using device notifier?
    ... Yes I can successfully mount USB storage devices on the server, ... them via NFS, mount them via NFS on my laptop and access them ... Anton - Using such sarcasm and telling me your system works, therefore I have screwed something up, is NOT helpful. ... The good thing is Linux does not block the user from gaining access to internal information, ...
    (SuSE)