LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help in directory strcuture (https://www.linuxquestions.org/questions/linux-newbie-8/help-in-directory-strcuture-613265/)

yusufs 01-13-2008 07:34 AM

Help in directory strcuture
 
Dear all,

I Understand during installation, /root and /swap are the mandatory directories.. /swap is taken automatically.. how much space do I have to give for the /root.... is /root and / are same ?..

after installation it shows,

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/VolGroup00-root
25G 2.4G 21G 10% /
/dev/sda1 99M 13M 82M 14% /boot
/dev/mapper/VolGroup00-devsda2
74G 26G 45G 37% /d01
/dev/mapper/VolGroup00-devsda3
119G 64G 49G 57% /d02
/dev/mapper/VolGroup00-devsda4
74G 1.6G 69G 3% /d03
none 1013M 0 1013M 0% /dev/shm


How can I have this /dev/mapper removed in all directories and have /dev/sda1 or /dev/sda2..


Please ignore if this question sounds silly as am a newbie posting in the newbie forum ?

Thanks
Yusuf

pixellany 01-13-2008 07:53 AM

the minimum partitions are for the filesystem root (/) and for swap. The first gets mounted to /. swap does not get mounted and is not a directory.

"/" is often called "root", and is the highest level of the filesystem tree. "/root" is the home directory for the "root user"---it is a very different meaning.

the /dev/mapper entries mean that you are using Logical Volume Management (LVM). You would have to re-configure the system to not use LVM. (I don't know how to do that)

geek745 01-14-2008 06:48 PM

General partition config - I would say 3 partitions minimum for a single OS:

1: mount at /, 8GB
2: mount at /data or /home, size to fill the disk
3: swap space, size is double RAM

If you think you might try different distros, create a couple more 8GB OS partitions.

For 2, mount at /data if you create more than one OS partition. This way, the user settings are retained in the /home directory on the same partition as the OS, and then create directories in /data owned by each user in your system and put their Documents, Images, Music, tmp, etc in there and symlink them into their /home/user directory. Read "man ln" for help symlinking.


All times are GMT -5. The time now is 04:25 AM.