CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2022/10/11 17:39:08
Modified files: sys/arch/alpha/alpha: disksubr.c sys/arch/hppa/hppa: disksubr.c sys/arch/luna88k/luna88k: disksubr.c sys/arch/macppc/macppc: disksubr.c sys/arch/sparc64/sparc64: disksubr.c sys/kern : subr_disk.c sys/sys : disklabel.h Log message: Give checkdisklabel() a new parameter supplying the dev_t of the device whose disklabel is being checked. Within checkdisklabel() use this information to discover a device name iff (sic) the label is an obsolete version. Use the name to generate a meaningful warning message asking the user to rewrite the disklabel and thus promote it to the current version. Suggested by, feedback from and ok deraadt@