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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2012-04-13 at 14:05 -0500, Steven Stern wrote:

> 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.

Just put an entry in /etc/fstab . udisks respects any configuration
found in /etc/fstab; if there's a line there for the disk it's about to
mount, it will mount it in the location specified.

So just:

/dev/disk/by-label/MyBackupDrive   /media/MyBackupDrive  ext4   defaults    1 2

should do the trick fine.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux