LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-20-2013, 05:50 PM   #1
hana
LQ Newbie
 
Registered: Apr 2013
Posts: 13

Rep: Reputation: Disabled
Exclamation mount and demount in Linux CenOs


how is the mount and demount in Linux Centos exactly ??
 
Old 04-20-2013, 06:21 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
The same as in all other Linux distros. Do you have a specific question?
 
Old 04-20-2013, 06:53 PM   #3
hana
LQ Newbie
 
Registered: Apr 2013
Posts: 13

Original Poster
Rep: Reputation: Disabled
what for the mount and demount???
 
Old 04-20-2013, 06:59 PM   #4
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
Code:
mount device mountpoint
and
Code:
umount device
or
umount mountpoint
As I said, it's the same as in all other Linux distros.
Also like I said above, do you have a specific question? Presumably something that can't be answered in 2 seconds with a search on literally any search engine?

Last edited by suicidaleggroll; 04-20-2013 at 07:01 PM.
 
Old 04-21-2013, 07:21 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member Response

Hi,

Welcome to LQ!

Quote:
Originally Posted by hana View Post
how is the mount and demount in Linux Centos exactly ??
You can use the 'man command' either online or locally on 'cli' to define usage for commands.

If you do 'man mount';
Quote:
excerpt from 'man mount';
NAME
mount - mount a filesystem

SYNOPSIS
mount [-lhV]

mount -a [-fFnrsvw] [-t vfstype] [-O optlist]

mount [-fnrsvw] [-o option[,option]...] device|dir

mount [-fnrsvw] [-t vfstype] [-o options] device dir

DESCRIPTION
All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several
devices. The mount command serves to attach the filesystem found on some device to the big file tree. Conversely, the umount(8) command will detach it
again.

The standard form of the mount command, is

mount -t type device dir

This tells the kernel to attach the filesystem found on device (which is of type type) at the directory dir. The previous contents (if any) and owner
and mode of dir become invisible, and as long as this filesystem remains mounted, the pathname dir refers to the root of the filesystem on device.
Quote:
excerpt from 'man umount';
NAME
umount - unmount file systems

SYNOPSIS
umount [-hV]

umount -a [-dflnrv] [-t vfstype] [-O options]
umount [-dflnrv] {dir|device}...

DESCRIPTION
The umount command detaches the file system(s) mentioned from the file hierarchy. A file system is specified by giving the directory where it has been
mounted. Giving the special device on which the file system lives may also work, but is obsolete, mainly because it will fail in case this device was
mounted on more than one directory.

Note that a file system cannot be unmounted when it is `busy' - for example, when there are open files on it, or when some process has its working
directory there, or when a swap file on it is in use. The offending process could even be umount itself - it opens libc, and libc in its turn may open
for example locale files. A lazy unmount avoids this problem.
Quote:
Just a few links to aid you to gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Utimate Linux Newbie Guide
10 Linux Home Networking
11 Virtualization- Top 10

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
Hope this helps!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
i cannot configure yum in cenos claudio.tellis Linux - Newbie 3 04-07-2010 04:02 AM
Opening a file in SSH on Cenos 5 archey Linux - Newbie 9 08-22-2009 12:05 AM
Configuring AcceptPathInfo in CenOS 5.3 xshad0wfx Linux - Server 5 06-24-2009 02:22 PM
I want to install Perl on CenOS blck_kenzo Linux - Software 1 05-19-2009 11:32 AM
iscsi-ls command not found on CenOS 5 athreyavc Linux - Server 1 01-02-2008 07:53 AM

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

All times are GMT -5. The time now is 07:23 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