public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joost Roeleveld <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rc-svcdir mount where from?
Date: Mon, 29 Aug 2011 13:38:02 +0200	[thread overview]
Message-ID: <1908792.1C8D6t4F9H@eve> (raw)
In-Reply-To: <1314531440.243242@rumba>

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



  reply	other threads:[~2011-08-29 11:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2011-08-27 18:15 ` Dale
2011-08-27 19:57   ` Pandu Poluan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1908792.1C8D6t4F9H@eve \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox