UnMount

AMIGASYSTEM · 857

AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
on: April 26, 2023, 05:11:42 AM
I'm trying to compile the "C" source of "UnMount", but I'm getting some error, could someone correct this source so that I can compile it on AROS x86?, thanks

http://aminet.net/package/disk/misc/unmount-0.1


jacko

  • Newbie
  • *
    • Posts: 36
    • Karma: +1/-0
Reply #1 on: April 26, 2023, 11:55:31 AM
whats the difference to
assign devname: dismount
?



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #2 on: April 26, 2023, 12:32:50 PM
I'm trying to compile the "C" source of "UnMount", but I'm getting some error, could someone correct this source so that I can compile it on AROS x86?, thanks

http://aminet.net/package/disk/misc/unmount-0.1

It doesn't like the enum items which don't have values assigned. That's my guess.




AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #3 on: April 26, 2023, 12:36:19 PM
whats the difference to
assign devname: dismount
?

I know the "Assign DOSVOLUME: dismount" and "Assign DOSVOLUME: remove" commands.

I use those commands on AmigaOS/WinUAE see attached video, but unfortunately they don't work if I have to dismount a shared volume "SMB2" on VMvare, error "Volume in use", that's why I wanted to try UnMount, maybe it can do it !

https://www.youtube.com/watch?v=VCT0EdKSN6w


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #4 on: April 26, 2023, 12:38:05 PM

It doesn't like the enum items which don't have values assigned. That's my guess.

Thanks, I hope someone will make it compatible !


Mazze

  • Junior Member
  • **
    • Posts: 88
    • Karma: +36/-0
Reply #5 on: April 26, 2023, 01:28:22 PM
I've made it compilable. It's probably not of much help because it does the same thing as ASSIGN DISMOUNT. It sends an ACTION_DIE message.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #6 on: April 26, 2023, 03:38:58 PM
Thanks Mazze, i managed to compile your source on AROS One x86, but you were right, I get the same message.

I need to check if the problem is only on Virtual Machines or if it also happens on Native AROS x86.

Disconnecting the shared folder/network unit was important, basically SMB2 stops working after about 15 minutes if it is not used.