Fedora Linux Support Community & Resources Center
  #1  
Old 25th July 2012, 09:21 PM
acidzebra Offline
Registered User
 
Join Date: Jul 2012
Location: Netherlands
Posts: 7
windows_7firefox
FC16 question about CIFS/NFS mounts and default mount options

Hi all,

I'm troubleshooting some CIFS and NFS mounts, and I've noticed that when I mount a server share (e.g. mount -t cifs -o username=whatever //server/share /mnt/mountpoint) and then do a mount command to list my mounted filesystem these mounts will have a great number of default options added from somewhere:

for CIFS I get these options added "for free":
rw,relatime,sec=ntlm,unc=\\server\share,username=w hatever,uid=0,noforceuid,gid=0,noforcegid,addr=ser verIP,file_mode=0755,dir_mode=0755,nounix,serverin o,rsize=61440,wsize=65536,actimeo=1

for NFS:
rw,relatime,vers=3,rsize=32768,wsize=32768,namlen= 255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mou ntaddr=serverIP,mountvers=3,mountport=58956,mountp roto=udp,local_lock=none,addr=serverIP

This is great and all but I would like to turn it off for testing purposes. Or at any rate turn off specific options. But I've poked around in /etc and online (worse than useless - tons of people trying to figure out how to mount something) and I haven't the foggiest where these defaults are coming from? It's really quite vexing, I enjoy the control I have over my OS and these unwelcome defaults are ruining my fun

I would be most grateful for any enlightenment, specifically:
a) where do these defaults come from
b) where can I override them

Thanks!
Reply With Quote
Reply

Tags
cifs, cifs or nfs, default, fc16, mount, mounts, nfs, options, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with cifs mounts kapanala Servers & Networking 2 23rd October 2011 06:18 PM
cifs mounts Kasper-pA- Fedora 12 Alpha, Beta & Release Candidates 5 10th November 2009 04:44 PM
cifs mounts in fstab after Fedora 9 kpj104 Using Fedora 6 16th May 2008 02:30 PM
kernel 2.6.18-1.2200.fc5smp and cifs mounts jnatschev Using Fedora 0 9th November 2006 11:09 PM
USB key and default mount options? xme Using Fedora 2 22nd June 2005 09:03 AM


Current GMT-time: 13:44 (Friday, 22-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat