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 |
/ is the root of the linux filesystem
/root is the /home of root, the linux administrator |
/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. |
Thats great...
thank you for both replies |
Technical question, so moved to Linux-General.
|
All times are GMT -5. The time now is 06:15 PM. |