NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/49510: gpt(8) fails w/o drvctl and breaks sysinst



The following reply was made to PR bin/49510; it has been noted by GNATS.

From: John Nemeth <jnemeth%cue.bc.ca@localhost>
To: Robert Elz <kre%munnari.OZ.AU@localhost>, John Nemeth <jnemeth%cue.bc.ca@localhost>
Cc: Martin Husemann <martin%duskware.de@localhost>, gnats-bugs%NetBSD.org@localhost,
        gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost, martin%NetBSD.org@localhost
Subject: Re: bin/49510: gpt(8) fails w/o drvctl and breaks sysinst
Date: Mon, 29 Dec 2014 04:39:35 -0800

 On Dec 29,  6:52pm, Robert Elz wrote:
 }
 }     Date:        Mon, 29 Dec 2014 02:43:43 -0800
 }     From:        John Nemeth <jnemeth%cue.bc.ca@localhost>
 }     Message-ID:  <201412291043.sBTAhhOA007511%server.CornerstoneService.ca@localhost>
 } 
 }   | Finding the last block of the disk would leave
 }   | you in the same place as gpt(8).
 } 
 } If
 } 	lseek(disk_fd, (off_t)-BLOCKSZE, SEEK_END);
 } 
 } doesn't work to do that, then it (the drivers etc) should be fixed
 } so that it does.
 
      That leaves you with the issue of how to find the BLOCKSIZE.
 Which is currently done using the same methods used to find the
 size of the disk (i.e. both pieces of information come from the
 same place).
 
 }-- End of excerpt from Robert Elz
 


Home | Main Index | Thread Index | Old Index