Jump to content


Photo

Mount Manager

Device Manager openPLI 9.0 Mount

  • Please log in to reply
12 replies to this topic

#1 B.D.

  • Member
  • 10 posts

0
Neutral

Posted 18 November 2024 - 23:08

Hi all.
I installed both the developer and release versions on a Octagon SF8008 Supreme but I can't find the device/mount manager. I need it because the internal Hard Disk is being seen as SD1 and the external USB as HDD but I want the Hard disk to be HDD as it does in every other image I use but I can't find it.
Should I install an external plugin or is it hidden somewhere?
Thanks.



Re: Mount Manager #2 B.D.

  • Member
  • 10 posts

0
Neutral

Posted 19 November 2024 - 05:26

Never mind, I have found what I was looking for in the system plugins.
A mod can delete this thread if you want.



Re: Mount Manager #3 Dimitrij

  • PLi® Core member
  • 10,380 posts

+354
Excellent

Posted 19 November 2024 - 06:35

enigma2-plugin-systemplugins-mountmanager

 

Please answer in telnet:

for D in /sys/block/sd*; do echo "$D : $(readlink -fn $D/device)"; done

 


Edited by Dimitrij, 19 November 2024 - 06:36.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Mount Manager #4 WanWizard

  • PLi® Core member
  • 70,918 posts

+1,835
Excellent

Posted 19 November 2024 - 13:49

An USB device will never be mounted as hdd, unless it is labeled as such.

 

The OpenPLi solution is, use "e2label" to label your usb device something else, or remove the label, so it mounts as "usb".


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Mount Manager #5 B.D.

  • Member
  • 10 posts

0
Neutral

Posted 19 November 2024 - 18:01

An USB device will never be mounted as hdd, unless it is labeled as such.

Well, it did in my case, I actually had both the internal SSD and the external USB Stick both labelled as HDD, don't ask me how it can be possible. I wish I did some screenshot before so that I could show you.
Anyway I solved removing the label and assignin the right one (USB) to the stick.
Thank you all for the answers.

ps. I will take a look at that "e2label", thank you.


Edited by B.D., 19 November 2024 - 18:02.


Re: Mount Manager #6 WanWizard

  • PLi® Core member
  • 70,918 posts

+1,835
Excellent

Posted 19 November 2024 - 18:10

Well, obviously, if you'd labelled them as such. The first device detected ( = triggered a udev ADD event ) will get the spot.

 

This is also why we have chosen for using labels, as other mount solutions, like fstab, suffer from the same problem, which is that you can't control the device enumeration at boot time.

 

What is sda today can be sdb tomorrow (unless both are devices on the system "bus").


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Mount Manager #7 B.D.

  • Member
  • 10 posts

0
Neutral

Posted 19 November 2024 - 18:17

Well, obviously, if you'd labelled them as such.

I didn't label anything, it is a fresh install of the image and I'm doing everything from scratch to avoid old backups that carry outdated plugins in the new image causing issues.
That stick has it's own label but it's USB-32GB and has nothing to do with the HDD label assigned by the image.


Edited by B.D., 19 November 2024 - 18:17.


Re: Mount Manager #8 WanWizard

  • PLi® Core member
  • 70,918 posts

+1,835
Excellent

Posted 19 November 2024 - 19:45

Then I misunderstood, and have no idea. In OpenPLi, nothing removable is ever mounted on /media/hdd.

 

See https://github.com/O...s/mount.sh#L174


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Mount Manager #9 B.D.

  • Member
  • 10 posts

0
Neutral

Posted 19 November 2024 - 20:46

Never mind mate, the problem is solved.  :) 
I thank you for that code but I'm not a coder and would understand little of it.



Re: Mount Manager #10 cactos

  • Member
  • 5 posts

0
Neutral

Posted 19 November 2024 - 21:41

MountManager not skinned in default PLi-FullNightHD skin

 

skin_plugins.xml

  <!-- MountManager -->
  <screen name="DevicesMountPanel" position="fill" flags="wfNoBorder">
    <panel name="PigTemplate" />
    <panel name="KeyMenuTemplate" />
    <widget source="list" render="Listbox" position="780,105" size="1110,870" scrollbarMode="showOnDemand">
      <convert type="TemplatedMultiContent">
				{"template": [
				 MultiContentEntryText(pos = (90, 0), size = (720, 35), color = 0x0058bcff, color_sel = 0x00ffc000, font=0, text = 0),
				 MultiContentEntryText(pos = (200, 35), size = (800, 95), font=1, flags = RT_VALIGN_TOP, text = 1),
				 MultiContentEntryText(pos = (950, 0), size = (100, 28), font=2,color = 0x00999999, color_sel = 0x00999999, flags = RT_VALIGN_CENTER, text = 3),
				 MultiContentEntryPixmapAlphaBlend(pos = (0, 0), size = (80, 80), png = 2),
				],
				"fonts": [gFont("Regular", 32),gFont("Regular", 28),gFont("Regular", 25)],
				"itemHeight": 130
				}
			</convert>
    </widget>
  </screen>
  <screen name="DeviceMountPanelConf" position="fill" flags="wfNoBorder">
    <panel name="PigTemplate" />
    <widget name="config" position="780,105" size="1110,810" font="Regular;32" itemHeight="45" scrollbarMode="showOnDemand" />
    <widget name="Linconn" position="0,550" size="780,30" font="Regular;28" halign="center" valign="center" />
  </screen>


Re: Mount Manager #11 WanWizard

  • PLi® Core member
  • 70,918 posts

+1,835
Excellent

Posted 19 November 2024 - 23:14

Never mind mate, the problem is solved.  :)

 

I get that, but I hate it when I don't know why, so I might give the next person asking the wrong answer too ;).

 

As to the code, it says "if the device is not external, call it hdd, otherwise check what kind of device it is". Which suggests that for some reason, your USB device is not seen as external.

It is also quite rare that USB devices are enumerated before internal devices, as the internal bus is so much faster than USB.
 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Mount Manager #12 B.D.

  • Member
  • 10 posts

0
Neutral

Posted 19 November 2024 - 23:38

I wish I could flash in an empty slot for recreating the same situation so that I could show you but I can't because in my Octagon Supreme the SD card where the extra slot go is buggy and doesn't work and also my other three main slots are already taken by other images.
If I find the time in the next days I will make a backup of this image so that I don't have to do it all over again and reflash. Not tonight though.



Re: Mount Manager #13 WanWizard

  • PLi® Core member
  • 70,918 posts

+1,835
Excellent

Posted 19 November 2024 - 23:40

No worries. It isn't that important.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.




Also tagged with one or more of these keywords: Device Manager, openPLI 9.0, Mount

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users