Move from /media to /run/media/$USER

Steven Stern subscribed-lists at sterndata.com
Fri Apr 13 19:05:43 UTC 2012


On 04/13/2012 12:25 PM, John Reiser wrote:
> On 04/13/2012 06:48 AM, Bill Nottingham wrote:
>> Release notes seem fine. Basically, removable media mounted in the
>> user's session are now  mounted in a user-specific directory.
> 
> There's still a problem: cold-plugged media, or even warm-plugged media.
> Cold-plugged (before boot) should be mounted under /media as soon as udisks2 runs.
> Warm-plugged (after boot but before login) probably should be, too,
> although there's room for discussion regarding /media/<label> versus
> /run/media/$next_console_login/<label>, particularly for multi-seat operation
> (Plugable.com, etc.), but particularly including login on either text or graphical
> local console.
> 
> However, they aren't recognized [mounted] at all (not even upon subsequent graphical
> login), and this is bad.  See https://bugzilla.redhat.com/show_bug.cgi?id=722712
> where there is some argument whether udisks2 or gvfs should bear the blame.
> 
> It can be handy to have a "permanently" mounted CD/DVD or USB2.0 flash device.
> 
This behavior messes up a bunch of scripts I've written that assume the
external USB drive "MyBackupDrive" will be hooked up as
"/media/MyBackupDrive" no matter who's logged in when it's plugged in.
Phooey.

-- 
-- Steve


More information about the test mailing list