Not for me, what did you change to your last comment?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Maybe in a later version I will make it keep trying every x seconds to connect if it fails the first time, but right now it only makes one attempt at connecting to the share and if that fails it gives up.
Is there also a way to poll for offline shares and remove them?
Right now i have yet to find a way to actually dismount offline shares as dismount refuses to do so. I get an error about the target being not available, dismount's force switch doesn't help either.
Does anyone know how to get rid of a share once it went offline? (Because right now it stalls the WB)
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Is it even possible to remove a (non-available) device?
smbfs had a task glued to every incarnation which was handy because it would be removed even after the share went offline.
But as soon as any smb2fs share goes missing (i.e. Windows machine shuts down, the share is unreachable in every way, even removing it with "dismnount" will yield an error message.
Help? Hints? Ideas?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
It is important that you remove the brackets () in the handler the tooltype ACTIVATE=0, otherwise the share will not be registered under AmigaOs 4.1. You can also use ACTIVATE=1 if you start the handler only when you need it.
Mine are called "SMB2_Name-of-the-Share:" (using 4 to 5 for now).
That "dismount force" command was the first i tried, it didn't help as it already tells me that the target is not available.
I use 4 shares from a NAS (which doesn't really need dismounting) and one from a Windows machine (which boots and shuts down regularly). That Windows share is the culprit, as it freezes the OS once it shuts down. It doesn't come back automatically when the machine is up again either, so it's rather awkward to have to reboot just because of dumb Windows is gone.
I looked around at thew depot and on aminet, there doesn't seem to be a program which can do what i'm looking for, though i still have to test "assign dismount" on both the device and volume name...
Or maybe i'll go back to smbfs for that Windows share?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
You must not blame Windows when it shuts down and disconnects, the problem is unfortunately with AmigaOs4.1 it simply does not recognize when a connection is lost and does not log off the shared order.
Your configuration is also a bit difficult, I use smb2 under QemuPeg2 AmigaOs4.1 to be able to move data from host/guest and that works really well.
I would like to help you as you helped me, but unfortunately I don't know what to do in this situation. I am sorry......
If it doesn't work the way I'd like it to there's always smbfs to go back...not that I use the win share much anyway.
I'll maybe even switch to using devs:dosdriver mountfiles instead of scripts.
But maybe someone can still explain how to use the obfuscated passwords, I didn't really read it up yet
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Did you ever get an answer from OnyxSoft wrt Backup?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Renaming files/directories that only change case status doesn't work
e.g. rename "Sound" as "sound" Error: Rename failed - object already exists
linux share on ext4 fs
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Apparently it is possible to set some samba servers to timeout connections after a period of inactivity (for smbd this can be done using the deadtime option in /etc/samba/smb.conf) and smb2fs doesn't handle this situation very well ATM.
Ideally smb2fs should detect this somehow and restart the connection when it happens, but as a quick fix I tried to make smb2fs ping the server at regular intervals using smb2_echo() to keep the connection alive but this didn't seem to help.
I don't find it on the depot and on github only the Arosa version seems to be released
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
i didn't find an entry on the Enhancer bug tracker for smb2fs, so i'm posting this here.
I found a nasty little bug which alters/mangles directory/file name entries by simply adding a single character to the name.
Steps to reproduce: 1) Open up any share 2) Create a new directory or file (root or where ever) and call it whatever 3) After creation, rename it and simply add either a "<" or a ">" to it 4) After renaming, update the directory entries or close and reopen the directory and boom, your directory/file was renamed to something completely different.
I only found the two characters "<" and ">" to show this behaviour so far...strange little bugger, that is
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
I wonder why it is raised through Enhancer? I did not know there was a connection.
---
I also wonder if this is anything to do with the ABCSH getting confused over the use of redirection character(s) being used rather than a bug in smb2fs. It would be interesting to see what string is _really_ being sent through smb2fs as the new name; whether those characters should be escaped...
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.