Linux Newbie help
 help / color / mirror / Atom feed
From: Paul Furness <paul.furness@vil.ite.mee.com>
To: Abhijit Vijay <abhijit_v@yahoo.com>
Cc: linux-newbie <linux-newbie@vger.kernel.org>
Subject: Re: Linux Mount Partitions
Date: 25 Oct 2002 14:32:23 +0100	[thread overview]
Message-ID: <1035552743.6875.74.camel@zebra.vil.ite.mee.com> (raw)
In-Reply-To: <20021025130434.49227.qmail@web13402.mail.yahoo.com>

/dev/cdrom is a link to a "device special file" which the system uses to
communicate with the cdrom drive. It is not a directory, so you couldn't
mount something on it.

The device files are (a little like) pointers to hardware. If you start
trying to change them around, you usually end up screwing up the system
in a big way unless you absolutely know what you are doing

As to what is normally mounted where: this varies from one build of unit
to another. Quite often, you have real partitiona mounted under /,
/boot, /usr, and possibly /home.

The reason file systems are mounted where they are is pretty much
historical convention; it is _possible_ to set up a system with
completely different directory structures, but it's pretty rare that
you'd do that because the conventions are well understood by unix /
linux savvy folks, a non-standard setup can take forever to understand,
and you gain nothing by changing it.

I guess it's just the way we all got used to. :)

To find out exactly what you have mounted where on your system there are
a couple of ways. The most complete techie way is to look at the
contents of /etc/fstab (pron "Eff-Ess-Tab", not ""Fstab") which tells
the system what to mount where. 

An easier way is to go to a command prompt and type:

df -k

and you should get a list a bit like this:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2             37334192  15128396  20309324  43% /
/dev/hda1               101089      8902     86968  10% /boot
none                    256948         0    256948   0% /dev/shm

"Filesystem" is the thing that's mounted, and the last column tells you
what it's mounted on.

Paul.


On Fri, 2002-10-25 at 14:04, Abhijit Vijay wrote:
> Hi All,
> 
> I had a query regarding linux mount partitions, which
> I was trying to understand. I understand that Linux
> mounts certain partitions by default at certain
> locations. You have the kernel image which is located
> at /boot (?) and the root partition /root mounted at /
> But why is it that /dev/cdrom is mounted by default on
> /mnt/cdrom? Why not reduce confusion and mount it on
> /dev/cdrom itself? Also, what are the other partitions
> that are mounted by default and their default
> locations?
> 
> Thanks in advance,
> Regards,
> Abhijit.
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
-- 
Paul Furness

Systems Manager

2+2=5 for extremely large values of 2.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2002-10-25 13:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <MSGID_110=3a10=2f1.2_8d16c3d8@linuxnet>
2002-10-22 13:25 ` CD-ROM settings and hardware resources Robert Couture
2002-10-22 19:45   ` Bryan Simmons
2002-10-23 15:49     ` pa3gcu
2002-10-23 19:20       ` Bryan Simmons
2002-10-23 19:34         ` Ray Olszewski
2002-10-23 20:36         ` pa3gcu
2002-10-23 21:51           ` Bryan Simmons
2002-10-24  6:40             ` pa3gcu
2002-10-24 10:35               ` Bryan Simmons
2002-10-24 14:04                 ` pa3gcu
2002-10-24  7:01             ` Ray Olszewski
2002-10-24 10:40               ` Bryan Simmons
     [not found]           ` <1035409609.31016.29.camel@localhost.localdomain>
2002-10-24  6:35             ` pa3gcu
2002-10-24 16:04               ` jbradford
2002-10-24 16:10                 ` Ray Olszewski
2002-10-24 11:11           ` jbradford
2002-10-24 13:24             ` Bryan Simmons
2002-10-25  8:42               ` Jude DaShiell
2002-10-25 10:00                 ` Bryan Simmons
2002-10-25 10:06                   ` Bryan Simmons
2002-10-25 13:04                 ` Linux Mount Partitions Abhijit Vijay
2002-10-25 13:32                   ` Paul Furness [this message]
2002-10-25 14:12                   ` Steven Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1035552743.6875.74.camel@zebra.vil.ite.mee.com \
    --to=paul.furness@vil.ite.mee.com \
    --cc=abhijit_v@yahoo.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox