[DragonFlyBSD - Bug #3358] [panic] mount_hammer2 a non-existing path

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Sep 14 17:04:02 PDT 2023


Issue #3358 has been updated by liweitianux.


This assertion has been removed in commit https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8fd12ec on the master branch.
If it works as expected (i.e., the mount command fails with the correct error), we should also cherry-pick it to the release branch.

----------------------------------------
Bug #3358: [panic] mount_hammer2 a non-existing path
http://bugs.dragonflybsd.org/issues/3358#change-14525

* Author: fgudin
* Status: New
* Priority: Low
* Category: Kernel
* Target version: 6.6
* Start date: 2023-09-14
----------------------------------------
Hi,

a foolish attempt at ’mount_hammer2 /non/existing/path /mnt’ leads to:
panic: assertion "strncmp(path, "/dev/", 5) == 0" failed in hammer2_init_devvp at /usr/src/sys/vfs/hammer2/hammer2_ondisk.c:197

For the context, i mis-copypasted a PFS label.

If the dump is useful i can provide it. Just let me know.

Thanks in advance,
-- 
Francis




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list