Re: [hatari-devel] Fsfirst issue with GEMDOS drive |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Fsfirst issue with GEMDOS drive
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Mon, 16 Sep 2024 12:06:44 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1726481211; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=Ksj1Jecix4j2kq5BPpq1gusJjbQZwTS6UNh24EImizE=; b=KdnPhwOuJo3TOIkSuPBc6v4bbY19wGgeKnF/AZK7GD2JvHwLPpx+SYLPDwTLIKM+ed i7oYbgNjff+kzx7mHu8TScwCAN9nyoEXyisDCVqZEt28p1a7WuFQD3LdV0u2i+JxUvgT xTEW3mbhJjbTjJKmzPMOK2qmR7EWbIwqYZKFJs5CbqtPOeog4XV6R09eCnBkQUpIqSeO 9QLPYS9n9rgwHRYdipxLgBAv24Z60G1eyNIN/eDMCPHVIAT6HMIk8iVSb7raZFvazQ10 I7Oh7o6WU3qhi1bwkMq/ED7D8eLt+xYs5eiSmee7cAYZaF3EXbD6Mzu2YlyLRttJGFXE COIw==
- Arc-seal: i=1; a=rsa-sha256; t=1726481211; cv=none; d=strato.com; s=strato-dkim-0002; b=FgVEuw0H6OPLQUNuJre5TT+w+7nqu0VeXBh9WSfQFj8iTGLECnG5m0pZKVvj1eQXTx lJ7KonO6wrqAQGgnG7XSZ8ftjDm0mADf724WbGLXtejzYQzgWZgGkCVo1EX2FJAch48X TdhK2+yiPHj8UeIJxfGnciYX8RtQPQQJNbt2ZGJ+/0FhJqMQvPYCJ0haTgMbegAw0Jaq qufgO4BwpKLoRxmUUvlERbxt7LgGO1ggOudbiLBro0RrNC5SBoXvWl6LmWsH4+wnxnVw NT8oR5qyM3ewKSTe1eJw8aSGBWVptrLH6fC5rg6wVds7R4GLUw8ePPPCMVWH9bDbW04K nzjQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1726481211; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=Ksj1Jecix4j2kq5BPpq1gusJjbQZwTS6UNh24EImizE=; b=j0RfHu+L14i/yC8ywTqHm6t13754r2M6xXK2CDZelbQUTLozd9KmRWPGgRiuQVoJwN wLbOWSio3AwHpQIrBHmd+yANB9vgmbpofn/PXMkYHZXrFE89X1poGGEAtrTle9xMUzzK hZRZ3si7uHtxdukLmbzylM0DzlAbWQd3mP1dQJQwR+b+xzlL0Dgzw6Fx4zdDn05cGkXb R+8eol+k+/yGoHDEDc51lMvepx7xPF3lXb2PyeR8fxYyJ7KTjY9JmnwYuPodovHJYg7T zGiIxYLbnWwi1p2RF6fhfeNdr/ku+YZjlF7GLTW0kd4nWD4vVPumrwx5JZBs/7dMe3fd tBAQ==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1726481211; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=Ksj1Jecix4j2kq5BPpq1gusJjbQZwTS6UNh24EImizE=; b=pW9qCla0RaAdeWpxUqcHOf61ijTC1YNEIPIKAueC9ajqqsfIvArwJyzXaOfH+CPcM+ NfNDaxYSbYsrwr2tQQBg==
Thank you, I can confirm that my code is working as expected now.
> Hi,
>
> On 14.9.2024 10.12, Uwe Seimet wrote:
> > When running Fsfirst on an existing file on a GEMDOS drive error -49 is
> > reported, even though the file is present.
>
> This should be fixed now (thanks to example code, and hint from Christian).
>
>
> This is logged:
> >
> > GEMDOS 0x4E Fsfirst("D:\HDDRUTIL\TEST.IMG", 0x7) at PC 0x16040BC
> > GEMDOS: D:\HDDRUTIL\TEST.IMG -> host: /home/us/TT/D/HDDRUTIL/TEST.IMG
> > GEMDOS 0x4F Fsnext() at PC 0x16040BC
> >
> > Note that I do not call Fsnext, only Fsfirst, but Fsnext is also logged.
>
> Logging is also fixed.
>
>
> > The file does not have any special permissions:
> >
> > -rw-rw-r-- 1 us users 15728640 Sep 14 08:48 TEST.IMG
> >
> > This happends regardless of the file attributes I pass to Fsfirst.
>
> It was regression from my previous fix, and happens only if FA_VOLUME is
> used in _previous_ Fsnext() calls.
>
> Thanks for reporting!
>
>
> - Eero
>
>