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.