From: Seewer Philippe <philippe.seewer-omB+W0Dpw2o@public.gmane.org>
To: Daniel Drake <dsd-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org>
Cc: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: create empty directory
Date: Wed, 1 Jul 2009 16:51:37 +0200 [thread overview]
Message-ID: <4A4B77F9.6080208@bfh.ch> (raw)
In-Reply-To: <1246392896.5695.22.camel@polyethylene>
Daniel Drake wrote:
> Hi,
>
> I'm creating a dracut module.
> What's the suggested way to create an empty directory in the initramfs
> from the install script?
>
> This will be used as a mount point by scripts in my module. I realise I
> could just mkdir it during boot, but it would seem better to create it
> in the initramfs.
>
> Thanks,
> Daniel
Have a look at modules/95nfs/install:
mkdir -p "$initdir/var/lib/nfs/rpc_pipefs"
Regards,
Philippe
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-07-01 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 20:14 create empty directory Daniel Drake
2009-06-30 21:27 ` Warren Togami
2009-07-01 14:51 ` Seewer Philippe [this message]
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=4A4B77F9.6080208@bfh.ch \
--to=philippe.seewer-omb+w0dpw2o@public.gmane.org \
--cc=dsd-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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