LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2014, 02:50 AM   #1
siruss899
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
cifs mounting in CentOS


I'm defining mounting of some Windows shares in my /etc/fstab (CentOS 6.5), like this:

//192.168.0.x/TheSetFile /mnt/T cifs _netdev,user,uid=500,rw,exec,suid,auto,username=domainuser,password=pass 0 0

the share was mounted without any error, but only the content of the folder(TheSetFile).Is there anyway to mount the share with the root folder.

Thanks in Advnaced..

Last edited by siruss899; 08-21-2014 at 03:03 AM.
 
Old 08-21-2014, 07:53 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I don't understand the question.

On your Windows machine, you chose to share TheSetFile
On your Linux machine, you mounted //192.168.0.x/TheSetFile

Of course the files you see will only be those contained within TheSetFile, since those are the only ones being shared by the Windows machine. Am I missing something? I don't know what "is there any way to mount the share with the root folder" is supposed to mean? Is your goal to obtain access to the root filesystem of your Windows machine? That of course will only be possible if the Windows machine opts to share its root filesystem.

Last edited by suicidaleggroll; 08-21-2014 at 07:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting CIFS with write permissions alkos333 Slackware 5 03-02-2012 12:16 PM
cifs not mounting on boot mitchell2345 Linux - Software 17 12-16-2011 10:58 AM
Kernel 2.6.37 and mounting CIFS with password Cosis Linux - General 1 01-16-2011 03:04 PM
Mounting cifs qns khaos83 SUSE / openSUSE 2 06-08-2008 09:47 PM
CIFS Mounting Problem victorhe Linux - Networking 0 03-29-2004 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration