public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] rc-svcdir mount where from?
@ 2011-08-27 17:44 Konstantinos Agouros
  2011-08-27 18:08 ` Alex Schuster
  2011-08-27 18:15 ` Dale
  0 siblings, 2 replies; 6+ messages in thread
From: Konstantinos Agouros @ 2011-08-27 17:44 UTC (permalink / raw
  To: gentoo-user

Hi,

I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
I would need the mount line or an fstab entry for it. A grep in /etc/init.d
didn't help.

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



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

* Re: [gentoo-user] rc-svcdir mount where from?
  2011-08-27 17:44 [gentoo-user] rc-svcdir mount where from? Konstantinos Agouros
@ 2011-08-27 18:08 ` Alex Schuster
  2011-08-28 11:37   ` Konstantinos Agouros
  2011-08-27 18:15 ` Dale
  1 sibling, 1 reply; 6+ messages in thread
From: Alex Schuster @ 2011-08-27 18:08 UTC (permalink / raw
  To: gentoo-user

Konstantinos Agouros writes:

> I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
> I would need the mount line or an fstab entry for it. A grep in
> /etc/init.d didn't help.

You need to look into /lib/rc/sh/init.sh, the mount_svcdir() function:

/lib/rc/sh/init.sh: mount -n -t "$fs" $fsopts rc-svcdir "$RC_SVCDIR"

You can get the actual content of the $fs and $fsopts variables from the 
output of mount | grep svcdir.

	Wonko



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

* Re: [gentoo-user] rc-svcdir mount where from?
  2011-08-27 17:44 [gentoo-user] rc-svcdir mount where from? Konstantinos Agouros
  2011-08-27 18:08 ` Alex Schuster
@ 2011-08-27 18:15 ` Dale
  2011-08-27 19:57   ` Pandu Poluan
  1 sibling, 1 reply; 6+ messages in thread
From: Dale @ 2011-08-27 18:15 UTC (permalink / raw
  To: gentoo-user

Konstantinos Agouros wrote:
> Hi,
>
> I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
> I would need the mount line or an fstab entry for it. A grep in /etc/init.d
> didn't help.
>
> Konstantin
>    

I think it takes care of itself.  I don't have the line in fstab either 
but it's mounted here.  If it is working, I'd leave it alone since 
messing with it could break more than it fixes.

Or am I missing something here?

Dale

:-)  :-)



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

* Re: [gentoo-user] rc-svcdir mount where from?
  2011-08-27 18:15 ` Dale
@ 2011-08-27 19:57   ` Pandu Poluan
  0 siblings, 0 replies; 6+ messages in thread
From: Pandu Poluan @ 2011-08-27 19:57 UTC (permalink / raw
  To: gentoo-user

Same here. Never put it in fstab, but it automagically gets mounted.

Just like the rootfs thingy.

Rgds,


On 2011-08-28, Dale <rdalek1967@gmail.com> wrote:
> Konstantinos Agouros wrote:
>> Hi,
>>
>> I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
>> I would need the mount line or an fstab entry for it. A grep in
>> /etc/init.d
>> didn't help.
>>
>> Konstantin
>>
>
> I think it takes care of itself.  I don't have the line in fstab either
> but it's mounted here.  If it is working, I'd leave it alone since
> messing with it could break more than it fixes.
>
> Or am I missing something here?
>
> Dale
>
> :-)  :-)
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



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

* Re: [gentoo-user] rc-svcdir mount where from?
  2011-08-27 18:08 ` Alex Schuster
@ 2011-08-28 11:37   ` Konstantinos Agouros
  2011-08-29 11:38     ` Joost Roeleveld
  0 siblings, 1 reply; 6+ messages in thread
From: Konstantinos Agouros @ 2011-08-28 11:37 UTC (permalink / raw
  To: gentoo-user

In <1581460.4EaZMVgbQ3@weird> wonko@wonkology.org (Alex Schuster) writes:

>Konstantinos Agouros writes:

>> I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
>> I would need the mount line or an fstab entry for it. A grep in
>> /etc/init.d didn't help.

>You need to look into /lib/rc/sh/init.sh, the mount_svcdir() function:

>/lib/rc/sh/init.sh: mount -n -t "$fs" $fsopts rc-svcdir "$RC_SVCDIR"

>You can get the actual content of the $fs and $fsopts variables from the 
>output of mount | grep svcdir.
Hmmm but where is it filled with the directory structure? Or is this like
a union mount?

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



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

* Re: [gentoo-user] rc-svcdir mount where from?
  2011-08-28 11:37   ` Konstantinos Agouros
@ 2011-08-29 11:38     ` Joost Roeleveld
  0 siblings, 0 replies; 6+ messages in thread
From: Joost Roeleveld @ 2011-08-29 11:38 UTC (permalink / raw
  To: gentoo-user

On Sunday, August 28, 2011 11:37:20 AM Konstantinos Agouros wrote:
> In <1581460.4EaZMVgbQ3@weird> wonko@wonkology.org (Alex Schuster) writes:
> >Konstantinos Agouros writes:
> >> I do not have rc-svcdir in /etc/fstab. I know it comes with openrc but
> >> I would need the mount line or an fstab entry for it. A grep in
> >> /etc/init.d didn't help.
> >
> >You need to look into /lib/rc/sh/init.sh, the mount_svcdir() function:
> >
> >/lib/rc/sh/init.sh: mount -n -t "$fs" $fsopts rc-svcdir "$RC_SVCDIR"
> >
> >You can get the actual content of the $fs and $fsopts variables from the
> >output of mount | grep svcdir.
> 
> Hmmm but where is it filled with the directory structure? Or is this like
> a union mount?
> 
> Konstantin

It's mounted as a ramdisk-type.
The directory structure is created during boot-time as needed.

--
Joost



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

end of thread, other threads:[~2011-08-29 11:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-27 17:44 [gentoo-user] rc-svcdir mount where from? Konstantinos Agouros
2011-08-27 18:08 ` Alex Schuster
2011-08-28 11:37   ` Konstantinos Agouros
2011-08-29 11:38     ` Joost Roeleveld
2011-08-27 18:15 ` Dale
2011-08-27 19:57   ` Pandu Poluan

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