LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-10-2006, 04:27 PM   #1
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
mounting and whats all this device do?


I saw all this device when typing "mount", what's all this device do? This is from Fedora Core 5.

sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid1424) on /net type autofs (rw,fd=4,pgrp=1424,minproto=2,maxproto=4)
 
Old 07-10-2006, 04:46 PM   #2
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
It tells -
1) which filesystems are currenly mounted
Code:
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
2) which device files these filesystems belong to
Code:
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
3) What is the mode in which these devices are mounted.
Code:
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
4) which location they are mounted upon.
Code:
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
 
Old 07-10-2006, 05:33 PM   #3
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
In linux, the files and folders are located logically in a tree like structure. Although the location of actual data could be different
Code:
                          Root /
                            |
           |                       |                    |          |
      directory1              directory2              file1       mnt
            |                     |                                |
         |        |         |           |                         mydir
   directory1   file1     file1       file2
       |
   |    |     |
file1 file2 file3
Now suppose you have some other devce, for eg. a partition on your hard disc whose device name is /dev/hda5. And which has 2 files and 1 directory.
Code:
                               /dev/hda5
                                  }
                       |           |             |
                  directory1     file1          file2
Now u want to access files on /dev/hda5 partition on your linux system. Then u will need to mount (attach) this /dev/hda5 to the root (/) filesystem at any empty directory (mount point) whjich lies some where on (/) physically to make it available for usage.
Suppose you mount /dev/hda5 to some directory eg mydir in dirctory /mnt, as
A command named mount can be used as
Code:
mount /dev/hda5 /mnt/mydir
So, now your file structure on / will be like this logically
Code:
                          Root /
                            |
           |                       |                    |          |
      directory1              directory2              file1       mnt
            |                     |                                |
         |        |         |           |                         mydir
   directory1   file1     file1       file2                         |
       |                                                   |          |    |
   |    |     |                                         directory1   file1 file2
file1 file2 file3
There are lots of filesystems supported in linux. To know about these filesytems, you may visit this link http://wiki.linuxquestions.org/wiki/Filesystem or search google.

Last edited by manishsingh4u; 07-10-2006 at 05:35 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 a USB device issey *BSD 6 03-01-2006 03:16 AM
Can't keep my changes while mounting a device... thmonkey Linux - Hardware 2 12-16-2005 09:19 AM
whats the /dev/ device of my usb ports ? (for gnomeconfrernce (webcam problem)) qwijibow Linux - Newbie 1 12-27-2003 05:51 PM
Device Mounting? supern00b Linux - Newbie 6 10-15-2003 03:16 AM
Device mounting help! ss109 Linux - General 14 03-18-2002 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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