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: Sat, 14 Sep 2024 11:27:39 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1726306063; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=i41AFGn0V9OQXczVp5MZij8PSfjdhOS+z8GdxuDopm4=; b=trE2ItJsyq4VNMo61x+eMdLBscFtRpaajoSpkCYg/wYooRdS7MDEdrJTMZF7x9wnp8 6Xt/B6HthN+ttWj3VzSOD+QQusS2YVlNnJECat87zrBsJ1V+Yus5pH3HRExlsDPtVNg4 T0Xgq9powHydo50amYsOBf18gGEyyOG9cNTbWeZXcboGUSXQ4v4IG6mm9XHPXPuvvoRP EoUYvgv1cVI7effsMVBFNq9otebCIa6b7QN6VeXTNUey+IZNW6dmgtjS9oRulzvExdBE 7fSA/hpEMvHlLHpQ4d8HjnbTc7Zp5WxlHmCn1xD8tm+vSgAzRL+evxQz4cesqOvnOCVN dYAA==
- Arc-seal: i=1; a=rsa-sha256; t=1726306063; cv=none; d=strato.com; s=strato-dkim-0002; b=Pm7WWWGY78UGx9WvWDC0eqclNpDOYXgyQ8KqRo9NlVtjfx1Q2XM2A7D3c7aje1hdhc zIOEu5yNnu/Altt9jSEkSWksrw97FAZRuMevkKwpYyO0UG2nH3ReqrXLosUYsZD5Mvhh 5PoYQewbiIWGtOsBIGX6vKdoTlP3msvgrk3kvwQEKnUmovuF6jVCGk8ekCpeKejbGQxo 6NcAINvt40iVP0vmDQqTh8Lrf9pFam+QFIl0f3o6RqPV2v965R0wPMvFRAPNyzHjZEtZ 3uvBK5PEWjnc8lWPuz8uoJ0hM7b1wc/eLaXLURk9OQFDhZug9fR7EBbilpFPYulLcw3e 9gMw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1726306063; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=i41AFGn0V9OQXczVp5MZij8PSfjdhOS+z8GdxuDopm4=; b=ZgG3zHpbM5Ut/hv4O4eetBguhNMQOBeRgJQLeG6AOhMuPuXqrBrRHCK7F7avxbQfAP pbREKYHdW1Wy/62t+7hkVXGVy0u1/ugUF6NpXfN/yimjrvck92vgMb1/tJNdHv/hpdys nobcFgEAR08Y8KMyCzEWdoeyvkDaPFeKiN1f7zGaIxEWaSgF1tpcmNzOt3QoAl/1c5L1 fVP0+t2CmLRRdZ+9VuGOpG+JURNXz/Q255RoPKeYbfhZwjAo0l7oDRNh3UX4qky9hgTF p7V70vPKpFBCzaxYPwYe0g6qJa8QFnOd6zXG02h6aeuQpwRhWbkzjxZ1hOzYiYzR//ni q/lA==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1726306063; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=i41AFGn0V9OQXczVp5MZij8PSfjdhOS+z8GdxuDopm4=; b=tPDOzJWQ6fPkx4SeXYSrBzmHrqZL8+ImedKrFuQCVUn6oDN4LLoPNy2AIdgdiSWzUM /4LI5mkVCgy+dW00/bDg==
This was with Linux, and another Fsfirst triggers it:
int main()
{
DTA dta;
Fsetdata(&dta);
Fsfirst("C:\\*.*, FA_VOLUME);
Fsfirst("D:\\HDDRUTIL\\TEST.IMG", FA_READONLY);
return 0;
}
The result of the second Fsfirst is -49. Without the first Fsfirst the
result is 0. D:\HDDRUTIL\TEST.IMG is an existing file.
> Uwe Seimet schrieb:
>
> > When running Fsfirst on an existing file on a GEMDOS drive error -49 is
> > reported, even though the file is present. This is logged:
>
> Can you please provide a minimal reproducible example? Because the one
> that I just wrote works as expected. This is with Hatari commit
> 8e0e3880, running under Windows.
>
> Regards
> Christian
> --
> Christian Zietz - CHZ-Soft - czietz@xxxxxxx
> WWW: https://www.chzsoft.de/
> New GnuPG-Key-ID: 0x8708B34C827B159E
> #include <stdio.h>
> #include <osbind.h>
>
> int main(void)
> {
> long res;
> res = Fsfirst("FSFIRST.TOS", 7);
> printf("%ld\r\n", res);
> return 0;
> }