CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/11/12 19:27:17
Modified files:
sbin/fdisk : cmd.c disk.c disk.h fdisk.c gpt.c gpt.h mbr.c
mbr.h user.c
Log message:
Move from opening/closing disk for every i/o to opening the disk once
and saving the fd in the global 'disk' structure. Stop passing around
fd's and just use the global.
Makes pledge() feasible.
Prompted by and ok deraadt@
