Re: Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- From: ac <"aec$news"@candt.waitrose.com>
- Date: Sat, 05 Aug 2006 21:41:47 +0100
Robert Newson wrote:
ac wrote:
....
Mounting is like activating or 'plugging-in' of your hard drive item
(device) into the active file system being used. The plugging-in
occurs at a certain place (the mount point) in the filesystem. The
filesystem is tree shaped and 'root' is the top. The mount point is an
empty directory which you wish to use for the mounted stuff.
Just to be confusing, the mount point directory doesn't have to be empty:
When a partition is mounted onto the filing tree at a specific directory,
the contents of the original directory become unaccessible until the mounted
filesystem (partition) is unmounted.
I've used this by creating empty files in the mount directories called
"Media.not.mounted". If I try to list the files there (using the ls(1)
command), if not mounted, I get told so!
Root is symbolised by
/
(a forward slash)
The full path to any directory (folder) or file is from root, for example
/dev/hda2/folder4
is the path to folder4, on the second partition on the first hard
drive (the primary IDE drive I believe)
Not quite. /dev/hda2 is raw access to the second partition on hda - if you
read that file you'll get the information from the disk directly as it is
stored; to access the data via the filesystem on that partition it *HAS* to
be mounted somewhere, whereupon files on that disk are then access via
${MOUNT_POINT}/directory4/file1 etc.
I have no problem with anything you have corrected, thanks. Please
note though that the op was asking a very newbie question, and I aimed
a simplistic answer at that level only, and by definition, it was
inadequate and incomplete for non newbies. I believe that non newbies
would not need to ask such a question in that way at all, and would
invite a more rigorous answer. I was a newbie for quite a while, and
appreciated and valued all answers (still do), although the more
rigorous an answer was, often it did not assist me as much as some of
the simplistic ones. Next time, I was able to ask a more informed
question. At an early stage I wondered what it would be like if I ever
began to forget what it would be like to actually forget what it used
to be like to have a windoze only existence. I know now, and it is
increasingly difficult to remember what a non linux life was like.
--
ac
.
- Follow-Ups:
- References:
- Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- From: monavis87
- Re: Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- From: ac
- Re: Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- From: Robert Newson
- Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- Prev by Date: Re: Questions re: mount points
- Next by Date: Re: Questions re: mount points
- Previous by thread: Re: Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- Next by thread: Re: Basic structure of Linux : File system, types of files with extentions, drive informations, and all the basics.
- Index(es):
Relevant Pages
|
|