LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2013, 10:28 AM   #1
Expect
LQ Newbie
 
Registered: Jul 2013
Posts: 4

Rep: Reputation: Disabled
Mount default behavior


Hello :-)
If I execute the mount command without the dash t (-t) option, what is the default mount option that occurs?
I am asking this since I wonder how the execution of a (cifs) mount works this way:

Code:
mount -o options username=user,password=pass,workgroup=domain.com //ip.add.re.ss/share /my/mount
without adding the mount option, it is mounted as cifs.
I always thought the default one was NFS.
any ideas?
 
Old 07-12-2013, 12:21 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Here is way "man mount" says:
Quote:
If no -t option is given, or if the auto type is specified, mount will try to guess the desired type. Mount uses the blkid library for guessing the filesystem type; if that does not turn up anything that looks familiar, mount will try to read the file /etc/filesystems, or, if that does not exist, /proc/filesystems. All of the filesystem types listed there will be tried, except for those that are labeled "nodev" (e.g., devpts, proc and nfs). If /etc/filesystems ends in a line with a single * only, mount will read /proc/filesystems afterwards
But of course the device type possibly indicated in /etc/fstab will be considered.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Default Window Behavior Maestro485 Slackware 2 03-09-2010 08:38 PM
How do you change default emacs behavior on .h files? BrianK Programming 4 02-26-2008 07:11 PM
ipblock default behavior FolkTheory Linux - Security 3 12-01-2007 12:30 PM
default behavior for Konsole and other x-type terminals muttdawg Slackware 5 09-02-2007 05:31 PM
Change default ls behavior bgfay Linux - Newbie 5 06-21-2004 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:06 AM.

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