History log of /dragonfly/usr.sbin/ (Results 51 – 75 of 2272)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bc9089a903-May-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/hammer2: Print chian/dio count on vflush()

in addition to inode count currently printed.

aea8f77625-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/hammer2: Use blkno -1 for logical vnode for clarity

At logical vnode layer, only bio_offset from uio_offset is used,
in the same way DragonFly VFS does. Since blkno should never be u

usr.sbin/makefs/hammer2: Use blkno -1 for logical vnode for clarity

At logical vnode layer, only bio_offset from uio_offset is used,
in the same way DragonFly VFS does. Since blkno should never be used,
set it to -1.

Then the bio_offset turns into bref's data_off through chain lookup.
At physical vnode layer, bref's data_off turns into a buf associated
with dio's devvp.

At this point dio's devvp buf needs a valid blkno (but not a valid
offset as getblk/bread/bwrite functions in ffs/buf.c are based on
FreeBSD VFS) to calculate file offset within image.

show more ...

b709ee5522-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/ffs: Remove m_buf::b_is_hammer2

FreeBSD makefs(8) now calls brelse() on bwrite(), whereas DragonFly
has had that behavior specifically for HAMMER2 to emulate VFS behavior.

m_buf::b_

usr.sbin/makefs/ffs: Remove m_buf::b_is_hammer2

FreeBSD makefs(8) now calls brelse() on bwrite(), whereas DragonFly
has had that behavior specifically for HAMMER2 to emulate VFS behavior.

m_buf::b_is_hammer2 flag which was introduced for this reason now
needs to be removed, otherwise it attempts to double free struct m_buf.

show more ...

9b64a82b22-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/ffs: Sync buf.c with FreeBSD

Bring in following FreeBSD commits,
while keeping DragonFly specific code for HAMMER2.

Note that msdosfs_vnops.c diff in FreeBSD e5551216d8e5 was never

usr.sbin/makefs/ffs: Sync buf.c with FreeBSD

Bring in following FreeBSD commits,
while keeping DragonFly specific code for HAMMER2.

Note that msdosfs_vnops.c diff in FreeBSD e5551216d8e5 was never
merged to DragonFly makefs(8), so no need to apply (revert).

Sun Apr 16 15:45:17 2023 -0400 e5551216d8e5 makefs: call brelse from bread
Tue Apr 11 11:21:36 2023 -0400 af7624ed3145 makefs: use %s and __func__ in printf messages
Mon Apr 10 18:50:27 2023 -0400 1d1ffa2efd2a makefs: use size_t or ssize_t where appropriate

show more ...

3bffb05122-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/hammer2: Change fsinode::priv -> param

FreeBSD makefs(8) now has a void* pointer ->param for ZFS support
which points to fs specific data structure.

makefs HAMMER2 has had a void* p

usr.sbin/makefs/hammer2: Change fsinode::priv -> param

FreeBSD makefs(8) now has a void* pointer ->param for ZFS support
which points to fs specific data structure.

makefs HAMMER2 has had a void* pointer ->priv for the same purpose,
so rename it to ->param to sync with FreeBSD, though no intention
to bring in ZFS support.

show more ...

aa86710a22-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/hammer2: Avoid #include "makefs.h" in hammer2.h

Not a build error from ddd1d3d1ff2fecb3b58ce152a65095abaf634491,
but safer to avoid including "makefs.h" in usr.sbin/makefs/hammer2/ha

usr.sbin/makefs/hammer2: Avoid #include "makefs.h" in hammer2.h

Not a build error from ddd1d3d1ff2fecb3b58ce152a65095abaf634491,
but safer to avoid including "makefs.h" in usr.sbin/makefs/hammer2/hammer2.h
which basically shouldn't know anything about makefs(8).

show more ...

6b469f5b22-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/hammer2: Include <stdbool.h> for hammer2_update_time()

A bool argument from ddd1d3d1ff2fecb3b58ce152a65095abaf634491 needs <stdbool.h>.
It fails to compile on some platforms.


/dragonfly/contrib/dhcpcd/LICENSE
/dragonfly/contrib/dhcpcd/README.DRAGONFLY
/dragonfly/contrib/dhcpcd/README.md
/dragonfly/contrib/dhcpcd/hooks/10-wpa_supplicant
/dragonfly/contrib/dhcpcd/hooks/20-resolv.conf
/dragonfly/contrib/dhcpcd/hooks/29-lookup-hostname
/dragonfly/contrib/dhcpcd/hooks/30-hostname
/dragonfly/contrib/dhcpcd/hooks/50-ntp.conf
/dragonfly/contrib/dhcpcd/hooks/dhcpcd-run-hooks
/dragonfly/contrib/dhcpcd/hooks/dhcpcd-run-hooks.8
/dragonfly/contrib/dhcpcd/src/arp.c
/dragonfly/contrib/dhcpcd/src/arp.h
/dragonfly/contrib/dhcpcd/src/auth.c
/dragonfly/contrib/dhcpcd/src/auth.h
/dragonfly/contrib/dhcpcd/src/bpf.c
/dragonfly/contrib/dhcpcd/src/bpf.h
/dragonfly/contrib/dhcpcd/src/common.c
/dragonfly/contrib/dhcpcd/src/common.h
/dragonfly/contrib/dhcpcd/src/control.c
/dragonfly/contrib/dhcpcd/src/control.h
/dragonfly/contrib/dhcpcd/src/defs.h
/dragonfly/contrib/dhcpcd/src/dev.h
/dragonfly/contrib/dhcpcd/src/dhcp-common.c
/dragonfly/contrib/dhcpcd/src/dhcp-common.h
/dragonfly/contrib/dhcpcd/src/dhcp.c
/dragonfly/contrib/dhcpcd/src/dhcp.h
/dragonfly/contrib/dhcpcd/src/dhcp6.c
/dragonfly/contrib/dhcpcd/src/dhcp6.h
/dragonfly/contrib/dhcpcd/src/dhcpcd-embedded.c
/dragonfly/contrib/dhcpcd/src/dhcpcd-embedded.h
/dragonfly/contrib/dhcpcd/src/dhcpcd.8
/dragonfly/contrib/dhcpcd/src/dhcpcd.c
/dragonfly/contrib/dhcpcd/src/dhcpcd.conf.5
/dragonfly/contrib/dhcpcd/src/dhcpcd.h
/dragonfly/contrib/dhcpcd/src/duid.c
/dragonfly/contrib/dhcpcd/src/duid.h
/dragonfly/contrib/dhcpcd/src/eloop.c
/dragonfly/contrib/dhcpcd/src/eloop.h
/dragonfly/contrib/dhcpcd/src/if-bsd.c
/dragonfly/contrib/dhcpcd/src/if-options.c
/dragonfly/contrib/dhcpcd/src/if-options.h
/dragonfly/contrib/dhcpcd/src/if.c
/dragonfly/contrib/dhcpcd/src/if.h
/dragonfly/contrib/dhcpcd/src/ipv4.c
/dragonfly/contrib/dhcpcd/src/ipv4.h
/dragonfly/contrib/dhcpcd/src/ipv4ll.c
/dragonfly/contrib/dhcpcd/src/ipv4ll.h
/dragonfly/contrib/dhcpcd/src/ipv6.c
/dragonfly/contrib/dhcpcd/src/ipv6.h
/dragonfly/contrib/dhcpcd/src/ipv6nd.c
/dragonfly/contrib/dhcpcd/src/ipv6nd.h
/dragonfly/contrib/dhcpcd/src/logerr.c
/dragonfly/contrib/dhcpcd/src/logerr.h
/dragonfly/contrib/dhcpcd/src/privsep-bpf.c
/dragonfly/contrib/dhcpcd/src/privsep-bpf.h
/dragonfly/contrib/dhcpcd/src/privsep-bsd.c
/dragonfly/contrib/dhcpcd/src/privsep-control.c
/dragonfly/contrib/dhcpcd/src/privsep-control.h
/dragonfly/contrib/dhcpcd/src/privsep-inet.c
/dragonfly/contrib/dhcpcd/src/privsep-inet.h
/dragonfly/contrib/dhcpcd/src/privsep-root.c
/dragonfly/contrib/dhcpcd/src/privsep-root.h
/dragonfly/contrib/dhcpcd/src/privsep.c
/dragonfly/contrib/dhcpcd/src/privsep.h
/dragonfly/contrib/dhcpcd/src/route.c
/dragonfly/contrib/dhcpcd/src/route.h
/dragonfly/contrib/dhcpcd/src/sa.c
/dragonfly/contrib/dhcpcd/src/sa.h
/dragonfly/contrib/dhcpcd/src/script.c
/dragonfly/contrib/dhcpcd/src/script.h
/dragonfly/sbin/newfs_hammer2/mkfs_hammer2.c
/dragonfly/sbin/usched/usched.c
/dragonfly/share/misc/bsd-family-tree
/dragonfly/share/misc/pci_vendors
makefs/hammer2/hammer2.h
ddd1d3d118-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs/hammer2: Derive timestamp from source inodes

makefs(8) HAMMER2 has been using current time for inode's ctime/mtime.
Change hammer2_update_time() to use current fsnode's timestamp.
Al

usr.sbin/makefs/hammer2: Derive timestamp from source inodes

makefs(8) HAMMER2 has been using current time for inode's ctime/mtime.
Change hammer2_update_time() to use current fsnode's timestamp.
Also support -T option.

Note that both hammer2_curnode (current fsnode) and stampst (-T option)
are global variables.

show more ...

a0373a7514-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Sync with sys/vfs/hammer2

Sync with following sys/vfs/hammer2 commits.

$ git log --pretty="%h %s" e49cd5358c56593a7923a00706d26dbc4e8bdaed.. -- sys/vfs/hammer2/
d6f11ef8ed sys/vfs/

usr.sbin/makefs: Sync with sys/vfs/hammer2

Sync with following sys/vfs/hammer2 commits.

$ git log --pretty="%h %s" e49cd5358c56593a7923a00706d26dbc4e8bdaed.. -- sys/vfs/hammer2/
d6f11ef8ed sys/vfs/hammer2: Remove unneeded (char *)bp->b_data cast
0a7ab00601 sys/vfs/hammer2: Comment out unused local variables
8fd12ec463 sys/vfs/hammer2: Remove KKASSERT expecting path to start with "/dev/"
2e3d3c15cd sys/vfs/hammer2: Use HAMMER2_ROOT_VOLUME instead of 0
9be1b0c77a Revert "sys/vfs/hammer2: Avoid void* pointer arithmetic"

show more ...

b38e7e9912-Apr-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Remove unused local variable

Warned on FreeBSD.

--
warning: variable 'tot' set but not used [-Wunused-but-set-variable]
size_t tot = 0;
^


/dragonfly/lib/libc/sys/ktrace.2
/dragonfly/sbin/fsck_hammer2/test.c
/dragonfly/sbin/hammer2/hammer2.h
/dragonfly/sbin/hammer2/ondisk.c
/dragonfly/sbin/hammer2/subs.c
/dragonfly/sbin/ipfw/ipfw.8
/dragonfly/sbin/ipfw3/ipfw3.8
/dragonfly/sbin/mount_hammer2/mount_hammer2.c
/dragonfly/sbin/newfs_hammer2/mkfs_hammer2.c
/dragonfly/sbin/newfs_hammer2/mkfs_hammer2.h
/dragonfly/sbin/newfs_hammer2/newfs_hammer2.c
/dragonfly/sbin/route/route.c
/dragonfly/share/man/man9/Makefile
/dragonfly/share/man/man9/backlight.9
/dragonfly/share/misc/pci_vendors
/dragonfly/sys/bus/firewire/fwohci.c
/dragonfly/sys/bus/pci/x86_64/legacy.c
/dragonfly/sys/bus/u4b/wlan/if_rum.c
/dragonfly/sys/conf/files
/dragonfly/sys/conf/kmod.mk
/dragonfly/sys/conf/options
/dragonfly/sys/config/LINT64
/dragonfly/sys/contrib/edk2/Include/Base.h
/dragonfly/sys/contrib/edk2/Include/IndustryStandard/Acpi40.h
/dragonfly/sys/contrib/edk2/Include/IndustryStandard/Acpi50.h
/dragonfly/sys/contrib/edk2/Include/IndustryStandard/Acpi51.h
/dragonfly/sys/contrib/edk2/Include/IndustryStandard/Acpi60.h
/dragonfly/sys/contrib/edk2/Include/Library/BaseLib.h
/dragonfly/sys/contrib/edk2/Include/Library/DebugLib.h
/dragonfly/sys/contrib/edk2/Include/Uefi/UefiBaseType.h
/dragonfly/sys/contrib/edk2/Include/Uefi/UefiMultiPhase.h
/dragonfly/sys/contrib/edk2/Include/Uefi/UefiSpec.h
/dragonfly/sys/dev/drm/drm/Makefile
/dragonfly/sys/dev/drm/drm_gem.c
/dragonfly/sys/dev/drm/ttm/ttm_bo_vm.c
/dragonfly/sys/dev/misc/Makefile
/dragonfly/sys/dev/misc/backlight/Makefile
/dragonfly/sys/dev/misc/backlight/backlight.c
/dragonfly/sys/dev/misc/backlight/backlight.h
/dragonfly/sys/dev/misc/backlight/backlight_if.m
/dragonfly/sys/dev/netif/oce/oce_hw.c
/dragonfly/sys/dev/netif/sn/if_sn.c
/dragonfly/sys/kern/kern_event.c
/dragonfly/sys/kern/kern_kmalloc.c
/dragonfly/sys/kern/kern_ktrace.c
/dragonfly/sys/kern/kern_slaballoc.c
/dragonfly/sys/kern/kern_sysctl.c
/dragonfly/sys/kern/sys_generic.c
/dragonfly/sys/net/gif/if_gif.c
/dragonfly/sys/net/pf/pf_osfp.c
/dragonfly/sys/net/pf/pf_ruleset.c
/dragonfly/sys/net/rtsock.c
/dragonfly/sys/netinet/ip_icmp.c
/dragonfly/sys/netinet6/ip6_mroute.c
/dragonfly/sys/netproto/802_11/wlan/ieee80211_amrr.c
/dragonfly/sys/netproto/802_11/wlan/ieee80211_input.c
/dragonfly/sys/netproto/802_11/wlan/ieee80211_ratectl_none.c
/dragonfly/sys/platform/pc64/x86_64/machdep.c
/dragonfly/sys/platform/pc64/x86_64/pmap.c
/dragonfly/sys/platform/pc64/x86_64/swtch.s
/dragonfly/sys/platform/pc64/x86_64/vm_machdep.c
/dragonfly/sys/platform/vkernel64/include/metadata.h
/dragonfly/sys/platform/vkernel64/x86_64/autoconf.c
/dragonfly/sys/platform/vkernel64/x86_64/swtch.s
/dragonfly/sys/sys/backlight.h
/dragonfly/sys/sys/event.h
/dragonfly/sys/sys/ktrace.h
/dragonfly/sys/vfs/ext2fs/ext2_vnops.c
/dragonfly/sys/vfs/hammer2/hammer2_ondisk.c
/dragonfly/sys/vfs/ufs/ffs_balloc.c
/dragonfly/sys/vm/vm_fault.c
/dragonfly/sys/vm/vm_glue.c
/dragonfly/sys/vm/vm_swapcache.c
/dragonfly/usr.bin/Makefile
/dragonfly/usr.bin/backlight/Makefile
/dragonfly/usr.bin/backlight/backlight.8
/dragonfly/usr.bin/backlight/backlight.c
/dragonfly/usr.bin/dsynth/subs.c
/dragonfly/usr.bin/kdump/kdump.1
/dragonfly/usr.bin/kdump/kdump.c
/dragonfly/usr.bin/ktrace/ktrace.1
/dragonfly/usr.bin/ktrace/ktrace.h
/dragonfly/usr.bin/ktrace/subr.c
makefs/hammer2/hammer2_buf.c
e6d22e9b11-Mar-2023 Aaron LI <aly@aaronly.me>

cpucontrol.8: Fix markup error in SYNOPSIS

Obtained-from: FreeBSD

5950cfff03-Mar-2023 Sascha Wildner <saw@online.de>

Fix installer build.

f8608e0d27-Feb-2023 Aaron LI <aly@aaronly.me>

installer(8): Remove passphrase tmp file after use

242084fd26-Feb-2023 Aaron LI <aly@aaronly.me>

installer(8): Distinguish setting and getting of encryption passphrase

The installer was using the *same* dialog to set and get the passphrase
for filesystem encryption/decryption, which was confusi

installer(8): Distinguish setting and getting of encryption passphrase

The installer was using the *same* dialog to set and get the passphrase
for filesystem encryption/decryption, which was confusing and a bit
inconvenience (because the passphrase was required to input twice for
decryption).

The decryption passphrase was get in the following two places:
1. Just after installation and begins to configure the system, the
passphrase is asked to decrypt and mount the filesystems;
2. Use the LiveCD to "Configure an installed System".

This commit improves the fn_get_passphrase() function to distinguish the
setting and getting of the encryption passphrase. The dialog of setting
the passphrase remains the same, but the dialog of getting the
passphrase is simplified and doesn't require to confirm the input.

This commit is derived from the patch by tuxillo.

Bug: https://bugs.dragonflybsd.org/issues/3028

show more ...


/dragonfly/Makefile_upgrade.inc
/dragonfly/README
/dragonfly/bin/date/date.1
/dragonfly/bin/date/date.c
/dragonfly/bin/date/vary.c
/dragonfly/bin/date/vary.h
/dragonfly/etc/Makefile.usr
/dragonfly/etc/mtree/BSD.usr.dist
/dragonfly/include/stdio.h
/dragonfly/lib/libc/Versions.def
/dragonfly/lib/libc/gen/Makefile.inc
/dragonfly/lib/libc/gen/arc4random-compat.c
/dragonfly/lib/libc/gen/arc4random.3
/dragonfly/lib/libc/gen/arc4random.c
/dragonfly/lib/libc/gen/arc4random.h
/dragonfly/lib/libc/gen/arc4random_uniform.c
/dragonfly/lib/libc/net/rcmd.3
/dragonfly/lib/libc/net/rcmdsh.3
/dragonfly/lib/libc/stdio/Makefile.inc
/dragonfly/lib/libc/stdio/Symbol.map
/dragonfly/lib/libc/stdio/fopencookie.3
/dragonfly/lib/libc/stdio/fopencookie.c
/dragonfly/lib/libc/stdio/funopen.3
/dragonfly/lib/libc/sys/kldstat.2
/dragonfly/libexec/dma/Makefile
/dragonfly/nrelease/Makefile
/dragonfly/sbin/kldconfig/kldconfig.8
/dragonfly/sbin/kldstat/Makefile
/dragonfly/sbin/kldstat/kldstat.8
/dragonfly/sbin/kldstat/kldstat.c
/dragonfly/share/examples/mailwrapper/mailer.conf.dma
/dragonfly/share/examples/mailwrapper/mailer.conf.opensmtpd
/dragonfly/share/examples/mailwrapper/mailer.conf.postfix
/dragonfly/share/examples/mailwrapper/mailer.conf.sendmail
/dragonfly/share/man/man5/periodic.conf.5
/dragonfly/share/man/man7/hier.7
/dragonfly/share/man/man7/release.7
/dragonfly/share/man/man7/security.7
/dragonfly/stand/boot/common/boot.c
/dragonfly/stand/boot/common/bootstrap.h
/dragonfly/stand/boot/common/load_elf.c
/dragonfly/stand/boot/common/load_elf_obj.c
/dragonfly/stand/boot/common/module.c
/dragonfly/stand/boot/common/rel_open.c
/dragonfly/sys/conf/files
/dragonfly/sys/crypto/chacha20/_chacha.h
/dragonfly/sys/crypto/chacha20/chacha-sw.c
/dragonfly/sys/crypto/chacha20/chacha.c
/dragonfly/sys/crypto/chacha20/chacha.h
/dragonfly/sys/kern/kern_clock.c
/dragonfly/sys/kern/kern_linker.c
/dragonfly/sys/kern/kern_slaballoc.c
/dragonfly/sys/kern/link_elf.c
/dragonfly/sys/kern/link_elf_obj.c
/dragonfly/sys/kern/lwkt_thread.c
/dragonfly/sys/kern/subr_module.c
/dragonfly/sys/kern/subr_sleepqueue.c
/dragonfly/sys/kern/vfs_bio.c
/dragonfly/sys/net/if_ethersubr.c
/dragonfly/sys/net/vlan/if_vlan.c
/dragonfly/sys/platform/pc64/x86_64/busdma_machdep.c
/dragonfly/sys/sys/kernel.h
/dragonfly/sys/sys/linker.h
/dragonfly/sys/sys/malloc.h
/dragonfly/sys/sys/param.h
/dragonfly/sys/sys/sleepqueue.h
/dragonfly/sys/sys/thread.h
/dragonfly/sys/sys/types.h
/dragonfly/sys/sys/wait.h
/dragonfly/sys/vm/vm_object.c
/dragonfly/usr.bin/chat/chat.8
/dragonfly/usr.bin/dsynth/Makefile
/dragonfly/usr.bin/dsynth/build.c
/dragonfly/usr.bin/dsynth/config.c
/dragonfly/usr.bin/dsynth/dsynth.1
/dragonfly/usr.bin/dsynth/dsynth.c
/dragonfly/usr.bin/dsynth/dsynth.h
/dragonfly/usr.bin/dsynth/mount.c
/dragonfly/usr.bin/passwd/passwd.1
/dragonfly/usr.bin/telnet/telnet.1
/dragonfly/usr.bin/top/m_dragonfly.c
/dragonfly/usr.bin/top/top.1
/dragonfly/usr.bin/window/main.c
/dragonfly/usr.bin/window/string.c
/dragonfly/usr.bin/window/window.1
/dragonfly/usr.bin/window/window_string.h
/dragonfly/usr.bin/window/wwsize.c
/dragonfly/usr.bin/window/wwterminfo.c
/dragonfly/usr.bin/window/wwwrite.c
/dragonfly/usr.bin/xinstall/Makefile
installer/dfuibe_installer/fn.h
installer/dfuibe_installer/fn_configure.c
installer/dfuibe_installer/fn_subpart_hammer.c
installer/dfuibe_installer/fn_subpart_ufs.c
b98c391803-Feb-2023 Aaron LI <aly@aaronly.me>

pw(8): Allow to change GID of non-root super users (UID=0)

pw(8) was silently refusing to change the GID/group of super users (i.e.,
UID=0), and thus couldn't change the group of 'toor' user.

Relax

pw(8): Allow to change GID of non-root super users (UID=0)

pw(8) was silently refusing to change the GID/group of super users (i.e.,
UID=0), and thus couldn't change the group of 'toor' user.

Relax the policy a bit and only preventing from changing the GID/group
of 'root' user, and raise an error in that case. The 'root' is regarded
as the special super user and already has several special checks in the
code. So this change actually make the behavior more consistent.

This commit fixes the special case of 'tools/pw-update.sh' adding the
'toor' user. It first adds the user with group of 'nogroup' and later
change to its real group.

Bug: https://bugs.dragonflybsd.org/issues/3332

show more ...

9309ae0401-Feb-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Fix HAMMER2 section in makefs(8)

Copied from cd9660 section, but none of these are optional.

d5e693f101-Feb-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Print too long path in errx()

8f9d1da130-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Set HAMMER2 inode mode using source inode

which is also what other makefs fs do.

e49cd53528-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Sync with sys/vfs/hammer2

Sync with following sys/vfs/hammer2 commits.

$ git log --pretty="%h %s" 66f2c621b4a3c452381030521ca3bb6dadfba431.. -- sys/vfs/hammer2/
1d5238a4ed sys/vfs/

usr.sbin/makefs: Sync with sys/vfs/hammer2

Sync with following sys/vfs/hammer2 commits.

$ git log --pretty="%h %s" 66f2c621b4a3c452381030521ca3bb6dadfba431.. -- sys/vfs/hammer2/
1d5238a4ed sys/vfs/hammer2: Fix -Wpointer-sign warnings on hammer2_dirhash()
1b796c7004 sys/vfs/hammer2: Fix -Wpointer-sign warnings

show more ...

9e98def125-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Fix -Wformat warnings

Warned on Linux user space.
makefs(8) HAMMER2 specific part of what was fixed in 4ed61d288d.

warning: format '%jx' expects argument of type 'uintmax_t', but .

usr.sbin/makefs: Fix -Wformat warnings

Warned on Linux user space.
makefs(8) HAMMER2 specific part of what was fixed in 4ed61d288d.

warning: format '%jx' expects argument of type 'uintmax_t', but ... [-Wformat=]

show more ...

66f2c62125-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Sync with sys/vfs/hammer2

Sync with following sys/vfs/hammer2 commits.

$ git log --pretty="%h %s" 347169d4ac18a2d8b3a5e7ac93ccd9823cdac4c9.. -- sys/vfs/hammer2/
4ed61d288d sys/vfs/

usr.sbin/makefs: Sync with sys/vfs/hammer2

Sync with following sys/vfs/hammer2 commits.

$ git log --pretty="%h %s" 347169d4ac18a2d8b3a5e7ac93ccd9823cdac4c9.. -- sys/vfs/hammer2/
4ed61d288d sys/vfs/hammer2: Fix -Wformat warnings
f6ce9317ec sys/vfs/hammer2: Fix -Wint-in-bool-context warning
523dfb54e3 sys/vfs/hammer2: Remove -Wunused-but-set-variable local variables

show more ...

c108dee525-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Remove -Wunused-but-set-variable local variable

Warned on Linux user space.

02f727fe24-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Use `char *` not `void *` for buf b_data

, drop casts in msdos

Only struct m_buf change applies in this commit.
"drop casts in msdos" part had already been applied.

taken-from Fre

usr.sbin/makefs: Use `char *` not `void *` for buf b_data

, drop casts in msdos

Only struct m_buf change applies in this commit.
"drop casts in msdos" part had already been applied.

taken-from FreeBSD ef63362055dcf60ea2eb532991584c67aab911e2

show more ...

4e2eefe924-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Rename struct buf -> m_buf

to reduce unnecessary diff vs FreeBSD makefs.

6bcbb70624-Jan-2023 Tomohiro Kusumi <tkusumi@netbsd.org>

usr.sbin/makefs: Rename struct vnode -> m_vnode

to reduce unnecessary diff vs FreeBSD makefs.

12345678910>>...91