public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Double mount entry?
@ 2011-05-16 11:45 Pandu Poluan
  2011-05-16 13:23 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pandu Poluan @ 2011-05-16 11:45 UTC (permalink / raw
  To: Gentoo-user

Hmmm... just installed a new system... and when I type `mount`, I get this:

rootfs on / type rootfs (rw)
/dev/root on / type reiserfs (rw,noatime)
proc on /proc type proc (rw,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot type ext2 (rw,noatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)

What's rootfs? And what's rc-svcdir? Where do they come from?

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Double mount entry?
  2011-05-16 11:45 [gentoo-user] Double mount entry? Pandu Poluan
@ 2011-05-16 13:23 ` Dale
  2011-05-18  4:26   ` Pandu Poluan
  2011-05-16 14:49 ` Alan McKinnon
  2011-05-16 15:37 ` Paul Hartman
  2 siblings, 1 reply; 5+ messages in thread
From: Dale @ 2011-05-16 13:23 UTC (permalink / raw
  To: gentoo-user

Pandu Poluan wrote:
> Hmmm... just installed a new system... and when I type `mount`, I get this:
>
> rootfs on / type rootfs (rw)
> /dev/root on / type reiserfs (rw,noatime)
> proc on /proc type proc (rw,relatime)
> rc-svcdir on /lib64/rc/init.d type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
> devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
> shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
> /dev/sda1 on /boot type ext2 (rw,noatime)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
> (rw,noexec,nosuid,nodev)
>
> What's rootfs? And what's rc-svcdir? Where do they come from?
>
> Rgds,
> --
> Pandu E Poluan
> ~ IT Optimizer ~
> Visit my Blog: http://pepoluan.posterous.com
>
>
>    

You are not alone.  I have the same here:

root@fireball / # mount
rootfs on / type rootfs (rw)
/dev/root on / type reiserfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs 
(rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda8 on /var type ext3 (rw,commit=0)
/dev/sda6 on /usr/portage type ext3 (rw,commit=0)
/dev/sda7 on /home type reiserfs (rw)
/dev/sdc1 on /data type reiserfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
root@fireball / #


I think I read a while back this is a openrc thing.  It's just the new 
way of doing things.  No idea why but might be something we can't change.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Double mount entry?
  2011-05-16 11:45 [gentoo-user] Double mount entry? Pandu Poluan
  2011-05-16 13:23 ` Dale
@ 2011-05-16 14:49 ` Alan McKinnon
  2011-05-16 15:37 ` Paul Hartman
  2 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2011-05-16 14:49 UTC (permalink / raw
  To: gentoo-user; +Cc: Pandu Poluan

Apparently, though unproven, at 13:45 on Monday 16 May 2011, Pandu Poluan did 
opine thusly:

> Hmmm... just installed a new system... and when I type `mount`, I get this:
> 
> rootfs on / type rootfs (rw)
> /dev/root on / type reiserfs (rw,noatime)
> proc on /proc type proc (rw,relatime)
> rc-svcdir on /lib64/rc/init.d type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
> devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
> shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
> /dev/sda1 on /boot type ext2 (rw,noatime)
> binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
> (rw,noexec,nosuid,nodev)
> 
> What's rootfs? And what's rc-svcdir? Where do they come from?

openrc stuff. Your output is correct. Don't worry about it.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Double mount entry?
  2011-05-16 11:45 [gentoo-user] Double mount entry? Pandu Poluan
  2011-05-16 13:23 ` Dale
  2011-05-16 14:49 ` Alan McKinnon
@ 2011-05-16 15:37 ` Paul Hartman
  2 siblings, 0 replies; 5+ messages in thread
From: Paul Hartman @ 2011-05-16 15:37 UTC (permalink / raw
  To: gentoo-user

On Mon, May 16, 2011 at 6:45 AM, Pandu Poluan <pandu@poluan.info> wrote:
> What's rootfs?

/usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt

[snip]
What is rootfs?
---------------

Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is
always present in 2.6 systems.  You can't unmount rootfs for approximately the
same reason you can't kill the init process; rather than having special code
to check for and handle an empty list, it's smaller and simpler for the kernel
to just make sure certain lists can't become empty.

Most systems just mount another filesystem over rootfs and ignore it.  The
amount of space an empty instance of ramfs takes up is tiny.
[/snip]



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Double mount entry?
  2011-05-16 13:23 ` Dale
@ 2011-05-18  4:26   ` Pandu Poluan
  0 siblings, 0 replies; 5+ messages in thread
From: Pandu Poluan @ 2011-05-18  4:26 UTC (permalink / raw
  To: gentoo-user

-- 8< -- lots of snippage -- >8 --

Thanks everyone for the answers!

I had thought my system had gone mad. Apparently not. :-)

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-18  4:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 11:45 [gentoo-user] Double mount entry? Pandu Poluan
2011-05-16 13:23 ` Dale
2011-05-18  4:26   ` Pandu Poluan
2011-05-16 14:49 ` Alan McKinnon
2011-05-16 15:37 ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox