Re: [new] sysutils/lsblk

2023-06-22 Thread Stuart Henderson
On 2023/06/22 12:25, Benjamin Stürz wrote: > Hi, > > On 19.06.23 12:24, Omar Polo wrote: > > On 2023/06/19 09:09:39 +0200, Benjamin Stürz > > wrote: > > > Hi, > > > > > > sorry if this is getting a little annoying. > > > > sorry, i thought it was already in tree. > > > > I've added MAKE_ENV

Re: [new] sysutils/lsblk

2023-06-22 Thread Benjamin Stürz
Hi, On 19.06.23 12:24, Omar Polo wrote: On 2023/06/19 09:09:39 +0200, Benjamin Stürz wrote: Hi, sorry if this is getting a little annoying. sorry, i thought it was already in tree. I've added MAKE_ENV += CC="${CC}" and imported, thanks! I just realized that I left in the mystuff

Re: [new] sysutils/lsblk

2023-06-22 Thread Omar Polo
On 2023/06/22 12:25:16 +0200, Benjamin Stürz wrote: > Hi, > > On 19.06.23 12:24, Omar Polo wrote: > > On 2023/06/19 09:09:39 +0200, Benjamin Stürz > > wrote: > >> Hi, > >> > >> sorry if this is getting a little annoying. > > > > sorry, i thought it was already in tree. > > > > I've added

Re: [new] sysutils/lsblk

2023-06-19 Thread Benjamin Stürz
Hi Paul & @ports, On 19.06.23 13:59, Paul de Weerd wrote: Hi Benjamin, Patience is a difficult virtue ;) I didn't expect this journey to be almost 2 months long, especially for a simple tool that just prints which disks you have. But I think I now have figured out what I need to submit my

Re: [new] sysutils/lsblk

2023-06-19 Thread Omar Polo
On 2023/06/19 09:09:39 +0200, Benjamin Stürz wrote: > Hi, > > sorry if this is getting a little annoying. sorry, i thought it was already in tree. I've added MAKE_ENV += CC="${CC}" and imported, thanks!

Re: [new] sysutils/lsblk

2023-06-19 Thread Stuart Henderson
That was an ok. -- Sent from a phone, apologies for poor formatting. On 19 June 2023 08:09:55 Benjamin Stürz wrote: Hi, sorry if this is getting a little annoying. On 11.06.23 09:34, Stuart Henderson wrote: On 2023/06/10 23:40, Benjamin Stürz wrote: Hi, what should I do next? I have at

Re: [new] sysutils/lsblk

2023-06-19 Thread Benjamin Stürz
Hi, sorry if this is getting a little annoying. On 11.06.23 09:34, Stuart Henderson wrote: On 2023/06/10 23:40, Benjamin Stürz wrote: Hi, what should I do next? I have at least 2 OKs now, but I don't have any commit rights. I only count 1 developer ok so far (op@). I'll add my ok but I'd

Re: [new] sysutils/lsblk

2023-06-14 Thread Paul de Weerd
I've tested 1.2.4 and it works well for me; thanks again Benjamin! Paul On Thu, Jun 08, 2023 at 10:44:12PM +0200, Benjamin Stürz wrote: | Hi Laurent, | | On 31.05.23 15:29, Laurent Cheylus wrote: | > On Tue, 30 May 2023 17:28:00 +0200, Benjamin Stürz wrote: | > | > > lsblk(8) is a simple tool

Re: [new] sysutils/lsblk

2023-06-11 Thread Theo de Raadt
Stuart Henderson wrote: > On 2023/06/11 12:56, Benjamin Stürz wrote: > > On 11.06.23 09:34, Stuart Henderson wrote: > > > On 2023/06/10 23:40, Benjamin Stürz wrote: > > > > Hi, > > > > > > > > what should I do next? > > > > I have at least 2 OKs now, but I don't have any commit rights. > > > >

Re: [new] sysutils/lsblk

2023-06-11 Thread Stuart Henderson
On 2023/06/11 12:56, Benjamin Stürz wrote: > On 11.06.23 09:34, Stuart Henderson wrote: > > On 2023/06/10 23:40, Benjamin Stürz wrote: > > > Hi, > > > > > > what should I do next? > > > I have at least 2 OKs now, but I don't have any commit rights. > > > > I only count 1 developer ok so far

Re: [new] sysutils/lsblk

2023-06-11 Thread Benjamin Stürz
On 11.06.23 09:34, Stuart Henderson wrote: On 2023/06/10 23:40, Benjamin Stürz wrote: Hi, what should I do next? I have at least 2 OKs now, but I don't have any commit rights. I only count 1 developer ok so far (op@). Sorry, I thought Build and tests OK on current/amd64 in a VM on

Re: [new] sysutils/lsblk

2023-06-11 Thread Stuart Henderson
On 2023/06/10 23:40, Benjamin Stürz wrote: > Hi, > > what should I do next? > I have at least 2 OKs now, but I don't have any commit rights. I only count 1 developer ok so far (op@). I'll add my ok but I'd prefer to add something like this to DESCR: Because it accesses the raw disk devices, it

Re: [new] sysutils/lsblk

2023-06-10 Thread Benjamin Stürz
Hi, what should I do next? I have at least 2 OKs now, but I don't have any commit rights. Could someone import lsblk into the ports tree? Thanks, Benjamin Stürz On 09.06.23 09:19, Laurent Cheylus wrote: On Thu, 8 Jun 2023 22:44:12 +0200, Benjamin Stürz wrote: I have finally gotten OpenBSD

Re: [new] sysutils/lsblk

2023-06-08 Thread Benjamin Stürz
Hi Laurent, On 31.05.23 15:29, Laurent Cheylus wrote: On Tue, 30 May 2023 17:28:00 +0200, Benjamin Stürz wrote: lsblk(8) is a simple tool to list attached block devices. This specifically is a clone of the one in util-linux. This is actually my second attempt of submitting this port. This

Re: [new] sysutils/lsblk

2023-05-31 Thread Stuart Henderson
On 2023/05/31 19:12, Benjamin Stürz wrote: > On 31.05.23 15:29, Laurent Cheylus wrote: > > On Tue, 30 May 2023 17:28:00 +0200, Benjamin Stürz wrote: > > > > > lsblk(8) is a simple tool to list attached block devices. > > > This specifically is a clone of the one in util-linux. > > > > > > This

Re: [new] sysutils/lsblk

2023-05-31 Thread Benjamin Stürz
On 31.05.23 15:29, Laurent Cheylus wrote: On Tue, 30 May 2023 17:28:00 +0200, Benjamin Stürz wrote: lsblk(8) is a simple tool to list attached block devices. This specifically is a clone of the one in util-linux. This is actually my second attempt of submitting this port. This time I reworked

Re: [new] sysutils/lsblk

2023-05-31 Thread Omar Polo
On 2023/05/30 19:33:11 +0200, Benjamin Stürz wrote: > > The port itself looks fine to me, except for the permissions of > > distinfo and PLIST... All files should be 0644 and directories 0755. > Fixed, the problem was my umask of 027. > > > No need to send an updated tarball just for this

Re: [new] sysutils/lsblk

2023-05-30 Thread Benjamin Stürz
On 30.05.23 20:00, Dave Voutila wrote: Benjamin Stürz writes: Hi Omar, On 30.05.23 19:03, Omar Polo wrote: Hello, I remember that when I started using OpenBSD I kind of missed lsblk... Now I wouldn't look back probably, but it could be nice for newcommers (at least :-) Yeah, that's the

Re: [new] sysutils/lsblk

2023-05-30 Thread Paul de Weerd
I've been trying several development versions of this, and now the port. It's working well for me .. would be nice to have this in the tree! Paul On Tue, May 30, 2023 at 05:28:00PM +0200, Benjamin Stürz wrote: | Hi ports@, | | lsblk(8) is a simple tool to list attached block devices. | This

Re: [new] sysutils/lsblk

2023-05-30 Thread Dave Voutila
Benjamin Stürz writes: > Hi Omar, > > On 30.05.23 19:03, Omar Polo wrote: >> Hello, >> I remember that when I started using OpenBSD I kind of missed >> lsblk... >> Now I wouldn't look back probably, but it could be nice for newcommers >> (at least :-) > Yeah, that's the reason why I made this

Re: [new] sysutils/lsblk

2023-05-30 Thread Benjamin Stürz
Hi Omar, On 30.05.23 19:03, Omar Polo wrote: Hello, I remember that when I started using OpenBSD I kind of missed lsblk... Now I wouldn't look back probably, but it could be nice for newcommers (at least :-) Yeah, that's the reason why I made this tool. Using sysctl + disklabel + df is a

Re: [new] sysutils/lsblk

2023-05-30 Thread Omar Polo
Hello, On 2023/05/30 17:28:00 +0200, Benjamin Stürz wrote: > Hi ports@, > > lsblk(8) is a simple tool to list attached block devices. > This specifically is a clone of the one in util-linux. > > This is actually my second attempt of submitting this port. > This time I reworked most of it,

Re: [new] sysutils/lsblk

2023-05-18 Thread Benjamin Stürz
Hi ports@, I have reworked my lsblk(8) clone a lot. Now it has a little man page and a few options (mainly -a). It also works with RAID devices (only softraid(4) tested). I don't have any commit rights, so if you are interested in committing this, please let me know. Comments and testing are

Re: [new] sysutils/lsblk

2023-05-01 Thread Benjamin Stürz
On 01.05.23 15:34, Stuart Henderson wrote: That seems better to me. But... an _incompatible_ clone I wrote "incompatible", because it doesn't support all the options of the original lsblk(8). It also doesn't print exactly the same output as the original. That's why it's incompatible (from my

Re: [new] sysutils/lsblk

2023-05-01 Thread Stuart Henderson
On 2023/05/01 14:22, Benjamin Stürz wrote: > On 01.05.23 12:04, Stuart Henderson wrote: > > For COMMNT and pkg/DESCR, rather than just saying "clone of X", say what > > it does. > > > > You can also mention that it's a clone but the main thing about these is > > to describe what the software

Re: [new] sysutils/lsblk

2023-05-01 Thread Benjamin Stürz
On 01.05.23 12:04, Stuart Henderson wrote: For COMMNT and pkg/DESCR, rather than just saying "clone of X", say what it does. You can also mention that it's a clone but the main thing about these is to describe what the software does. Do you think this would be more fitting: COMMENT = list

Re: [new] sysutils/lsblk

2023-05-01 Thread Benjamin Stürz
On 01.05.23 11:56, Laurent Cheylus wrote: $ doas lsblk wd0 40G ESDI/IDE disk wd0a 1.0G 4.2BSD / wd0b 2.2G swap wd0c 40G unused wd0d 2.4G 4.2BSD /tmp wd0e 3.9G 4.2BSD /var wd0f 4.4G 4.2BSD /usr wd0g 1.0G 4.2BSD /usr/X11R6 wd0h 5.4G 4.2BSD /usr/local wd0i 1.8G

Re: [new] sysutils/lsblk

2023-05-01 Thread Stuart Henderson
On 2023/04/30 21:02, Benjamin Stürz wrote: > On 30.04.23 20:58, Benjamin Stürz wrote: > > Hello, > > > > this my first time submitting a port to OpenBSD. > > > > DESCR: Clone of util-linux's lsblk(8) for OpenBSD. > > > > I have tested it on amd64 and it works with my SATA SSD and USB HDD. > >

Re: [new] sysutils/lsblk

2023-04-30 Thread Benjamin Stürz
On 30.04.23 20:58, Benjamin Stürz wrote: Hello, this my first time submitting a port to OpenBSD. DESCR: Clone of util-linux's lsblk(8) for OpenBSD. I have tested it on amd64 and it works with my SATA SSD and USB HDD. Please test it on your hardware and give me feedback. Unfortunately it