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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Sep 15 01:03:24 PDT 2023


Issue #3358 has been updated by fgudin.


Right, the behaviour is correct on master:
<pre>
root at aph-mon2:~ # uname -a
DragonFly aph-mon2.asf.pri 6.5-DEVELOPMENT DragonFly v6.5.0.266.g0f9a5-DEVELOPMENT #0: Fri Sep 15 09:16:28 CEST 2023     root at aph-mon2.asf.pri:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
root at aph-mon2:~ # mount_hammer2 /non/existing/path /mnt
mount_hammer2: /non/existing/path at DATA not found
root at aph-mon2:~ #
</pre>

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

* 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