Gentoo Archives: gentoo-user

From: Joost Roeleveld <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rc-svcdir mount where from?
Date: Mon, 29 Aug 2011 11:39:17
Message-Id: 1908792.1C8D6t4F9H@eve
In Reply to: Re: [gentoo-user] rc-svcdir mount where from? by Konstantinos Agouros
1 On Sunday, August 28, 2011 11:37:20 AM Konstantinos Agouros wrote:
2 > In <1581460.4EaZMVgbQ3@weird> wonko@×××××××××.org (Alex Schuster) writes:
3 > >Konstantinos Agouros writes:
4 > >> I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
5 > >> I would need the mount line or an fstab entry for it. A grep in
6 > >> /etc/init.d didn't help.
7 > >
8 > >You need to look into /lib/rc/sh/init.sh, the mount_svcdir() function:
9 > >
10 > >/lib/rc/sh/init.sh: mount -n -t "$fs" $fsopts rc-svcdir "$RC_SVCDIR"
11 > >
12 > >You can get the actual content of the $fs and $fsopts variables from the
13 > >output of mount | grep svcdir.
14 >
15 > Hmmm but where is it filled with the directory structure? Or is this like
16 > a union mount?
17 >
18 > Konstantin
19
20 It's mounted as a ramdisk-type.
21 The directory structure is created during boot-time as needed.
22
23 --
24 Joost