How to enable udf support at startup?

Greetings,
I’m on 9.2 seeking a way to have modprobe udf run every time the system boots.

Thanks,

It’s not usually needed, when you mount a udf volume, it should start up?

It needs to be there for import to Azure. (Creating our own image for the Azure compute gallery)
Looks like I also need to get VFAT going as well. Same reason, sigh…

Like this:

echo "module_name" > /etc/modules-load.d/<module_name>.conf

So:

echo "udf" > /etc/modules-load.d/udf.conf

and reboot.

root@rocky9:~# lsmod | grep udf
udf                   155648  0
crc_itu_t              12288  1 udf
cdrom                  90112  2 udf,sr_mod

root@rocky9:~# cd /etc/modules-load.d/

root@rocky9:/etc/modules-load.d# ls
udf.conf

root@rocky9:/etc/modules-load.d# cat udf.conf
udf

root@rocky9:/etc/modules-load.d# uptime
 09:30:24 up 0 min,  1 user,  load average: 0.21, 0.06, 0.02

Brilliant! That worked fine. Thanks!

Any advice on getting VFAT enabled as well?

On my rocky9, vfat is loaded my default:

root@rocky9:~# lsmod | grep vfat
vfat                   16384  1
fat                   102400  1 vfat

Otherwise you would just do the same procedure as my previous example.