LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2022, 03:26 PM   #1
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Rep: Reputation: 0
How are these partitions being mounted?


Hi,

I'm having a strange issue (for me anyway ;-) with the auto-mounting of other partitions on /media. These partitions have other distros and I'm fine in principle with them auto-mounting but I am seeing strange behavior. For example:

1. When doing file/save in dolphin it defaults not to my home directory on my root partition but to my home directory on one of the /media mounts.
2. If I try to open a .html file in my browser that is on my root filesystem it says file not found. When opening the .html file by right-clicking in dolphin and selecting the browser the file opens but the uri window says the file is located on one of the /media partitions.

Maybe my first question is how are these partitions being mounted at all? These is nothing in my /etc/fstab, which only contains entries for /, /boot/efi and /swapfile. I do not have autofs installed. And my second is why does dolphin (at least) think my home/default directory is on one of these other partitions? I rarely need them automounted so would be happy if I could just turn that off and let dolphin and whichever other apps might be confused know about it.

Thanks in advance,
Brian

PS maybe someone could suggest a resource for learning about this kind of thing. I noticed more non-problamatic behaviour when I open an html file which is located on another box's fs which is mounted on mine. Opening that file in brave works but the uri shows /run/... instead of the normal /othermachine directory tree. So I'm curious what is going on.

PPS I have rpi fs mounted on lt. From lt, browse to an html file on rpi and open in vs code. File/save presents the rpi directory as expected. But open the same file in a browser and the uri reported is /run/user/1000/doc/(numbers)/index.html. Again I don't really care because I assume it is some kind of pointer to the actual location. BUT the src/main.js file is not found by the browser.

Last edited by Biscotty666; 09-26-2022 at 04:28 PM. Reason: More info
 
Old 09-27-2022, 09:19 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
Your DE is doing it. I run plain OpenBox myself which does nothing of the kind, can't really tell you how DE-s do it. I happen to know Thunar has daemon mode, it probably is started on Xfce systems when user logs in. KDE certainly has its own, etc.
 
Old 09-27-2022, 09:55 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
I believe the desktop's file manager uses something called pmount. Your user needs to be in the plugdev group for this to work, and the devices should not be in fstab. Sometimes the mount is on /media, sometimes on /run/media.

Personally I hate it when computers do things behind your back.
 
Old 09-29-2022, 02:13 AM   #4
Biscotty666
Member
 
Registered: Jul 2022
Distribution: Slackware 15, Arch
Posts: 33

Original Poster
Rep: Reputation: 0
Thanks for the input. I've not gotten very far because I needed to do some work so I moved to my development server and everything is fine there. Back to this a little, according to what I have read it could be related to udisks2, so I masked it and unmounted the /media mounts.I won't know if it works until I reboot, so, at some point. Dolphin is acting normally but I haven't tested any of the apps that had become problematic (this behavior was definitely a change so either I did something (likely) or it happened during an upgrade (possible).

I didn't want anyone to think I was ghosting this. Just busy and since my dev server is working this is a lower priority.

Again thank you and I'll report back what I learn.

Brian
 
Old 09-29-2022, 09:55 AM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Unknown external drives are routinely mounted by udev under /media or /run/media. However, if you have an entry in /etc/fstab for that device udev first checks fstab and it gets mounted accordingly. I use the UUID for the file system on the device in fstab and it works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HAL daemon does not reconize a mounted partition as mounted 888m Slackware 4 07-30-2007 12:58 PM
e2fsck: root partitions and ro mounted partitions Clemente Linux - General 4 11-06-2006 09:32 PM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
NFS: a mounted to b, b mounted to c, c can't read a? Steve Cronje Linux - Networking 9 10-25-2004 09:51 AM
Partitions, partitions, partitions..... Clueless in VA Linux - Newbie 7 08-08-2001 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration