Linux

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • How can we automount windows directory..

    8 answers - 325 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hello friends
    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully
    Now i want to mount this windows directory in my linux machine
  • No.1 | | 1070 bytes | |

    hello,

    Due to network connection problem i had not sent whole message. sorry for
    that.
    Here is my whole problem

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine using
    automount facility.
    So how can i do itI know that we should make entry in /etc/auto.misc and
    /etc/auto.master
    but what should i enter in this files

    Plz help me
    Thank you

    With regards
    Nirav

    10/31/06, Nirav Modiya <nirav.linux (AT) gmail (DOT) comwrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine
  • No.2 | | 1070 bytes | |

    hello,

    Due to network connection problem i had not sent whole message. sorry for
    that.
    Here is my whole problem

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine using
    automount facility.
    So how can i do itI know that we should make entry in /etc/auto.misc and
    /etc/auto.master
    but what should i enter in this files

    Plz help me
    Thank you

    With regards
    Nirav

    10/31/06, Nirav Modiya <nirav.linux (AT) gmail (DOT) comwrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine
  • No.3 | | 573 bytes | |

    Nirav Modiya wrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read
    write operation successfully

    If you use `mount` with the "-t smb" or "-t smbfs" option and get going,
    you can add the same mount-options in /etc/fstab to be mounted on boot.

    Be noted, this might need readable passwords in /etc/fstab

    Now i want to mount this windows directory in my linux machine
  • No.4 | | 929 bytes | |

    There is one more way to mount it when system come up , You can make the
    entry in /etc/rc.local (command which you use to mount the win partition in
    linux box) . This should work

    Let me know if you find even a better way to do this .

    Regards,
    Anirudha

    10/31/06, Corne Beerse <cbeerse (AT) gmail (DOT) comwrote:

    Nirav Modiya wrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read
    write operation successfully
    --
    If you use `mount` with the "-t smb" or "-t smbfs" option and get going,
    you can add the same mount-options in /etc/fstab to be mounted on boot.

    Be noted, this might need readable passwords in /etc/fstab
    --
    Now i want to mount this windows directory in my linux machine
  • No.5 | | 1480 bytes | |

    Hi
    Thanks to all for prompt reply
    yes i am able to mount by 'mount' command with '-t smbfs' option
    But i want to mount it by "automount" facilityAs u know there is
    automounter daemon
    which is continuously running and mount filesystem automatically which is
    specified in
    /etc/auto.misc i want to do same thing for windows share directory

    plz help me to solve this problem
    Thanking you

    with regards
    Nirav

    10/31/06, Anirudha Sonar <anirudha.sonar (AT) gmail (DOT) comwrote:

    There is one more way to mount it when system come up , You can make the
    entry in /etc/rc.local (command which you use to mount the win partition in
    linux box) . This should work

    Let me know if you find even a better way to do this .
    --
    Regards,
    Anirudha

    10/31/06, Corne Beerse <cbeerse (AT) gmail (DOT) comwrote:

    Nirav Modiya wrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read
    write operation successfully
    --
    If you use `mount` with the "-t smb" or "-t smbfs" option and get going,
    you can add the same mount-options in /etc/fstab to be mounted on boot.

    Be noted, this might need readable passwords in /etc/fstab
    --
    Now i want to mount this windows directory in my linux machine
  • No.6 | | 2831 bytes | |

    The /etc/auto.whatever files specified in the auto.master file take
    normal mount options as the second argument (comma-separated). The
    first argument is the "key" (think mount directory, under the "master"
    mount directory specified in auto.master) and the last argument is the
    path to the (presumably remote) filesystem. Here's a cifs example (cifs
    = smb, only newer; cifs is recommended, unless your kernel is so old
    it's not supported):

    windows1 -fstype=cifs,
    ://hostname/sharename

    The only "tricy" part is that leading colon. The "credentials" option
    just gets passed to mount (and then to mount.cifs or mount.smb), it
    allows you to put the password in a separate file that's readable only
    by root. If the line above was in "auto.windows" and the line below
    appeared in auto.master:

    /windows /etc/auto.windows

    then the example above would mount the share 'sharename' on host
    'hostname' in the directory /windows/windows1, and read the login
    credentials from the file /etc/smbmount.hostname. TADA!

    This is all documented in the autofs, mount, and mount.cifs man pages,
    btw. ;-)

    Cheers.
    -g

    Nirav Modiya wrote:
    Hi
    Thanks to all for prompt reply
    yes i am able to mount by 'mount' command with '-t smbfs' option
    But i want to mount it by "automount" facilityAs u know there is
    automounter daemon
    which is continuously running and mount filesystem automatically which
    is specified in
    /etc/auto.misc i want to do same thing for windows share directory

    plz help me to solve this problem
    Thanking you

    with regards
    Nirav

    10/31/06, *Anirudha Sonar* <anirudha.sonar (AT) gmail (DOT) com
    <mailto:anirudha.sonar (AT) gmail (DOT) com>wrote:

    There is one more way to mount it when system come up , You can make
    the entry in /etc/rc.local (command which you use to mount the win
    partition in linux box) . This should work

    Let me know if you find even a better way to do this .

    Regards,
    Anirudha

    10/31/06, *Corne Beerse* < cbeerse (AT) gmail (DOT) com
    <mailto:cbeerse (AT) gmail (DOT) com>wrote:

    Nirav Modiya wrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do
    read
    write operation successfully

    If you use `mount` with the "-t smb" or "-t smbfs" option and
    get going,
    you can add the same mount-options in /etc/fstab to be mounted
    on boot.

    Be noted, this might need readable passwords in /etc/fstab

    Now i want to mount this windows directory in my linux machine
  • No.7 | | 1298 bytes | |

    Hi,

    Check the manual pages of fstab and follow the instructions there.

    Regards,
    Hari

    10/31/06, Nirav Modiya <nirav.linux (AT) gmail (DOT) comwrote:

    hello,

    Due to network connection problem i had not sent whole message. sorry for
    that.
    Here is my whole problem

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine using
    automount facility.
    So how can i do itI know that we should make entry in /etc/auto.misc and
    /etc/auto.master
    but what should i enter in this files

    Plz help me
    Thank you

    With regards
    Nirav
    >
    >
    >

    10/31/06, Nirav Modiya <nirav.linux (AT) gmail (DOT) comwrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine
  • No.8 | | 1298 bytes | |

    Hi,

    Check the manual pages of fstab and follow the instructions there.

    Regards,
    Hari

    10/31/06, Nirav Modiya <nirav.linux (AT) gmail (DOT) comwrote:

    hello,

    Due to network connection problem i had not sent whole message. sorry for
    that.
    Here is my whole problem

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine using
    automount facility.
    So how can i do itI know that we should make entry in /etc/auto.misc and
    /etc/auto.master
    but what should i enter in this files

    Plz help me
    Thank you

    With regards
    Nirav
    >
    >
    >

    10/31/06, Nirav Modiya <nirav.linux (AT) gmail (DOT) comwrote:

    Hello friends

    I have configured samba server here on one of my linux system.
    I can mount window's shared directory using smbmount command.
    After mounting windows directory in my linux machine I can do read write
    operation successfully

    Now i want to mount this windows directory in my linux machine

Re: How can we automount windows directory..


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 6 =
QUESTION ON "Linux"

EMSDN.COM