TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: PH8HL1$5C1$1@NEWS.ALBASAN
from: I R A DARTH AGGIE
date: 2018-07-01 20:02:00
subject: Re: Can Raspbian mount a

On Sat, 30 Jun 2018 18:20:17 +0000 (UTC),
bob prohaska , in
 wrote:
>  From time to time I'd like to mount FreeBSD ufs filesystems on
>  a Pi3 running Raspbian Stretch. It appears that FreeBSD's ufs
>  filesystems aren't recognized.
>
>  There's a reference on the web to mounting ufs on Ubuntu, but
>  that's not obviously applicable. An apropos search comes up empty.
>
>  Thanks for reading, any guidance appreciated!

There is no ufs kernel modules in the default raspbian packages:

$ sudo modprobe ufs
modprobe: FATAL: Module ufs not found.

You'll have to build the ufs kernel module. You need to either build a
complete custom kernel, or have to use the DKMS framework to assist
you. You can not mount a UFS volume until then.

Neither are in the default packages. The ufsutils provides the
following ufs utilities:

mkfs.ufs fsck.ufs fsdb.ufs dumpfs.ufs growfs.ufs tunefs.ufs badsect.ufs ffsinfo

Unless this is something super important, IMO it isn't worth
pursuing. Building custom kernels is not for the faint of heart, and
is generally. On the other hand, all you really need to do is download
the kernel source packages and the build dependencies, modify the set
up to include UFS support, and then build your own custom
kernel-image-x.y-z.stuff.deb packages.

I think you can probably get away with building the kernel and then
copy the ufs.ko module and manually stick in the appropriate
/lib/modules/$KERNEL-VERSION/kernel/fs/ufs/ directory and update the
modules listing by "sudo depmod". I think that's all you need.

Please note that for the most part, UFS support is read-only. There
are ways to get read-write support, but as the saying goes, "here be
dragons": writing is not well tested or supported, and may eat your
data.

--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.