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

Chris Adams cmadams at
Fri Apr 13 19:46:46 UTC 2012

Once upon a time, Steven Stern <subscribed-lists at> said:
> 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
> > (, 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
> > 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.

Yeah, is there a way to disable this behavior?
Chris Adams <cmadams at>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

More information about the test mailing list