Re: [new] f3 - test real flash memory capacity - ok?

2024-04-20 Thread Alexander Klimov
Congrats to my colleague Alvar Penning for getting the Icinga DB port accepted. Apropos new ports. Any chance for this little one to make it into -current? On 02.04.23 13:14, Alexander Klimov wrote: 7.3 is approaching. Would be cool if this little one gets included. On 14.11.22 23:01,

Re: [new] f3 - test real flash memory capacity - ok?

2023-07-21 Thread Alexander Klimov
For the record. This tool is not just for flash memory despite its description. Just tested a fresh OpenBSD box' root-and-only partition: 2 sectors of 1/2T "slightly changed". (Meanwhile the box doesn't react to my commands.) TL;DR: This (memory-type/SMART agnostic) tool is invaluable for

Re: [new] f3 - test real flash memory capacity - ok?

2023-04-22 Thread Alexander Klimov
7.3 -stable i386 ok. 7.3 -stable amd64 ok. Tarball: https://marc.info/?l=openbsd-ports=166846294830889=2 On 02.04.23 19:06, Omar Polo wrote: On 2023/04/02 13:14:40 +0200, Alexander Klimov wrote: 7.3 is approaching. Would be cool if this little one gets included. It won't make in time for

Re: [new] f3 - test real flash memory capacity - ok?

2023-04-02 Thread Omar Polo
On 2023/04/02 13:14:40 +0200, Alexander Klimov wrote: > 7.3 is approaching. Would be cool if this little one gets included. It won't make in time for 7.3 anymore. The port tree was already locked for the release and re-opened, and we're now happily hacking on 7.3-current. It could make 7.4

Re: [new] f3 - test real flash memory capacity - ok?

2023-04-02 Thread Alexander Klimov
7.3 is approaching. Would be cool if this little one gets included. On 14.11.22 23:01, Alexander Klimov wrote: On 14.11.22 10:34, Omar Polo wrote: On 2022/11/13 16:20:18 +0100, Alexander Klimov wrote: On 13.11.22 15:06, Omar Polo wrote: [...] anyway, with the unveil/pledge == -1 bit

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-14 Thread Alexander Klimov
On 14.11.22 10:34, Omar Polo wrote: On 2022/11/13 16:20:18 +0100, Alexander Klimov wrote: On 13.11.22 15:06, Omar Polo wrote: [...] anyway, with the unveil/pledge == -1 bit fixed the port is ok to me assuming it works; i haven't run-tested it. Apropos run-tested! Please could anyone give

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-14 Thread Omar Polo
On 2022/11/14 11:14:39 +0100, Alexander Klimov wrote: > On 14.11.22 10:34, Omar Polo wrote: > > anyway, with the unveil/pledge == -1 bit fixed the port is ok to me > I've pushed it. (But I don't understand why it's an actual problem. It's > a convention like execpromises=NULL and no

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-14 Thread Alexander Klimov
On 14.11.22 10:34, Omar Polo wrote: On 2022/11/13 16:20:18 +0100, Alexander Klimov wrote: On 13.11.22 15:06, Omar Polo wrote: [...] one more nitpick regarding how you updated the call to pledge and unveil; + if (unveil(args.dev_path, "r")) + err(1, "unveil"); I'd

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-14 Thread Omar Polo
On 2022/11/13 16:20:18 +0100, Alexander Klimov wrote: > On 13.11.22 15:06, Omar Polo wrote: > > [...] one more nitpick regarding how you updated the call to pledge and unveil; + if (unveil(args.dev_path, "r")) + err(1, "unveil"); I'd explicitly check that unveil returns -1

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-13 Thread Alexander Klimov
On 13.11.22 15:06, Omar Polo wrote: On 2022/11/13 13:34:52 +0100, Alexander Klimov wrote: On 13.11.22 12:36, Stuart Henderson wrote: One minor issue, argp-standalone only provides a static library, so this should use BUILD_DEPENDS rather than LIB_DEPENDS (essentially LIB_DEPENDS is

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-13 Thread Omar Polo
On 2022/11/13 13:34:52 +0100, Alexander Klimov wrote: > > > On 13.11.22 12:36, Stuart Henderson wrote: > > One minor issue, argp-standalone only provides a static library, so > > this should use BUILD_DEPENDS rather than LIB_DEPENDS (essentially > > LIB_DEPENDS is invalid unless there is a

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-13 Thread Alexander Klimov
On 13.11.22 12:36, Stuart Henderson wrote: One minor issue, argp-standalone only provides a static library, so this should use BUILD_DEPENDS rather than LIB_DEPENDS (essentially LIB_DEPENDS is invalid unless there is a WANTLIB entry to go with it). I would like guidance from someone who

Re: [new] f3 - test real flash memory capacity - ok?

2022-11-13 Thread Stuart Henderson
One minor issue, argp-standalone only provides a static library, so this should use BUILD_DEPENDS rather than LIB_DEPENDS (essentially LIB_DEPENDS is invalid unless there is a WANTLIB entry to go with it). I would like guidance from someone who knows pledge better than me about the NULL vs "" for

[new] f3 - test real flash memory capacity - ok?

2022-11-12 Thread Alexander Klimov
On 18.10.22 11:57, Stuart Henderson wrote: On 2022/10/16 14:51, Alexander A. Klimov wrote: Hello OpenBSD devs! Hello Michel! I'd like OpenBSD to have a package of Michel's software "F3". https://github.com/AltraMayor/f3 Today I checked out the snapshot ports tree, but didn't find F3 even