Re: /run/media

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

 



On 12/27/22 12:29, Amadeus WM via users wrote:
I have a USB drive that I use for backup and in gnome (42.4) it gets
automatically mounted on /run/media/<user>/<drive>. However, I want to
export that as an NFS drive. Obviously this means that the drive be
mounted under a directory independent of the user, and whether or not the
user has started a gnome session.

So I can put an entry in /etc/fstab for that drive, using the UUID, but
how do I keep gnome from mounting it on /run/media in the first place?
I'm guessing it has to be a gnome setting somewhere.

For kicks, I asked chatGPT and this is is what it suggested:

1. Open the "Settings" application from the Applications menu.
2. In the left pane, click on "Details".
3. In the right pane, click on "Removable Media" in the list of options.
4. Under the "Removable Media" section, uncheck the "Automatically mount
removable drives" option.

which is not bad, except that in my gnome (42.4) I do not have a "Details"
item on the left pane. I do have a "Removable Media" item, but it doesn't
say anything about usb drives.

You could check the "don't prompt or run programs" checkbox, but that will apply to all devices. You might be able to create a udev rule to isolate that specific device.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux