🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.fs
1 messages
1 total messages Started by Gabe Bauer Tue, 03 Nov 2026 00:17
Experiencing deadlock when trying to list root directory in custom filesystem
#28
Author: Gabe Bauer
Date: Tue, 03 Nov 2026 00:17
40 lines
7736 bytes
--0000000000004e0afe065f5432fe
Content-Type: text/plain; charset="UTF-8"

Hello! I recently started work trying to port a filesystem I wrote for FUSE
to a FreeBSD kernel module. I am able to successfully mount and unmount,
however, the VM I am doing the development in freezes when I try to ls
/mnt. I thought that trying to adopt the same patterns as UFS for the root
vnode function and vget would help this problem. It did not. I posted a
question about this to StackOverflow and the code itself is in a public
GitHub repository. The StackOverflow question can be found here
<https://stackoverflow.com/questions/80013759/experiencing-deadlock-when-trying-to-list-root-directory-in-custom-filesystem>
and
the GitHub repository can be found here
<https://github.com/gjbauer/proj3-kern-module>. Any help here would be
appreciated. Thank you very much!!

--0000000000004e0afe065f5432fe
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello! I recently started work trying to port a filesystem=
 I wrote for FUSE to a FreeBSD kernel module. I am able to successfully mou=
nt and unmount, however, the VM I am doing the development in freezes=C2=A0=
when I try to ls /mnt. I thought that trying to adopt the same patterns as =
UFS for the root vnode function and vget=C2=A0would help this problem. It d=
id not. I posted a question about this to StackOverflow and the code itself=
 is in a public GitHub repository. The StackOverflow question can be found=
=C2=A0<a href=3D"https://stackoverflow.com/questions/80013759/experiencing-=
deadlock-when-trying-to-list-root-directory-in-custom-filesystem" target=3D=
"_blank">here</a>=C2=A0and the GitHub repository can be found=C2=A0<a href=
=3D"https://github.com/gjbauer/proj3-kern-module" target=3D"_blank">here</a=
>. Any help here would be appreciated. Thank you very=C2=A0much!!<br class=
=3D"gmail-Apple-interchange-newline"></div>

--0000000000004e0afe065f5432fe--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads