All of lore.kernel.org
 help / color / mirror / Atom feed
* create empty directory
@ 2009-06-30 20:14 Daniel Drake
  2009-06-30 21:27 ` Warren Togami
  2009-07-01 14:51 ` Seewer Philippe
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Drake @ 2009-06-30 20:14 UTC (permalink / raw)
  To: initramfs

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


--
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

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

* Re: create empty directory
  2009-06-30 20:14 create empty directory Daniel Drake
@ 2009-06-30 21:27 ` Warren Togami
  2009-07-01 14:51 ` Seewer Philippe
  1 sibling, 0 replies; 3+ messages in thread
From: Warren Togami @ 2009-06-30 21:27 UTC (permalink / raw)
  To: initramfs

On 06/30/2009 04:14 PM, 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.
>

mkdir

--
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

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

* Re: create empty directory
  2009-06-30 20:14 create empty directory Daniel Drake
  2009-06-30 21:27 ` Warren Togami
@ 2009-07-01 14:51 ` Seewer Philippe
  1 sibling, 0 replies; 3+ messages in thread
From: Seewer Philippe @ 2009-07-01 14:51 UTC (permalink / raw)
  To: Daniel Drake; +Cc: initramfs

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

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

end of thread, other threads:[~2009-07-01 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.