[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Re: Raq550: What is in partitions?



Bruce,

Thank you. 

John


-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Bruce Timberlake
Sent: Monday, April 12, 2004 7:43 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Re: Raq550: What is in partitions?

> 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

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users