Re: Resources to learn modern C relevant to OpenBSD

2025-08-03 Thread Niels Müller Larsen
9.07.2025 um 13:15 schrieb Crystal Kolipe: >> On Tue, Jul 29, 2025 at 03:19:40AM -0700, Neel Chakraborty wrote: >>> Hello everyone, hope you're having a great day. I am looking for >>> resources to learn modern C, so that I can understand (and hopefully >>> som

Re: Resources to learn modern C relevant to OpenBSD

2025-08-02 Thread Christian Schulte
Am 29.07.2025 um 13:15 schrieb Crystal Kolipe: > On Tue, Jul 29, 2025 at 03:19:40AM -0700, Neel Chakraborty wrote: >> Hello everyone, hope you're having a great day. I am looking for >> resources to learn modern C, so that I can understand (and hopefully >> someday

Re: Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread Paul Wisehart
On Tue, Jul 29, 2025 at 03:19:40AM -0700, Neel Chakraborty wrote: > Hello everyone, hope you're having a great day. I am looking for > resources to learn modern C, so that I can understand (and hopefully > someday contribute) to the OpenBSD source code, in areas like device > dr

Re: Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread jslee
On Tue, 29 Jul 2025, at 22:15, Stephan Beal wrote: > FWIW, about 10 years i read: > > https://www.oreilly.com/library/view/21st-century-c/9781491904428/ +1, this seemed pretty decent and likely a good place to start, regardless of how near or far we are from another update to the standard Maybe

Re: Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread Stephan Beal
On Tue, Jul 29, 2025 at 1:55 PM Maxim wrote: > On Tue, 29 Jul 2025, at 12:19, Neel Chakraborty wrote: > > If anyone could mention some resources to learn from,I would > > appreciate that very much. > FWIW, about 10 years i read: https://www.oreilly.com/library/view/21st-century-c/9781491904428/

Re: Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread Maxim
On Tue, 29 Jul 2025, at 12:19, Neel Chakraborty wrote: > If anyone could mention some resources to learn from,I would > appreciate that very much. There are a few reasonable mentions in this old thread: "Need some advice on C semantics." from Dec 2024, .

Re: Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread Crystal Kolipe
On Tue, Jul 29, 2025 at 03:19:40AM -0700, Neel Chakraborty wrote: > Hello everyone, hope you're having a great day. I am looking for > resources to learn modern C, so that I can understand (and hopefully > someday contribute) to the OpenBSD source code, in areas like device > dr

Resources to learn modern C relevant to OpenBSD

2025-07-29 Thread Neel Chakraborty
Hello everyone, hope you're having a great day. I am looking for resources to learn modern C, so that I can understand (and hopefully someday contribute) to the OpenBSD source code, in areas like device drivers, kernel and the init system. I am not new to C, I have previous programming exper

Re: openbsd ~/.local

2025-07-26 Thread hahahahacker2009
Vào Th 6, 25 thg 7, 2025 vào lúc 11:57 dalton.c.russell đã viết: > > hey all, > on a lot of linux distributions the home folder ~/.local exists and holds > various user > specific settings, programs etc. does something like this exist on openbsd? > It might be created by th

Re: openbsd ~/.local

2025-07-24 Thread Kevin Williams
On 7/24/25 5:55 PM, dalton.c.russell wrote: hey all, on a lot of linux distributions the home folder ~/.local exists and holds various user specific settings, programs etc. does something like this exist on openbsd? dalton Yes, various packages might create that folder. In my case, ~/.local

openbsd ~/.local

2025-07-24 Thread dalton.c.russell
hey all, on a lot of linux distributions the home folder ~/.local exists and holds various user specific settings, programs etc. does something like this exist on openbsd? dalton

Re: OpenBSD VM not cleanly shutting down in time

2025-07-21 Thread Courtney
I am using UEFI, yes. I found the issue. I don't believe SmartOS is sending an ACPI signal when the host shuts down. The current way SmartOS shuts down zones is not compatible with bhyve zones. There is an alternate method of shutting down bhyve zones that happens, and it is clear that Op

Re: OpenBSD VM not cleanly shutting down in time

2025-07-18 Thread Lloyd
Courtney wrote: > I watched for shutdown events and it seems OpenBSD is not receiving ACPI > signals. I looked at my other OpenBSD guests, they also are not > receiving these ACPI signals and are not shutting down cleanly. I will > have to investigate again to see if my Linux VMs a

Re: OpenBSD VM not cleanly shutting down in time

2025-07-18 Thread Courtney
Hello, Some follow-up: I watched for shutdown events and it seems OpenBSD is not receiving ACPI signals. I looked at my other OpenBSD guests, they also are not receiving these ACPI signals and are not shutting down cleanly. I will have to investigate again to see if my Linux VMs are

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-15 Thread Mike Fischer
> Am 15.07.2025 um 22:12 schrieb Peter Nicolai Mathias Hansteen > : > > > >> On 15 Jul 2025, at 21:58, Mike Fischer wrote: >> >> >>> Am 12.07.2025 um 23:55 schrieb Sean Kamath : >>> >>> Seems odd that openrsync (on Apple) ->

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-15 Thread Peter Nicolai Mathias Hansteen
> On 15 Jul 2025, at 21:58, Mike Fischer wrote: > > >> Am 12.07.2025 um 23:55 schrieb Sean Kamath : >> >> Seems odd that openrsync (on Apple) -> openrsync (on OpenBSD) wouldn’t work, >> but who knows what Apple has done to this under the hood, even th

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-15 Thread Mike Fischer
> Am 12.07.2025 um 23:55 schrieb Sean Kamath : > > Seems odd that openrsync (on Apple) -> openrsync (on OpenBSD) wouldn’t work, > but who knows what Apple has done to this under the hood, even though the man > page says: I’m just curious: None of the macOS versions I hav

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-15 Thread Stuart Henderson
:55:22, kam...@moltingpenguin.com wrote: >> ... >> (BTW, why the dot in "local_path/." ?) > > Habit. When specifying directories, and wanting to absolutely ensure = > it=E2=80=99s a directory, I use /. on the end. > >>> Indeed, openrsync on OpenBSD (7.6

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-13 Thread Sean Kamath
> On Jul 12, 2025, at 23:12, Jan Stary wrote: >> On Jul 12 14:55:22, kam...@moltingpenguin.com wrote: > ... > (BTW, why the dot in "local_path/." ?) Habit. When specifying directories, and wanting to absolutely ensure it’s a directory, I use /. on the end. >&g

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-13 Thread Ingo Schwarze
ith the "appear in all copies" part by distributing the printed leaflet "Information regarding Open Source Software" with their product. If they were actually using significant parts of OpenBSD libc, they would have to include many more Copyright notice lines crediting additi

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-13 Thread Katie
Daniel and all, Good point raised and there is also an interesting discussion here: https://news.ycombinator.com/item?id=7923294 On 2025-07-13 08:32, Daniel Wilkins wrote: If I had to guess, the fridge runs Android. Unless I'm mistaken, bionic (android's libc) is a modified OpenBSD libc.

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-13 Thread Daniel Wilkins
If I had to guess, the fridge runs Android. Unless I'm mistaken, bionic (android's libc) is a modified OpenBSD libc.

Re: Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-12 Thread Jan Stary
On Jul 12 14:55:22, kam...@moltingpenguin.com wrote: > Just curious if anyone has been able to use rsync (with the -r option) on a > macOS Sequoia machine to an OpenBSD machine. I have the same problem. > I’m asking because my (somewhat simple) rsync command started failing > wh

Openrsync and macOS -- Anyone gotten it working with -r option to OpenBSD host?

2025-07-12 Thread Sean Kamath
Hi. Just curious if anyone has been able to use rsync (with the -r option) on a macOS Sequoia machine to an OpenBSD machine. While we all love a good thrashing of vendors screwing things up, I don’t want to start that thread. Instead, I’m asking if there’s a simple workaround, and providing

Re: NAS on OpenBSD?

2025-07-12 Thread Geoff Steckel
On 7/11/25 2:05 PM, Crystal Kolipe wrote: On Fri, Jul 11, 2025 at 09:55:23AM -0700, Kevin Williams wrote: I certainly want to detect a failing drive for my source data and replace it before corrupted data is backed up from it. No matter what techniques you use, this is more difficult than it mi

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Stephen Wiley
I used to work for a large publicly traded company on an embedded firmware team and all the way down to (I think even my direct manager) we were strictly told we were never allowed to use GPL software for anything. It's unfortunate, we were actually paying consultants quite a lot of money to conti

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Ingo Schwarze
ate license texts are printed below. So this definitely confirms that Bosch included some code published in 1996 by the ISC and in 1995 by IBM that is publicly available under the cited licenses. They do not say what the "OpenBSD" section title means. Given that they don't explain

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Jan Stary
"Home Connect" which enables it to connect to a mobile phone app > > > via some murky cloud service. > > > > > > Among the documents was the usual "Information regarding Open Source > > > Software" slip. I was quite surprised to find OpenBSD l

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Stuff Received
On 2025-07-11 16:22, emu...@disroot.org wrote (in part): Since there is no mention of GPL in the document, it would appear that Bosch deliberately avoided components with GPL licensing. Likely, as they seem to prefer MIT licences. Bosch has a webpage on their OSS (https://opensource.bosch.com

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Don't assume people know what they are doing. That text could very well have been inserted by a copy editor who was just following a check list, and was clueless as to the actual meaning of the text. --lyndon

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread emu...@disroot.org
called > > "Home Connect" which enables it to connect to a mobile phone app > > via some murky cloud service. > > > > Among the documents was the usual "Information regarding Open Source > > Software" slip. I was quite surprised to find OpenBSD list

Re: NAS on OpenBSD?

2025-07-11 Thread Crystal Kolipe
n > terabyte-sized VM > or database files? Yes. Sha512 hashes have kept many Tb of data intact for me, and detected various random bit errors from time to time. > If cryptographic hashes would be better, would features of LibreSSL, OpenSSH, > or > another OpenBSD base system tool

Re: NAS on OpenBSD?

2025-07-11 Thread Kevin Williams
On 7/9/25 15:41, Kirill A. Korinsky wrote: On Wed, 09 Jul 2025 23:28:03 +0200, Stuart Henderson wrote: On 2025-07-09, Kirill A Korinsky wrote: On Wed, 09 Jul 2025 22:54:50 +0200, Stuart Henderson wrote: - restore (and archive browsing) on OpenBSD is more annoying than it could be if we had

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Lloyd
There's only one way to know for sure. You're going to have to take apart your fridge and report back. emu...@disroot.org wrote: > Perhaps someone on the list in Germany has contacts with Bosch and could > clarify matters with them? >

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Stephen Wiley
efrigerator. Apparently it has a feature called "Home > Connect" which enables it to connect to a mobile phone app via some > murky cloud service. > > Among the documents was the usual "Information regarding Open Source > Software" slip. I was quite surprised to find

Re: Apparently my fridge runs OpenBSD, but under what license?

2025-07-11 Thread Ingo Schwarze
pp via some > murky cloud service. > > Among the documents was the usual "Information regarding Open Source > Software" slip. I was quite surprised to find OpenBSD listed as a > component. > > However, the license as published by Bosch looks odd. The first part is

Re: NAS on OpenBSD?

2025-07-09 Thread Kirill A . Korinsky
On Wed, 09 Jul 2025 23:28:03 +0200, Stuart Henderson wrote: > > On 2025-07-09, Kirill A Korinsky wrote: > > On Wed, 09 Jul 2025 22:54:50 +0200, > > Stuart Henderson wrote: > >> > >> - restore (and archive browsing) on OpenBSD is more annoying th

Re: NAS on OpenBSD?

2025-07-09 Thread Reese Johnson
Stuart, Thanks awesome info! Reese KN4NTU On Wed, Jul 09, 2025 at 09:28:03PM -, Stuart Henderson wrote: > On 2025-07-09, Kirill A Korinsky wrote: > > On Wed, 09 Jul 2025 22:54:50 +0200, > > Stuart Henderson wrote: > >> > >> - restore (and archive brow

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Dan
Geoff Steckel wrote: > Daily kept for weeks, weekly kept for months, monthly kept for years > 7094, 1401, 360 > > What do people use for long term/archival storage? > Tape, while traditional, can be very expensive. > Should I replace my large pile of portable USB drives? > > geoff steckel

Re: NAS on OpenBSD?

2025-07-09 Thread Stuart Henderson
On 2025-07-09, Kirill A Korinsky wrote: > On Wed, 09 Jul 2025 22:54:50 +0200, > Stuart Henderson wrote: >> >> - restore (and archive browsing) on OpenBSD is more annoying than it could >> be if we had a fuse implementation that was a bit more compatible with >>

Re: NAS on OpenBSD?

2025-07-09 Thread Kirill A . Korinsky
On Wed, 09 Jul 2025 22:54:50 +0200, Stuart Henderson wrote: > > - restore (and archive browsing) on OpenBSD is more annoying than it could > be if we had a fuse implementation that was a bit more compatible with > current versions on other os. > It has a fork with name r

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Kirill A . Korinsky
On Wed, 09 Jul 2025 18:49:49 +0200, Geoff Steckel wrote: > > What do people use for long term/archival storage? > Online at a few clouds in encrypted way. The current design for backup is: - all machines backup itself via rustic to the storage; - near the storage I do have "manager" which runs

Re: NAS on OpenBSD?

2025-07-09 Thread Stuart Henderson
On 2025-07-09, Reese Johnson wrote: > Crap I forgot to add this. I've been researching this but I have not used it, > looks cool. > > https://restic.net/ I run it for some things. fwiw: - it runs ok on OpenBSD, having to run a separate daemon to provide an object store is a

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Kenneth Gober
On Wed, Jul 9, 2025 at 12:50 PM Geoff Steckel wrote: > What do people use for long term/archival storage? > Tape, while traditional, can be very expensive. > Should I replace my large pile of portable USB drives? > I keep my archival storage online, shared via a read-only NFS mount. It makes the

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Niels Müller Larsen
Not to mention finding one, then restoring 30 year old data, and then what? /niels ml Sent from [Proton Mail](https://proton.me/mail/home) for iOS On Wed, Jul 9, 2025 at 20:38, Jeremy Mates <[jma...@thrig.me](mailto:On Wed, Jul 9, 2025 at 20:38, Jeremy Mates < wrote: > On 2025-07-09 12:49:49 -

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Jeremy Mates
On 2025-07-09 12:49:49 -0400, Geoff Steckel wrote: > What do people use for long term/archival storage? > Tape, while traditional, can be very expensive. I've found tapes with "30 year backup" labels in abandoned closets; it would have required digging around in surplus to hopefully find a tape dr

Re: NAS on OpenBSD?

2025-07-09 Thread Reese Johnson
Crap I forgot to add this. I've been researching this but I have not used it, looks cool. https://restic.net/ Reese KN4NTU On Tue, Jul 08, 2025 at 08:53:47PM +0200, Piotr K. Isajew wrote: > I want to build a NAS for my home network of OpenBSD > machines. I have a 4x8TB HDD machine

Re: NAS on OpenBSD?

2025-07-09 Thread Reese Johnson
to build a NAS for my home network of OpenBSD > machines. I have a 4x8TB HDD machine to use for this > purpose. Primary role of this machine would be a dump and > pg_dump destination, but also a backup storage for some essential > files that are not part of regular backups (i.e. photos /

Re: Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Crystal Kolipe
On Wed, Jul 09, 2025 at 12:49:49PM -0400, Geoff Steckel wrote: > What do people use for long term/archival storage? BD-R. But at least in my experience it's getting more difficult to find good quality media. Plus the ~46 Gb capacity of BD-R DL discs is a tedious limitation when backing up volume

Backup philosophy was Re: NAS on OpenBSD?

2025-07-09 Thread Geoff Steckel
combination seems tempting due to "fancy features", but I've seen complex solutions fail in past and it's easier to recover from simple setup failure than complex one. Backups at appropriate frequencies and simple shell scripts to verify checksums have served well for a lot of p

Re: NAS on OpenBSD?

2025-07-09 Thread Robert B. Carleton
IMHO. ZFS, integrated > > NFS and SMB server. Based on Illumos code so uses Solaris conventions. Only > > catch is the hardware support isn't great. > > > > Piotr K. Isajew wrote: > > > > > I want to build a NAS for my home network of OpenBSD > > >

Re: NAS on OpenBSD?

2025-07-08 Thread Dain Bentley
gt; catch is the hardware support isn't great. > > Piotr K. Isajew wrote: > > > I want to build a NAS for my home network of OpenBSD > > machines. I have a 4x8TB HDD machine to use for this > > purpose. Primary role of this machine would be a dump and > > pg_

Re: NAS on OpenBSD?

2025-07-08 Thread Lloyd
Take a look at OmniOS for NAS use. Very underrated IMHO. ZFS, integrated NFS and SMB server. Based on Illumos code so uses Solaris conventions. Only catch is the hardware support isn't great. Piotr K. Isajew wrote: > I want to build a NAS for my home network of OpenBSD > machine

Re: NAS on OpenBSD?

2025-07-08 Thread Crystal Kolipe
On Tue, Jul 08, 2025 at 03:09:38PM -0500, Brian Conway wrote: > Essential files should be part of a regular backup. Not necessarily - finished projects and stuff that won't change anymore can be archived separately and taken out of the regular backup loop. Then you just keep a copy of that unchan

Re: NAS on OpenBSD?

2025-07-08 Thread Crystal Kolipe
On Tue, Jul 08, 2025 at 08:53:47PM +0200, Piotr K. Isajew wrote: > Do you use OpenBSD for your home > NAS? If yes, do you just rely on softraid to protect against data > loss or do you supplement it with something? This has been discussed on the lists several times in the past. Fancy fi

Re: NAS on OpenBSD?

2025-07-08 Thread MIZSEI Zoltán
ntually, I installed OmniOS - and I couldn't be happier. Best Regards, I don't use OpenBSD for NAS purposes, but I do use OmniOS and I can just recommend it. https://omnios.org Piotr K. Isajew írta 2025. júl.. 8, K-n 20:53 órakor: > I want to build a NAS for my home network of OpenB

Re: NAS on OpenBSD?

2025-07-08 Thread Brian Conway
I feel like this email has a number of trick questions. On Tue, Jul 8, 2025, at 1:53 PM, Piotr K. Isajew wrote: > I want to build a NAS for my home network of OpenBSD > machines. I have a 4x8TB HDD machine to use for this > purpose. Primary role of this machine would be a dump and

Re: How to know which CVEs are fixed in which version of OpenBSD?

2025-07-08 Thread Stuart Henderson
On 2025-07-08, Naganna G Eskala wrote: > --0ac2e6063966aa06 > Content-Type: text/plain; charset="UTF-8" > > Dear OpenBSD team, > > I found the following CVE from NVD Site (NVD - Search (nist.gov) ><https://nvd.nist.gov/products/cpe/search>) but I a

How to know which CVEs are fixed in which version of OpenBSD?

2025-07-08 Thread Naganna G Eskala
Dear OpenBSD team, I found the following CVE from NVD Site (NVD - Search (nist.gov) <https://nvd.nist.gov/products/cpe/search>) but I am not able to find this information easily in Errata. Can someone help to gather this information from the OpenBSD website. Why does NVD list a very o

[done] OpenBSD from linux qemu

2025-07-06 Thread Marc Chantreux
nk set br0 up % dhclient br0 --- install OpenBSD -- wget https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/miniroot77.img qemu-img create -f qcow2 ocean.qcow2 5G net=' -net nic,model=virtio -net bridge,br=br0 ' ocean=-drive file=ocean.qcow2,if=virtio,format=

Re: OpenBSD from linux qemu:

2025-07-06 Thread Harald Arnesen
Marc Chantreux [2025-07-05 20:23:58]: As I have hardware no more to run an openBSD box, I would like to run a VM from qemu host (debian 13). qemu-img create ocean.qcow2 2G sethttps://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/miniroot77.img wget $1 qemu-system-amd64 -hda ${1##*/} -hdb ocean.qcow2

Re: OpenBSD from linux qemu:

2025-07-05 Thread Mike Larkin
On Sat, Jul 05, 2025 at 08:23:58PM +0200, Marc Chantreux wrote: > hello, > > As I have hardware no more to run an openBSD box, I would like to run a > VM from qemu host (debian 13). > > qemu-img create ocean.qcow2 2G > set https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/min

Re: OpenBSD from linux qemu:

2025-07-05 Thread Marc Chantreux
> > Booting from Hard Disk... > > Using drive 0, partition 3. > > Loading.. > > probing: pc0 com0 mem[639K 126M a20=on] > > disk: fd0 hd0+ hd1+* > > > > OpenBSD/amd64 BOOT 3.67 > > boot> > > cannot open hd0a:/etc/random.seed: No such

Re: OpenBSD from linux qemu:

2025-07-05 Thread Geoff Steckel
On 7/5/25 2:23 PM, Marc Chantreux wrote: hello, As I have hardware no more to run an openBSD box, I would like to run a VM from qemu host (debian 13). qemu-img create ocean.qcow2 2G set https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/miniroot77.img wget $1 qemu-system-amd64 -hda ${1##*/} -hdb

Re: OpenBSD from linux qemu:

2025-07-05 Thread Marc Chantreux
hello and thanks for your answer, On Sat, Jul 05, 2025 at 01:16:29PM -0700, obs...@loopw.com wrote: > you don't have a random.seed on install media, and chances are fat that > you don't need it at that time. If you see that error from booting on > your installed disk then that should be a concern

Re: does openbsd support file history?

2025-07-05 Thread Страхиња Радић
On Sat, Jun 28, 2025 at 5:31 PM Ethan Azariah wrote: > thanks. i might have misunderstood inodes role in hard linking. > when you make a hard link, does it use a new inode? man ln then, from within less(1) opened by that command: /inode

Re: OpenBSD from linux qemu:

2025-07-05 Thread obsdml
> I get this: > cannot open hd0a:/etc/random.seed: No such file or directory > anyone to help me on this? ignore it like most of us do? you don't have a random.seed on install media, and chances are fat that you don't need it at that time. If you see that error from booting on your installed di

OpenBSD from linux qemu:

2025-07-05 Thread Marc Chantreux
hello, As I have hardware no more to run an openBSD box, I would like to run a VM from qemu host (debian 13). qemu-img create ocean.qcow2 2G set https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/miniroot77.img wget $1 qemu-system-amd64 -hda ${1##*/} -hdb ocean.qcow2 -nographic # also tried with

Re: does openbsd support file history?

2025-07-05 Thread Thomas de Grivel
You're not the only one misunderstanding, if there is a hard link and you modify the files without removing them first from the original directory then the backup gets modified too. Be careful adding that "-l" (ell) On Sat, Jun 28, 2025 at 5:31 PM Ethan Azariah wrote: > > On Sat, Jun 28, 2025, at

Re: OpenBSD VM not cleanly shutting down in time

2025-07-03 Thread obsd
down. > This transition marker also includes a timeout (default 180 seconds). > If we hit the timeout, the VM is forcibly halted. OpenBSD defaults to 30 seconds to stop all VMs before going postal and terminating processes unless things have changed since 7.5. /etc/rc runs "/etc/rc.d/v

Re: OpenBSD VM not cleanly shutting down in time

2025-07-03 Thread Dave Voutila
Lloyd writes: > Courtney wrote: > >> SmartOS host on the bhyve hypervisor. Yes, it will do this and pull the >> plug. The guest gets quite a bit of time to poweroff. For some reason, >> it seems that only my Vaultwarden guest wants to take long. I also have >> a more complex synapse server and Op

Re: OpenBSD VM not cleanly shutting down in time

2025-07-02 Thread Lloyd
Courtney wrote: > SmartOS host on the bhyve hypervisor. Yes, it will do this and pull the > plug. The guest gets quite a bit of time to poweroff. For some reason, > it seems that only my Vaultwarden guest wants to take long. I also have > a more complex synapse server and OpenBao server running wh

Re: OpenBSD VM not cleanly shutting down in time

2025-07-02 Thread Courtney
. I don't know if there is a way to extend that timeout on the host, but I also don't like that solution as much if it does exist. On 7/2/25 10:38 AM, Dave Voutila wrote: Courtney writes: I have a VM running OpenBSD -current that runs Vaultwarden. For some reason, it is the on

Re: OpenBSD VM not cleanly shutting down in time

2025-07-02 Thread Dave Voutila
Courtney writes: > I have a VM running OpenBSD -current that runs Vaultwarden. For some > reason, it > is the only VM that doesn't seem to respond in time to host shutdowns, > so the > poweroff is unclean and leaves the VM in single user mode where I have to > con

OpenBSD VM not cleanly shutting down in time

2025-07-02 Thread Courtney
I have a VM running OpenBSD -current that runs Vaultwarden. For some reason, it is the only VM that doesn't seem to respond in time to host shutdowns, so the poweroff is unclean and leaves the VM in single user mode where I have to console in and fsck it. My assumption has been that pe

Re: Openbsd can't boot gives maclloc: allocation large error

2025-07-01 Thread Jason
That is what I have to end up doing till someone is willing to fix it or not.  It does look like there are no issues at the moment with it disabled so I will keep it this day. On 6/30/25 3:03a, Crystal Kolipe wrote: On Sun, Jun 29, 2025 at 08:27:32PM -0400, Jason wrote: I have a few choices.

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-30 Thread Ethan Azariah
ome pretty nasty chemicals. (I've been trying to eliminate those; they used to permeate my entire life and affected who and what I am.) If I keep some of them, I guess I wouldn't really need to run acpipci on them. Anyway, what I've seen of OpenBSD in the past is that hardware is su

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-30 Thread Crystal Kolipe
On Sun, Jun 29, 2025 at 08:27:32PM -0400, Jason wrote: > I have a few choices. To turn off acpicpi on the amd64, switch to i386 Out of these two choices you would definitely want to use amd64 with acpipci disabled rather than i386. In fact, the i386 generic kernel doesn't include acpipci which is

Re: does openbsd support file history?

2025-06-29 Thread David Diggles
On 2025-06-27 07:33, Ethan Azariah wrote: do any openbsd filesystems support any sort of file history, whether through snapshots or as a log structured filesystem or any other way? I just use dump and restore which is part of the base install. I like how it can capture incremental change and

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-29 Thread Jason
> doesn't imply it can be fixed or anybody gives some time for fixing it. Does does mean that it can even be fixed. Even on linux it might just have the "fixes" to turn off the acpipci because that I don't know. I have a few choices. To turn off acpicpi on the amd64,

Re: does openbsd support file history?

2025-06-29 Thread Crystal Kolipe
On Sun, Jun 29, 2025 at 04:39:28PM -0400, Geoff Steckel wrote: > FWIW, nlink_t is uint32_t which gives you quite a bit of time > before it runs out. LINK_MAX is 32767 which gives you somewhat less ;-).

Re: does openbsd support file history?

2025-06-29 Thread Geoff Steckel
On 6/29/25 3:22 PM, Ethan Azariah wrote: On Sat, Jun 28, 2025, at 4:46 PM, Crystal Kolipe wrote: However there is, (separately), a limit to the number of links you can have to the same inode. So if you're using all this to create a kind of versioning filesystem then at least in theory it might

Re: does openbsd support file history?

2025-06-29 Thread Ethan Azariah
On Sat, Jun 28, 2025, at 4:46 PM, Crystal Kolipe wrote: > > However there is, (separately), a limit to the number of links you can > have to the same inode. > > So if you're using all this to create a kind of versioning filesystem > then at least in theory it might eventually hit that limit and sto

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-29 Thread Mihai Popescu
> ... if anyone wants to see what is wrong with the acpi. I doubt this will fix your setup: see what is wrong with acpi and even find what is wrong doesn't imply it can be fixed or anybody gives some time for fixing it. I have run probably in the same problem with my hardware, the OpenBS

Re: does openbsd support file history?

2025-06-29 Thread Maurizio Lombardi
On Fri Jun 27, 2025 at 12:05 AM CEST, Scott Walters wrote: > Very semi-informed take here. Obvoiusly the people actually working > on this stuff know first hand and I'm maybe not even third hand... > but afaik this is a gap in OpenBSD that work is being done on. > OpenBSD will

Re: does openbsd support file history?

2025-06-28 Thread Robert B. Carleton
On Saturday, June 28, 2025 8:50:09 AM CDT j...@bitminer.ca wrote: > >> No, but your backup system should give you the ability to recover > >> historic versions of files. Maybe not with the granularity you would > >> like. > > > > that's true. daily would be granular enough, though more often wou

Re: does openbsd support file history?

2025-06-28 Thread Reese Johnson
Hello, Sorry for my ignorance. I did not think it out. I figured using another internal tool would be cool. I enjoy this list and learn a lot on here, like today. Thanks for all the hard work. @tech is cool too. I don't know much C but it's neat to look at the patches. I remember git has lfs to

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-28 Thread Jason
I have attached the acpi table at /var/db/acpi if anyone wants to see what is wrong with the acpi. On 6/28/25 3:17p, Crystal Kolipe wrote: On Sat, Jun 28, 2025 at 03:14:57PM -0400, Jason wrote: I only got into the installer at the moment. Should I try to install and see if it gives an error?

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-28 Thread Crystal Kolipe
On Sat, Jun 28, 2025 at 11:51:07AM -0400, Jason wrote: > I have this laptop its an Acer aspire 7720 with an intel core 2 duo t5450. > Trying to boot the amd64 installer gives me an error of > > maclloc: allocation large error At the bootloader prompt, type: boot -c and when it enters UKC, do:

Re: Openbsd can't boot gives maclloc: allocation large error

2025-06-28 Thread Jason
I have put the dmesg from the i386 openbsd that does work on this laptop. OpenBSD 7.7 (RAMDISK_CD) #573: Sun Apr 13 11:08:58 MDT 2025 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD real mem  = 3209216000 (3060MB) avail mem = 3140419584 (2994MB) random: good seed from

Re: does openbsd support file history?

2025-06-28 Thread Ingo Schwarze
Hi, Ethan Azariah wrote on Sat, Jun 28, 2025 at 04:26:05PM +0100: > On Sat, Jun 28, 2025, at 4:03 PM, Crystal Kolipe wrote: >> On Sat, Jun 28, 2025 at 03:53:37PM +0100, Ethan Azariah wrote: >>> can ffs run out of inodes as ext2 can? >> Yes. Specifically, https://man.openbsd.org/newfs.8#i . >>

Re: does openbsd support file history?

2025-06-28 Thread Crystal Kolipe
On Sat, Jun 28, 2025 at 04:26:05PM +0100, Ethan Azariah wrote: > On Sat, Jun 28, 2025, at 4:03 PM, Crystal Kolipe wrote: > > On Sat, Jun 28, 2025 at 03:53:37PM +0100, Ethan Azariah wrote: > >> can ffs run out of inodes as ext2 can? > > > > Yes. > > > > But with default settings and typical use, it

Re: does openbsd support file history?

2025-06-28 Thread Ethan Azariah
On Sat, Jun 28, 2025, at 4:03 PM, Crystal Kolipe wrote: > On Sat, Jun 28, 2025 at 03:53:37PM +0100, Ethan Azariah wrote: >> can ffs run out of inodes as ext2 can? > > Yes. > > But with default settings and typical use, it probably won't happen. thanks. i might have misunderstood inodes role in har

Re: does openbsd support file history?

2025-06-28 Thread Crystal Kolipe
On Sat, Jun 28, 2025 at 03:53:37PM +0100, Ethan Azariah wrote: > can ffs run out of inodes as ext2 can? Yes. But with default settings and typical use, it probably won't happen.

Re: does openbsd support file history?

2025-06-28 Thread Ethan Azariah
On Sat, Jun 28, 2025, at 2:50 PM, j...@bitminer.ca wrote: >>> >>> No, but your backup system should give you the ability to recover >>> historic versions of files. Maybe not with the granularity you would >>> like. >> >> that's true. daily would be granular enough, though more often would >> be

Re: does openbsd support file history?

2025-06-28 Thread Ethan Azariah
On Sat, Jun 28, 2025, at 10:38 AM, Stefan Sperling wrote: > On Fri, Jun 27, 2025 at 10:41:05PM -0400, Reese Johnson wrote: >> Backup into got. :) > > I realize you might be joking, but to anyone taking this seriously, > don't do this! > The most well-known caveat is that this is not a suitable solu

Re: does openbsd support file history?

2025-06-28 Thread j
No, but your backup system should give you the ability to recover historic versions of files. Maybe not with the granularity you would like. that's true. daily would be granular enough, though more often would be nice. If you want daily history, irrespective of how many changes were made

Re: does openbsd support file history?

2025-06-28 Thread Stefan Sperling
On Fri, Jun 27, 2025 at 10:41:05PM -0400, Reese Johnson wrote: > Backup into got. :) I realize you might be joking, but to anyone taking this seriously, don't do this! The most well-known caveat is that this is not a suitable solution for large files. But in any case you will eventually hit the

Re: does openbsd support file history?

2025-06-28 Thread Ethan Azariah
On Fri, Jun 27, 2025, at 2:38 PM, Nick Holland wrote: > On 6/26/25 17:33, Ethan Azariah wrote: >> do any openbsd filesystems support any sort of file history, whether >> through snapshots or as a log structured filesystem or any other way? >> > > No, but your backup

Re: does openbsd support file history?

2025-06-28 Thread Ethan Azariah
On Sat, Jun 28, 2025, at 6:23 AM, hahahahacker2009 wrote: > > Ori Bernstein is going on his file system gefs, and he want to port it > to openbsd. > You can contact him. i forgot about gefs. using a clever design rather than mountains of code is a design philosophy i can appreciate,

  1   2   3   4   5   6   7   8   9   10   >