CVS commit: src/sbin

"Christos Zoulas" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	christos
Date:		Fri May  1 20:39:26 UTC 2026

Modified Files:
	src/sbin/fsck: partutil.h
	src/sbin/newfs: Makefile.common newfs.c
	src/sbin/newfs_ext2fs: Makefile newfs_ext2fs.c
	src/sbin/newfs_msdos: Makefile newfs_msdos.c
	src/sbin/tunefs: Makefile tunefs.c
Added Files:
	src/sbin/fsck: openspecial.c

Log Message:
PR/59957: Taylor R. Campbell: Centralize the disk open sequence from newfs
and tunefs to a new function "openspecial" and use it to fix this PR, and
the same issue with newfs_ext2fs.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sbin/fsck/openspecial.c
cvs rdiff -u -r1.3 -r1.4 src/sbin/fsck/partutil.h
cvs rdiff -u -r1.1 -r1.2 src/sbin/newfs/Makefile.common
cvs rdiff -u -r1.120 -r1.121 src/sbin/newfs/newfs.c
cvs rdiff -u -r1.7 -r1.8 src/sbin/newfs_ext2fs/Makefile
cvs rdiff -u -r1.11 -r1.12 src/sbin/newfs_ext2fs/newfs_ext2fs.c
cvs rdiff -u -r1.6 -r1.7 src/sbin/newfs_msdos/Makefile
cvs rdiff -u -r1.45 -r1.46 src/sbin/newfs_msdos/newfs_msdos.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/tunefs/Makefile
cvs rdiff -u -r1.58 -r1.59 src/sbin/tunefs/tunefs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.