public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: USB sticks now mounting on /run/media instead of /media ?
Date: Fri, 4 May 2012 09:36:33 +0100	[thread overview]
Message-ID: <20120504093633.512944ff@hactar.digimed.co.uk> (raw)
In-Reply-To: <20120504033705.450d7612@khamul.example.com>

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

On Fri, 4 May 2012 03:37:05 +0200, Alan McKinnon wrote:

> > In my completely uninformed guess... a) tmpfs automatically 'cleans
> > up' every reboot, making sure old folders aren't sitting around stale
> > even if something did go wrong, and/or b) it's guaranteed writable for
> > the service that needs to make those mount points. I could probably
> > come up with a 'c', but I'd likely have to actually do a bit of
> > reading on the topic before rising looking even more foolishly un-read
> > on the topic than I already do! :-P
> >   
> 
> Here you go, one time c):
> 
> /run can be guaranteed to exist immediately after / is mounted, which
> fixes a whole slew of really horrible problems if it isn't.

But it cannot be guaranteed that / is mounted rw at this time, so /run o
tmpfs makes sense from that perspective. However, it is an illogical place
to mount removable devices, whereas the function of /media is immediately
obvious from its name. The link given indicates that systemd was already
mounting /media as a tmpfs, is it really worth switching to an
unintuitive location for the mountpoints just to save one tmpfs which
uses so little resources?


-- 
Neil Bothwick

If Bill Gates had a dime for every time a Windows box crashed...
 ...Oh, wait a minute, he already does.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-05-04  8:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-14  0:19 [gentoo-user] USB sticks now mounting on /run/media instead of /media ? walt
2012-04-15 22:44 ` Benny Gaechter
2012-04-18 17:04   ` Claudio Roberto França Pereira
2012-04-18 18:50     ` [gentoo-user] " walt
2012-04-18 20:23     ` [gentoo-user] " Michael Scherer
2012-05-03 20:18 ` [gentoo-user] " walt
2012-05-03 21:45   ` Walter Dnes
2012-05-03 21:48   ` Canek Peláez Valdés
2012-05-03 23:00     ` walt
2012-05-04  0:32       ` Canek Peláez Valdés
2012-05-04  0:33       ` Joshua Murphy
2012-05-04  1:37         ` Alan McKinnon
2012-05-04  8:36           ` Neil Bothwick [this message]
2012-05-04  5:51     ` [gentoo-user] [a bit OT] " pk

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=20120504093633.512944ff@hactar.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --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