vermaden / automount

Simple devd(8) based automounter for FreeBSD
66 stars 20 forks source link

kernel module fuse #52

Closed lherschi closed 6 months ago

lherschi commented 7 months ago

"kldload fuse" in automount line 508 can be removed. In FreeBSD 12.4, fuse.ko was already a link to fusefs.ko. In FreeBSD 13.2 there is only fusefs.ko.

vermaden commented 7 months ago

Yes. I know this is future thinking (no longer needed) but it does not hurts and there are some cases when someone needs to run automount(8) on older system - so this (pointless now) command of loading fuse.ko does not hurt and may be useful for someone :)

Thank You for the report tho.

Regards, ver

lherschi commented 6 months ago

On systems on which both fusefs and fuse are present (e.g. FreeBSD 12.4 has a link fuse on fusefs), the following message appears on startup, which is unpleasant.

interface fusefs.1 already present in the KLD 'fusefs.ko'! linker_load_file: /boot/kernel/fuse.ko - unsupported file type

vermaden commented 6 months ago

Is this message in 'white' font - directly from the kernel?

vermaden commented 6 months ago

I just checked right now - and FreeBSD 12.x (in any version) is EOL since 2023/12:

So I believe focusing on it now seems like a waste of time ... what You think?

lherschi commented 6 months ago

Yes, but FreeBSD 12.4 was at least the last FreeBSD that still had fuse. All after that have fusefs. That's why I said fuse could be abolished.

vermaden commented 6 months ago

OK, I got your point, I will left only fusefs in the next release.

vermaden commented 6 months ago

Removed: https://github.com/vermaden/automount/commit/3f9b41940e32f4b6e4a509ff80eba65f81be12c2

lherschi commented 6 months ago

Thank you.

vermaden commented 6 months ago

Thanks.