View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Sep 09, 2020 1:25 am Post subject: [solved] Where does /var/media/external come from ? |
|
|
It's on all my machines. On one it is blank. On the other two it has subdirs with the names of all the partitions on all the drives.
On one of those two: Code: | ~ $ du -sh /var/media/external/*
4.0K /var/media/external/sda2
4.0K /var/media/external/sda5
4.0K /var/media/external/sdb2
4.0K /var/media/external/sdb4
4.0K /var/media/external/sdc1
|
On the other:
Code: | # du -sh /var/media/external/*
2.7M /var/media/external/sda1
150G /var/media/external/sda2
4.0K /var/media/external/sdb1
3.3T /var/media/external/sdb2
665G /var/media/external/sdc1
It looks like a back door into all the partitions, but not mounted on some, mounted on others.
equery b /var/media/external yields a blank.
I'd rather not have this and I'm afraid the "rm" would wipe all the drives.
|
Last edited by Tony0945 on Wed Sep 09, 2020 2:32 am; edited 1 time in total |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2727
|
Posted: Wed Sep 09, 2020 1:57 am Post subject: |
|
|
From a quick look around SageTV software apparently creates exactly that, does that ring any bell for you? (doesn't seem to be in ::gentoo and personally never used)
Code: | protected void linuxRun()
{
// Check /dev/sdXX for new devices and when they show up then mount
// them in the /var/media/external/sdXX paths.
final String extDevRoot = SageTV.LINUX_ROOT_MEDIA_PATH; | Edit: can add that the entire /var/media isn't a standard thing to have (I don't have it on any of my gentoo systems). I don't see a reference to it in any ::gentoo ebuilds either, not that it means nothing uses it for sure but well. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Sep 09, 2020 2:31 am Post subject: |
|
|
Ionen wrote: | From a quick look around SageTV software apparently creates exactly that, does that ring any bell for you? |
Indeed it does! I have the binary installs. I have to look at the code. It's not a path I care for. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Sep 11, 2020 2:34 pm Post subject: |
|
|
Ionen wrote: | From a quick look around SageTV software apparently creates exactly that, does that ring any bell for you? (doesn't seem to be in ::gentoo and personally never used)
Code: | protected void linuxRun()
{
// Check /dev/sdXX for new devices and when they show up then mount
// them in the /var/media/external/sdXX paths.
final String extDevRoot = SageTV.LINUX_ROOT_MEDIA_PATH; | [b] |
Ionen, where did you find that source code snippet? I've been using the binary, but a proper source build with my libraries is the way to go. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2727
|
|
Back to top |
|
|
|