linux-um archives
 help / color / mirror / Atom feed
From: stian@nixia.no
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [PATCH] uml: Simplify tempdir logic.
Date: Thu, 14 Nov 2013 14:25:48 +0100	[thread overview]
Message-ID: <4f471bf7dfaf984b17121486aeeb8233@nixia.no> (raw)
In-Reply-To: <52811BDA.2090705@google.com>

Den 2013-11-11 19:03, skrev Tristan Schmelcher:
> +	static const char fallback_dir[] = "/tmp";
> +	static const char * const tmpfs_dirs[] = {
> +		"/dev/shm",
> +		fallback_dir,
> +		NULL
> +	};

You should probably add /run/shm to the list of tmpfs directories to 
test for (ubuntu systems atleast use this).

Stian Skjelstad

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


  reply	other threads:[~2013-11-14 13:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11 18:03 [PATCH] uml: Simplify tempdir logic Tristan Schmelcher
2013-11-14 13:25 ` stian [this message]
2013-11-14 15:41   ` [uml-devel] " Tristan Schmelcher
2013-11-17 12:57 ` Richard Weinberger
2014-01-26 10:52   ` Richard Weinberger

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=4f471bf7dfaf984b17121486aeeb8233@nixia.no \
    --to=stian@nixia.no \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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