[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: Raq550: What is in partitions?
- Subject: [cobalt-users] Re: Raq550: What is in partitions?
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Mon Apr 12 17:43:00 2004
- Organization: BRTNet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I guess I really need to know is how to check the size of the partition and
how to tell what partition a folder is in.
The easiest way to see partition sizes is to do
df -h
(disk free in 'human' measurements)
That will show you the partitions and their sizes:
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 372M 67M 286M 19% /
/dev/hda1 45M 8.7M 34M 21% /boot
/dev/hda2 6.6G 3.4G 2.8G 54% /home
none 125M 0 124M 0% /dev/shm
/dev/hdb1 7.7G 4.4G 2.9G 60% /usr
/dev/hda5 251M 170M 67M 72% /var
(Note this example is not from a Cobalt system)
So the "Mounted on" column shows you all the partition names. Any
folder path that "fits" under one of those 'parent' names is in that
partition.
So on a Cobalt, all your virtual sites, etc, which are found at
/home/sites/siteX/web etc. live on the /home partition.
/usr/local/bin (in my specific case) falls under the /usr partition.
Cobalts have /, /home, and /var set up by default. So if the folder
path doesn't start with /home or /var, the folder lives on the /
partition.
Hope this helps.
-- bruce