Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Vincent Legoll
vince@dell:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin 1+0 records in 1+0 records out 123456789 bytes (123 MB, 118 MiB) copied, 0,0703818 s, 1,8 GB/s This may not work with huge bs though... -- Vincent Legoll

Re: migrate python script from sudo to doas

2018-10-30 Thread Vincent Legoll
Hello, On Tue, Oct 30, 2018 at 12:33 PM Markus Rosjat wrote: > exit = subprocess.check_call(['doas', 'useradd', '-u %s' % user_id, > '-g =uid', > '-s /sbin/nologin', > '-d %s' % mb_parent_dir, > user_name]) Maybe you should try like the following: cmd = ['doas', 'useradd', '-u', user_id,

Re: Malloc config became global sysctl in 6.5

2019-04-27 Thread Vincent Legoll
y auditing. > > Oh, those hypocrite wankers here and there.. Looks like auditing and hardening are not exactly the same thing. -- Vincent Legoll

Installing sets from /

2022-07-13 Thread Vincent Legoll
an submit a patch if you think it is useful. Thanks -- Vincent Legoll

Re: Installing sets from /

2022-07-14 Thread Vincent Legoll
swers will work better for you all around. I am stuffing a siteXX.tgz in the ramdisk of bsd.rd, alongside the auto_install.conf file to do an automatic install on a VM. I want to avoid manual interactions with the VM, so the use of auto_install.conf, and the install.site script contained in the siteXX.tgz is for further customizations. -- Vincent Legoll

Re: PC Engines APU alternative for OpenBSD - 2022h2

2022-09-28 Thread Vincent Legoll
to wait for comments from someone with actual real world experience of openbsd on those, I don't own one. Regards -- Vincent Legoll