On Fri, Jun 20, 2014 at 12:33:55PM -0600, Bob Beck wrote: > On Fri, Jun 20, 2014 at 08:27:55AM -0400, Jiri B wrote: > > I changed partition id from A6 to NTFS of running OpenBSD > > 5.5 (16.-18.6. amd64 snapshot) and after a while OS freezed. > > I think doing that is unadvised. Right up there with > > rm -rf / > dd if=/dev/zero of=/dev/rsd0c > <picture of OpenBSD machine inside persons nether regions in emergency room > xray> > Driving car containing running OpenBSD machine head on into an oncoming ford > pickup at 100 KM/H. > > I have only personally not done one of these things. They are probably > all bad. Don't do them. We can't save you from yourself all the time. > > -Bob
Hi, I know it's stupid changing it while filesystems using that disk are mounted. I was just thinking it's good to report as it cause kernel panic and maybe there's something wrong in the code (I could not guess technically, only logically). Anyway, I will try to reproduce it with a disk which had mounted filesystems, then unmount them and change the partition id. This way, I would except it should not cause kernel panic, as this should could be real scenario (ie. a process to sync data online to another disk...). jirib
