DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd October 2015
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default 5.8: fdisk(8) repaired to work on 4K sector disks again.

Quote:
5.8: fdisk(8) repaired to work on 4K sector disks again.
What does this mean for those who installed 5.7?
Reply With Quote
  #2   (View Single Post)  
Old 3rd October 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,976
Default

Since you asked, I got to exercise my research muscles again.

A scan through the most recent Changelog showed lots of -current changes to fdisk for EFI booting, but going back one Changelog I found this log entry for revision 1.73 of /usr/src/sbin/fdisk/fdisk.c:
Code:
CVSROOT:    /cvs
Module name:    src
Changes by:    krw@cvs.openbsd.org    2015/07/08 17:44:56

Modified files:
    sbin/fdisk     : fdisk.c 

Log message:
Do not attempt to read a disk sector worth of data from the file
containing the MBR template. Most especially don't get upset when
the 512-byte file does not contain a full 4096 byte disk sector.

Allows 4096-byte disks to be fdisk'ed once more.

Problem reported and fix tested by Gerald Hanuer via bugs@.

ok deraadt@
Here's a link to the brief conversation on bugs@:

http://marc.info/?t=143627676600001&r=1&w=2

Last edited by jggimi; 4th October 2015 at 02:02 PM. Reason: typo
Reply With Quote
  #3   (View Single Post)  
Old 4th October 2015
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Thanks jggimi!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dude, relax – it's Just a Bunch Of Disks: Our man walks you through how JBODs work J65nko News 0 25th November 2013 11:55 PM
Makefile for Vermaden's FreeBSD ZFS root install adapted for 4K sector disks J65nko Guides 6 5th August 2013 08:51 PM
how to remove boot sector viruses? CyberJet OpenBSD General 8 15th July 2011 07:50 PM
FreeBSD 8, ZFS storage across four disks DraconianTimes FreeBSD General 4 28th February 2011 08:49 PM
*BSD support for solid state disks? JMJ_coder General Hardware 3 27th June 2008 11:21 PM


All times are GMT. The time now is 12:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick