CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2015/11/14 14:17:08
Modified files: sbin/fdisk : disk.c fdisk.c Log message: Since -l is ignored if -c/-h/-s are specified, make that combination invalid and mention the constraint in usage(). Modify the appropriate field(s) of the global 'disk' as -l/-c/-h/-s are encountered. As a result use the disklabel information to populate the global 'disk' only when it has not already been populated. Move test for 'disk' validity into DISK_open().