NetBSD-Bugs archive

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

PR/57134 CVS commit: src/sbin/fsck



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

From: "Juergen Hannken-Illjes" <hannken%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57134 CVS commit: src/sbin/fsck
Date: Mon, 2 Jan 2023 16:08:13 +0000

 Module Name:	src
 Committed By:	hannken
 Date:		Mon Jan  2 16:08:13 UTC 2023
 
 Modified Files:
 	src/sbin/fsck: partutil.c
 
 Log Message:
 Change getdiskinfo() to no longer infer the partition from the device name.
 Since 2016-06-16 we create disk devices "<type><<unit>" as an alias
 for "<type><<unit><part>" where "<part>" is the raw partition.
 These devices are treated as invalid partitions and a zero geometry
 is returned.
 
 Take the partition from "st_rdev" instead.
 
 Fix for PR kern/57134: st_size of stat on vnd raw partition sometimes
 is 0, causing newfs to fail
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.18 src/sbin/fsck/partutil.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index