LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2003, 01:26 PM   #1
tombomb300
Member
 
Registered: Sep 2003
Posts: 49

Rep: Reputation: 15
explain mounting to me


I know how to do can someone jst explain the concept to me why we use it and what it does? thanks
 
Old 11-15-2003, 02:03 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,793

Rep: Reputation: 292Reputation: 292Reputation: 292
"explain the concept to me"

Linux uses one large file tree. This tree spreads across all devices which are capable of supporting file systems. You can insert new devices into the file tree using the mount command. You can take devices out of the file tree using the umount command.

For example: I have an unused partition on /dev/hda4. If I want to use this partition to store /home while I rearrange the other partitions I could do the following:
mkdir /storehome
mount /dev/hda4 /storehome
cp /home/* /storehome -R

and /home is now duplicated on /storehome.

Or if I want to insert a CD-ROM at /home/user/software I put the CD in the drive and:
mount -t is09660 /dev/cdrom /home/user/software
and the files on the CD appear in the file tree at /home/user/software.

When I am through with the CD:
umount /home/user/software

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-15-2003, 02:48 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
this may seem alien and confusing to you, but look at it from the looking glass.... "C:" ???? what the hell does "C" have to do with anything at all??? Windows loves dearly to pretend real thigs don't exist, yet happily sticks to the rule of 1 partition, 1 drive letter... totally illogical when you see the benefits of a single filesystem tree.
 
Old 11-15-2003, 10:32 PM   #4
tombomb300
Member
 
Registered: Sep 2003
Posts: 49

Original Poster
Rep: Reputation: 15
what are the benefits of a single file system tree anyways?
 
Old 11-16-2003, 09:59 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
try googling
http://www.onlamp.com/lpt/a/onlamp/2...lesystems.html

basically with a single tree, there is absolutely no restriction on file locations, you install and manage software independently of physical devices. you can easily nail on and remove physical items without changing the way a system behaves at all.
 
Old 11-16-2003, 10:17 AM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Perhaps these will help:

# Linux filesystem structure
Directory Navigation Help File
Filesystems, Directories, and Devices Help File
Proper Filesystem Layout

# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Someone explain this "mounting" thing to me. Nobel Linux - Newbie 4 05-16-2005 03:24 PM
Can ANYONE explain this? jimsproch Programming 11 01-03-2005 07:49 AM
can someone explain this? SteveGodfrey Linux - Wireless Networking 1 05-28-2004 09:47 AM
can anyone explain this? log Linux - Software 2 06-10-2003 01:30 AM
Please explain pilotgi Linux - Software 9 05-09-2002 07:47 PM


All times are GMT -5. The time now is 04:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration