1) Yes
2) / holds all sub-folders and therefore does hold all the system files, here is a better breakdown
/bin = executable binaries
/boot = boot image files
/home = user's folder for documents and user specific settings
/sbin = binaries typically for root to use
/var = varying data like logs, dmegs, boot messages and server output logs, sometimes temp files
/etc = system configuration files.
3) I agree with acdi_kewpie, but to clarify, you can typically use the (--prefix=) to specify where you want the application to install to. So if I was installing firefox, I could do a this
./configure --prefix=/home/firefoxapp
make && make install
and this would install firefox under the /home/firefoxapp/ folders
Chopping up a hard drive can get tricky. Normally my (/) is only 2GB or less, but I usually create a partition for /usr, /var, /home/ and /boot. Since you have a small hard drive, I'll agree with your setup:
50MB = /boot
4GB = /
4GB = /home
Quote:
WHY DO SOME USERS CRETAE var & temp & boot PARTITIONS TOO??
|
If you are super paranoid, have nothing better to do, or have done it since day one, then here are some reasons for creating partitions for those.
{/var} = Since log files are located here, if I could attack your system and create a loop in the log, the log would fill until that partition becomes 100% full. If /var is on a 2GB partition, that is all that would fill up. If /var is on the same partition as /, then I could fill up the partition that holds a few more folders and I'd have a better chance of screwing you royally. This reason holds true for /tmp also.
{/boot} = Honestly, I was told to do this and have always done so. My reason is because it helps me realize when I've compiled too many kernels and my 50MB is filling up. Other reasons would be, if filesystem corruption occurs, you have the boot image, kernel, and possibly the .config for your system. Another good advice is to set the fstab to noauto for boot. This unmounts it after the kernel is loaded so /boot is not on the / filesystem unless root re-mounts it.
I think I got everything. If I missed it, let me know