Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-13-2008, 07:34 AM   #1
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

25G 2.4G 21G 10% /
/dev/sda1 99M 13M 82M 14% /boot
74G 26G 45G 37% /d01
119G 64G 49G 57% /d02
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 ?

Old 01-13-2008, 07:53 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 06:48 PM   #3
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; 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.


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 12:51 AM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
LXer: Directory services made easy with Fedora Directory Server LXer Syndicated Linux News 0 12-08-2006 03:54 AM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 PM.

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