New version of filesysbox for AROS

salass00 · 5087

salass00

  • Newbie
  • *
    • Posts: 19
    • Karma: +25/-0
    • A500.org
on: January 14, 2023, 06:29:42 AM
Just over seven years after the release of version 53.6 (looks like I never created a binary archive for V53.7  ???) version 54.1 is now available for i386-aros (and also m68k-amigaos) at:
https://github.com/salass00/filesysbox/releases

The V54.0 version which brought the AROS/OS3 back port up to a similar level as the AmigaOS 4 port feature wise was thanks to the work of BSzili.

Changes since the previous release are:

filesysbox.library 53.7 (26.4.2018)

- Got rid of all the GetXxxBase macros.

- Fixed an out of bounds array access in FbxUpdatePaths() which would result
  in memory after the FbxFS struct being trashed.


filesysbox.library 54.0 (22.12.2022)

- Added timezone conversion code using locale.library.

- Calculate a path hash for fib_DiskKey unless FBXF_USE_INO flag is set.

- Added FBXF_USE_FILL_DIR_STAT flag to avoid unnecessary getattr() calls for
  filesystems like ssh2-handler that already provide all the stat data in
  readdir().

- Don't treat ENOSYS return value from FbxSetAmigaProtectionFlags() as an
  error.

- Rewrote the FbxFillInfoData() function and made it set id_BytesPerBlock to
  512 instead of zero if a volume is not available.

- Modified path handling for Ext2FileSystem which only accepts "/" as path
  argument for the file system root directory and not "".

- Rewrote FbxReturnMountMsg() using ReplyPkt() and added a NULL msg safety
  check.

- Added some more validity checks when reading FSSM from device node in
  FbxSetupFS().

- Added validity checks in code for getting FSSM in FbxQueryMountMsg().

- Changed CHECKVOLUME() macro to return ERROR_NOT_A_DOS_DISK instead of
  ERROR_OBJECT_IN_USE when the filesystem is inhibited.

- Added semaphore protection in FbxHandleTimerEvent().

- Added the FbxQueryFS() and FbxQueryFSTags() functions.

- Added the FbxGetSysTime() function.


filesysbox.library 54.1 (14.1.2023)

- A rename operation with exactly the same source and destination is now
  treated as a no-op and returns success rather than ERROR_OBJECT_EXISTS.

- Rename operations where the the only change is in letter casing (e.g.
  "rename tmp TMP") no longer fail with ERROR_OBJECT_EXISTS on case
  insensitive file system implementations.

- Advance the file position in FSWrite() also if write() returns a lower
  number of bytes written than was specified.

- Implemented the same charset conversion system that is used in the latest
  AmigaOS 4 filesysbox versions. Internally filesysbox still uses UTF-8 for
  all strings and conversion only happens when strings are passed to or from
  the AmigaDOS API. In order for the conversion to be reversible any UTF-8
  characters that do not have an equivalent in the local charset will be
  converted into URL-style escape sequences where the character is specified
  as a base32 encoded character sequence preceded by a percent symbol.



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #1 on: January 14, 2023, 06:31:56 AM
thank you :)



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #2 on: January 14, 2023, 07:53:43 AM

filesysbox.library 54.1 (14.1.2023)

- A rename operation with exactly the same source and destination is now
  treated as a no-op and returns success rather than ERROR_OBJECT_EXISTS.


On Wanderer this problem has not been solved, it is not possible to rename the same file from lowercase/uppercase or vice versa.
The "move" problem has also not been solved, instead of moving a file/folder, it just makes a copy.


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #3 on: January 15, 2023, 12:05:43 AM
@salass00

Thanks for the new release. If you have questions in the future development about AROS specifics, please feel free to contact me. :)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #4 on: January 15, 2023, 09:47:28 AM
@salass00

Thanks for your time and effort.  :)



salass00

  • Newbie
  • *
    • Posts: 19
    • Karma: +25/-0
    • A500.org
Reply #5 on: January 16, 2023, 05:09:57 AM
Version 54.2 of filesysbox for AROS/OS3 is now available. It is mostly a few bug fixes but a couple of new features are an AVL tree for faster unicode to local charset conversion of non-ASCII characters and ACTION_DIE packet support, which was implemented by BSzili.

@deadwood

Thanks for the offer and I will keep it in mind.



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #6 on: January 16, 2023, 05:26:38 AM
thank you :)



salass00

  • Newbie
  • *
    • Posts: 19
    • Karma: +25/-0
    • A500.org
Reply #7 on: January 17, 2023, 01:16:14 PM
While working on an AROS port of smb2-handler I found  a bug in the OS3/AROS port of filesysbox that resulted in random seek failures (fuse_file_info structures were not cleared when allocated) and a bug in libsmb2 that was only triggered on AROS because of how the AROS libc defines O_RDWR (I've created a pull request on the libsmb2 repo for it).



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #8 on: January 17, 2023, 08:12:04 PM
yes we have problems even with the old version of samba at least for a tried to use it at the moment you can not use this protocol, thanks



salass00

  • Newbie
  • *
    • Posts: 19
    • Karma: +25/-0
    • A500.org
Reply #9 on: January 18, 2023, 07:46:01 AM
OS3 and AROS ports of smb2-handler are now available at:
https://github.com/salass00/smb2fs/releases

As Zune didn't have an equivalent class that I could use to replace the ClassAct/ReAction requester.class (used for the password requester) I simply disabled this code in the AROS port for now, so on AROS the password will have to be specified in the DOSDriver/Mountlist entry.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #10 on: January 18, 2023, 08:10:31 AM
Thank you, great update !


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #11 on: January 18, 2023, 08:29:57 AM
yes great update :D



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #12 on: January 20, 2023, 09:02:14 AM
On Aros with Network Manager you usually configure Samba but with the old handler there are problems you can rename the new handler as the old and see if the procedure is successful I do not know about networks :-\

Thank you



paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #13 on: January 20, 2023, 10:18:16 AM
I tried the handler with no success. :-(


I created a mountlist file called ENNE in DOSdrivers with the suggested lines, using this URL


Startup = "smb://Paolone:mypassword()192.168.xxx.xxx/N$"


I don't get any error message when I try to mount ENNE, however there is no way to access the share. Any help?


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #14 on: January 20, 2023, 11:49:43 AM
I connected as a guest I did mount tells me the resource is already there but I do not see the device

Startup   = "smb://192.168.1.7/myshare NOPASSWORDREQ"