LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2008, 08:34 AM   #1
yusufs
Member
 
Registered: Oct 2007
Posts: 162

Rep: Reputation: 30
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
 
Old 01-13-2008, 08:53 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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)
 
Old 01-14-2008, 07:48 PM   #3
geek745
Member
 
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Username & Password Sync Fedora Directory and Microsoft Active Directory karnac01 Fedora 4 07-19-2010 01:51 AM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 01:40 PM
LXer: Directory services made easy with Fedora Directory Server LXer Syndicated Linux News 0 12-08-2006 04:54 AM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-04-2006 12:08 AM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration