Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question About the Output of "df" and Root Partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
wguayan
n00b
n00b


Joined: 09 Jul 2013
Posts: 25

PostPosted: Tue Jul 09, 2013 5:33 pm    Post subject: Question About the Output of "df" and Root Partiti Reply with quote

Greetings all,

I'm a new member in the Gentoo community. I completed my first installation last night, even booted into the kernel on the first try, YEE HAW!!

I do have a question however... one thing I've noticed is that if I run the command "df", it shows the root partitions twice, like this:

Code:

rootfs 15G 2.6G 12G 19%
/dev/sda2 15G 2.6G 12G 19%


What's the reason it shows up like that. On my other distros, root always shows up once.

Thanks!
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1692

PostPosted: Fri Jul 12, 2013 12:27 am    Post subject: Reply with quote

Here's what the Roy (who originally created OpenRC) wrote:

UberLord wrote:
AM088 wrote:
Could anyone tell me why root now gets mounted twice?
mtab shows:
/etc/mtab:
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0


What's rootfs?


rootfs is where / was mounted for the kernel to boot
/dev/root is where / *may* have been relocated later.

Most distros filter out rootfs. Gentoo used to as well, but now we cannot as some users like to overmount / with tmpfs (which does require a kernel patch) and requires this is not filtered out.

_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum