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:31:53 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1726306317; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=CSaG660vvNY2Mg4g82PwTm8ioCT/ObbkPEJRthkGCGU=; b=d/Hyy0wWlacpRFALiEi5wPFFGy9JpimLoZGhS4M3z+aKNbrLNBeKEPej7L+3xgoVF9 UmdeEfzwEZ4p6vGkwstEVqRPelIN4UKpZlIpNR1bXxu3L5f3yu1supd0wxyWmhAqxd/z Q+LdoX+UKtI2jHVDKepKsXz2QUr2eYqot1Wg0/rDI1P8DJXUARkBLj4XS+cllaLoVC2l 44aCQylCWNIMptIK6RJ/tzFlYbahPnjeXbSwpUxfDSqycLxAeHxASUzqu9CVryA2WNTz jHw3wAncvbf290CH+poCH6L97yDsyWNbWDxcFeSokUBqjvs75wPU6oAAxuU4Nmdwbpe5 6VHA==
- Arc-seal: i=1; a=rsa-sha256; t=1726306317; cv=none; d=strato.com; s=strato-dkim-0002; b=OrG+bnJXLPpLLuYOhXbt1ZsseXgoein6yPVKAlHxqmwAZUfh66uREnaVrbqilumjwR syEyMgMAavpYKH+5UDh7a97NAv6NGigHr9CYDzOEVDt8HbF0DCT8Gng7YGwGhQs7Ehnp mtq45LDLDdwooLXILdiOBg9W9GKj23izsxeZjikPuvsREEw+jYE3jbUV0Li4AevFQAGW Gv178jwNcpBrFAbz4nH18EThv/m8hlawOc1t7N1Onw50nS8rhkrHRgTVykVwEe8sKHe9 jIgGFTtBE40k5L8nKQHbWwLS3dDe7Hod3uk9kQHvCEl2W1821DUx9zZtaILYwDDH0E/D +NVg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1726306317; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=CSaG660vvNY2Mg4g82PwTm8ioCT/ObbkPEJRthkGCGU=; b=p1UF9E7m0UdvTKzQqSxhZwQ+evqBCGF1ufOe2rlF7/xzaQ5r1XzdwkPnBGDnYgxyfl UB6lCA9GIalBr11S0f8/cTRag4+eyAq0KUiJhFciyy8zOe35Ih9+jJFBFCv41LbX9rYE KIBRWyi70vqnEaPdbrz84TQO9zsJ04D5K7MGm85z0Mr5sHQ3jCOjzo6s6d497geFs8wn BUXPFt+xSbMMpOs03L0jRnM5FPXVm33EZRHjNl1SAwggUSjOg5ynKV84PZhe8Xgba0Hc pnncqjtCR9NLNRBeER0sjAs75k2CIgbVmSnT2H2EYrb60XfjxyLSkioKZYk+1tgVlo5x uYGw==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1726306317; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=CSaG660vvNY2Mg4g82PwTm8ioCT/ObbkPEJRthkGCGU=; b=3NcNch/2vfjfxbvF8W8E+QH05YApXtFlIKE/JSTr0B0CH2KvSf1xdwQh/AHpuQrpPR Rakmt+2jiJwVx6aQbMBA==
Yes, this appears to match my observation, see my sample code.
> Christian Zietz schrieb:
>
> > with Hatari commit
> > 8e0e3880
>
> I do see one potential problem with this commit, though. Eero, since
> you've authored it, can you please recheck?
>
> If Fsfirst is called to get the volume label, you store the flag for the
> volume in the DTA of the process:
>
> https://github.com/hatari/hatari/commit/8e0e38804fb222c92a485a588fc0f72b4d8e62ff#diff-08b4eb2eb5973bd9152ce1f180a224afaa85d914dc3a2000ce4d1cb67cabcc97R3063
>
> However, if on a subsequent call to Fsfirst (this time for regular
> files) this flag is still in the DTA, the call will fail with ENMFIL (-49):
>
> https://github.com/hatari/hatari/commit/8e0e38804fb222c92a485a588fc0f72b4d8e62ff#diff-08b4eb2eb5973bd9152ce1f180a224afaa85d914dc3a2000ce4d1cb67cabcc97R2921
>
> Without the minimal example from Uwe, of course, we don't know if that's
> what he is observing.
>
> Regards
> Christian
> --
> Christian Zietz - CHZ-Soft - czietz@xxxxxxx
> WWW: https://www.chzsoft.de/
> New GnuPG-Key-ID: 0x8708B34C827B159E
>
>
>