From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SQ6V6-0003xj-U7 for garchives@archives.gentoo.org; Fri, 04 May 2012 00:36:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F60921C069; Fri, 4 May 2012 00:35:37 +0000 (UTC) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id AACAA21C05A for ; Fri, 4 May 2012 00:33:20 +0000 (UTC) Received: by vbbfc26 with SMTP id fc26so2024127vbb.40 for ; Thu, 03 May 2012 17:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=YPiB3Vg0j1Rc8bbMmTim9YngaybxeFzX5Lg+fPxEKFA=; b=oU5DCxS6caQQgE0qTCWG96/9UXH4Y4lqmIKXTKcvEAT90oAI7bwotoBdX+QE1fvp90 WStwxvP7+39Al6qrCLyN6RZw07s3oq+uA7V8Wg5tKlwIG17oQapyw2g33vZim9kFlVtw yZh05Me/i2jYohbN6+hODSIgKOVABvc/qStUcZd0zjjH57RKS//5PdrxKu+Xd/woQF+R 2ZqNVtvgxPfXu4lINqF0soOSfxZyfY+9YNeXdoCNGj+3XoxzxVkFE57gXT3+zuoiIvA9 O3I9/pyR/Y+YO8STBydJZJmrgVlr1Sx3/+71ZV7kcJseZABZ1dVaS/6m+6851o73eaUX 20zw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.152.8 with SMTP id e8mr2558282vcw.25.1336091600162; Thu, 03 May 2012 17:33:20 -0700 (PDT) Received: by 10.220.200.66 with HTTP; Thu, 3 May 2012 17:33:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 May 2012 20:33:19 -0400 Message-ID: Subject: Re: [gentoo-user] Re: USB sticks now mounting on /run/media instead of /media ? From: Joshua Murphy To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f33723ab-ad2c-48b3-ad09-02095b2eb467 X-Archives-Hash: cbb8090f2ff1eca6d8f92cb06380cdd6 On Thu, May 3, 2012 at 7:00 PM, walt wrote: > On 05/03/2012 02:48 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >> On Thu, May 3, 2012 at 3:18 PM, walt wrote: >>> On 04/13/2012 05:19 PM, walt wrote: >>>> >>>> =C2=A0A recent update >>>> (udev?) on my ~amd64 machines is now mounting removable drives >>>> on /run/media instead of /media. >>> >>> >>> Ha! I should have suspected Lennart from the beginning: >>> >>> http://cgit.freedesktop.org/systemd/systemd/commit/?id=3D231931ffba1bca= 9d8759bbd6f797e56f8c6971fa >> >> The link you posted has nothing to do with this; that's only a >> systemd-specific change in response to a change in udisks2. In other >> words, Lennart has nothing to do with this change, the responsible is >> David Zeuthen, udisks2 maintainer: >> >> https://plus.google.com/u/0/110773474140772402317/posts/NqPUifsFUYH > > Thanks for the correction. > >> And it's actually a pretty reasonable change (IMHO): now in multiseat >> configurations each user can plug a USB drive and only him/she will >> see it > > I've thought that for a long time. =C2=A0Mounting my own "personal mount"= on > a system directory never made any sense to me. =C2=A0However, /run/media = is > still a system directory, so it still doesn't make any sense to me. > > I think /home/wa1ter/media is a more logical choice. =C2=A0But I'm not do= ing > the coding in this bazaar ;) > > The upstream dev(s) seem intent on mounting removable media on a tempfs > for some reason. =C2=A0Do you know why? > > I understand completely the reason for inventing /run and making it a > tempfs (I think Lennart *was* involved in that), but why use /run when > it's not necessary or (IMHO) logical? 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 --=20 Poison [BLX] Joshua M. Murphy