LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2004, 04:50 AM   #1
augustus123
LQ Newbie
 
Registered: Nov 2004
Location: kolakaran pettai
Posts: 7

Rep: Reputation: 0
what is the difference between "/" root directory and "/root" directory?


Hi,

I was new to Linux...

I was not able to understand the differnce between "/" , the root directory

and "/root" directory??

what's the use of these 2 directories?

Thanks
 
Old 11-19-2004, 05:05 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
/ is the root of the linux filesystem

/root is the /home of root, the linux administrator
 
Old 11-19-2004, 05:39 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
/root is the home-directory of user "root", the linux administrator (sorry abisko, but even though you're right, don't write "/home of root": it's just confusing for beginners).

In short, all users have their home under /home, so user "joe" will be in /home/joe. User "root" is the only exception, its home being in /root, not /home/root.

That being said, especially when speaking about partitioning, some people tend to write /root when they mean just /. That is because in this case, we know that:
- we are speaking about partitions,
- and directory /root shouldn't be a partition on its own, but rather part of /.
So confusion is kind of "limited".

Yves.
 
1 members found this post helpful.
Old 11-19-2004, 06:23 AM   #4
augustus123
LQ Newbie
 
Registered: Nov 2004
Location: kolakaran pettai
Posts: 7

Original Poster
Rep: Reputation: 0
Thats great...

thank you for both replies
 
Old 11-20-2004, 05:22 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Technical question, so moved to Linux-General.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
accidentally renamed my root " / " directory rioguia Linux - Newbie 24 10-28-2004 02:47 PM
HELP! - root directory "/" 100% CAPACITY JM_Fraser Linux - Software 11 11-28-2003 03:41 PM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 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
Open Source Consulting | Domain Registration