Mountlist USB-Stick/CD/DVD AROS Hosted

AMIGASYSTEM · 2855

magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #15 on: August 10, 2022, 03:17:56 PM
Thanks for all the info, now I will study well EasyPeasy's Filemanager seems not to hide anything.
That can work as well (if you know how to do that).

In such case then you can for example use this article to have a better understanding of the directory structure of linux.

Do note however that easypeasy can differ from what is written in that article as every linux distribution does things its own way (it should not but it can). For example, there even is a Linux distribution out there that tries to mimic the Amiga filesystem directory structure (at least it explains how to do such a thing -> imho not advisable).


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #16 on: August 10, 2022, 05:01:57 PM
AFAIK, aros does not automatically detect changes to Linux filesystems. So if you insert a usb media, it will be mounted Linux side, but you'll have to restart aros in order to see it.

Paolo does not work, in the Host version "poseidon" is not present, in my opinion you would need a proper filesystem/device mountlist, as I do on WinUAE to mount SD, Pendrive, but also CD/DVD with the old mountlist we used on real Amiga.


magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #17 on: August 10, 2022, 06:08:58 PM
Paolo does not work, in the Host version "poseidon" is not present, in my opinion you would need a proper filesystem/device mountlist, as I do on WinUAE to mount SD, Pendrive, but also CD/DVD with the old mountlist we used on real Amiga.
Correct.

But, in case your Linux host does have a specific dedicated mountpoint for removable media such as the /media directory then you can mount that automatically by adding a mountlist entry to AROS' mountlist and mount that in the AROS startup sequence (or user-startup) or use any other method that suits you better.

Once that directory is mounted then a simple cd into the right directory will let you access the removable media.

Funny, as I never though of doing it that way.... Never too old to learn  ;D


dizzy

  • Junior Member
  • **
    • Posts: 59
    • Karma: +60/-0
    • YouTube channel
Reply #18 on: August 11, 2022, 12:51:58 AM



paolone

  • Legendary Member
  • *****
    • Posts: 569
    • Karma: +90/-0
Reply #19 on: August 11, 2022, 01:28:52 AM
Paolo does not work, in the Host version "poseidon" is not present, in my opinion you would need a proper filesystem/device mountlist, as I do on WinUAE to mount SD, Pendrive, but also CD/DVD with the old mountlist we used on real Amiga.
Correct.

But, in case your Linux host does have a specific dedicated mountpoint for removable media such as the /media directory then you can mount that automatically by adding a mountlist entry to AROS' mountlist and mount that in the AROS startup sequence (or user-startup) or use any other method that suits you better.

Once that directory is mounted then a simple cd into the right directory will let you access the removable media.

Funny, as I never though of doing it that way.... Never too old to learn  ;D


Are you sure it will work? I've moved many times to /media on hosted aria, but newer directories dynamically created by the filesystem are not shown unless I'll restart aros.


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #20 on: August 11, 2022, 01:48:40 AM

But, in case your Linux host does have a specific dedicated mountpoint for removable media such as the /media directory then you can mount that automatically by adding a mountlist entry to AROS' mountlist and mount that in the AROS startup sequence (or user-startup) or use any other method that suits you better.


EasyPeasy's Pendrive path is what you see in the screenshot (/media/8GB), but the mountlist doesn't work, maybe I'm doing something wrong, can you create me your example mountlist based on this path of mine?



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #21 on: August 11, 2022, 01:51:27 AM


But, in case your Linux host does have a specific dedicated mountpoint for removable media such as the /media directory then you can mount that automatically by adding a mountlist entry to AROS' mountlist and mount that in the AROS startup sequence (or user-startup) or use any other method that suits you better.

From AROS how do you access in the linux /media director paths.


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #22 on: August 11, 2022, 01:52:37 AM
https://youtu.be/BsEUUgSfAK0  :o

This was what I promised myself to do today, which was to install "poseidon" on AROS Hosted !

Linux side from the video you can't really see what you need to run, consider that I don't know Linux !


In this video you can see the use of "vusbhci.device" ... where can I find it !

https://www.youtube.com/watch?v=9JxydrCxiws
« Last Edit: August 11, 2022, 02:29:40 AM by AMIGASYSTEM »



Mazze

  • Junior Member
  • **
    • Posts: 88
    • Karma: +36/-0
Reply #23 on: August 11, 2022, 03:05:25 AM
From AROS how do you access in the linux /media director paths.

I did a test. I've added
MEDIA:
   FileSystem     = emul-handler
   Device         = MEDIA:/media
   LowCyl          = 0
   HighCyl          = 0
   Surfaces       = 1
   BlocksPerTrack = 1
   DOSType          = 0x454D5500
   Activate       = 1
#

to DEVS:Mountlist.

Then I inserted a DVD and started AROS (hosted). I opened a shell and entered "mount media:"




magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #24 on: August 11, 2022, 03:26:02 AM
Are you sure it will work? I've moved many times to /media on hosted aria, but newer directories dynamically created by the filesystem are not shown unless I'll restart aros.
I just double checked to make sure and for me running hosted on a raspberry pi this indeed works the way as described. I used the same mount-list-entry that mazze used.

I start AROS, mount media: then insert/remove a pendrive on the host. Every time i insert/remove a usb pendrive, the media directory (on the host) gets updated but the same update is shown in AROS for me.

Are you saying that AROS fails to 'notice' the changes in the media directory on your setup ?


I need to add an additional note: I 'remove' a removable device not by just unplugging it but by pressing a special 'eject' button that allows me to select the media to 'eject'. Perhaps that could be reason for behavioural differences (just a guess).
« Last Edit: August 11, 2022, 04:00:08 AM by magorium »



magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #25 on: August 11, 2022, 03:35:31 AM
From AROS how do you access in the linux /media director paths.
See mazze's answer. I use the same AROS mountlist entry.

Do note that mazze suggests to insert the removable media /before/ starting hosted AROS. That is the proper way to go if you need to make sure things are working. You can always try to do things in another way when you are certain the basic behaviour works.

There is no use in trying to get poseidon to work on hosted. The host OS is responsible for detecting device related changes. That is why having a hosted AROS is so darn handy as it does not depend on the presence/need of different/separate hardware drivers. That way AROS hosted works about anywhere (which is an added bonus).


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #26 on: August 11, 2022, 04:16:34 AM
From AROS how do you access in the linux /media director paths.

I did a test. I've added
MEDIA:
   FileSystem     = emul-handler
   Device         = MEDIA:/media
   LowCyl          = 0
   HighCyl          = 0
   Surfaces       = 1
   BlocksPerTrack = 1
   DOSType          = 0x454D5500
   Activate       = 1
#

to DEVS:Mountlist.

Then I inserted a DVD and started AROS (hosted). I opened a shell and entered "mount media:"

Thanks Mazze, I will try your mountlist.

OT:
Some time ago I sent a PM to know if there is a way to close "BoingIconBar" from a Shell, this I needed to change the graphic skin without rebooting the system, the closure needs because the graphic remains in use by the system and cannot be replaced.


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #27 on: August 11, 2022, 04:38:24 AM

There is no use in trying to get poseidon to work on hosted. The host OS is responsible for detecting device related changes. That is why having a hosted AROS is so darn handy as it does not depend on the presence/need of different/separate hardware drivers. That way AROS hosted works about anywhere (which is an added bonus).

Thanks to Mazze all "all the Media (CD/DVD/ISO/USB/Floppy)" are now available, but I noticed some slowness when opening a window with icons, from what I saw in the video instead with "poseidon" it seems to be much faster, probably this due to direct access.
« Last Edit: August 11, 2022, 04:52:20 AM by AMIGASYSTEM »



magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #28 on: August 11, 2022, 05:33:24 AM
@AMIGASYSTEM:
I wil not deny that (at the moment) scalos performance is (much) worse than wanderer when compared in the same situation.


deadwood knows this but you are impatient my young padawan  ;)

... The first goal is to get scalos working without issues (and unfortunately there are many small issues left, that will take time to get them sorted out) and once that is done, then and only then someone could have a look at speed related improvements.

There are a couple of factors that influence the speed:
- The removable media itself can be slow, or not cached properly on the host.
- scalos does a inspection of the icons and relies on its database to gather (additional user setting) information
- i have no idea how (if at all) scalos currently caches the icon-graphics
- deadwood scalos builds have debug active and that will slow down things a little as well.

There are probably more factors there but these were the first ones that came  to mind.

For sure I know that something is wrong with the png graphics (you have seen it as well) and that could influence things as well.

So, please be patient... Rome wasn't build in a day either  :D


magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #29 on: August 11, 2022, 06:39:10 AM
https://youtu.be/BsEUUgSfAK0  :o
Almost missed your post Dizzy  :-[

I gather that by default this isn't build (at least not for hosted) as there are no traces of vusbhci whatsoever. I would have no idea how to enable this and/or how to set it up (correctly).

Nice video btw :thumbsup: