git: usr.sbin/makefs/hammer2: Properly support block device for image creation
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Fri Dec 1 01:14:03 PST 2023
commit 764bf12e00c840fa36ebb916d29aea76b7bd9537
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date: Fri Dec 1 00:01:23 2023 -0800
usr.sbin/makefs/hammer2: Properly support block device for image creation
Unlike regular file image, block device image creation fails
if estimated image size exceeds the device size.
Sparse file option is ignored. The block device blocks aren't
zero cleared.
Summary of changes:
usr.sbin/makefs/hammer2.c | 33 +++++++++++++++++++++++++++++++-
usr.sbin/makefs/hammer2/hammer2_ondisk.c | 7 +++++++
2 files changed, 39 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/764bf12e00c840fa36ebb916d29aea76b7bd9537
--
DragonFly BSD source repository
More information about the Commits
mailing list