.UFS

UFS File

FreeBSD Unix File System Disk Image
Ask a question
QUICK ANSWER

A UFS file is a raw disk image containing a FreeBSD UFS2 filesystem, used mainly by the now-discontinued PC-BSD distribution for network installation cloning. On Linux, mount it read-only with the ufs kernel module. On Windows, use WSL2. PC-BSD was discontinued in 2018.

Developer: The FreeBSD Project / iXsystems (PC-BSD) Category: Disk Image Files Open standard MIME: application/octet-stream
OPENS ON Windows Linux
Related: .BIN · .ISO · .MDF · .DMG

On this page

19k+ extensions indexed
Last reviewed Jun 18, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the UFS file format?

.ufs is a raw disk image containing a UFS2 (Unix File System 2) filesystem, used primarily by PC-BSD and its successor TrueOS for network-based installation cloning. Rather than a wrapper format, it is a verbatim sector-by-sector copy of a UFS2-formatted partition, suitable for writing directly to a target disk with dd or similar tools.

The UFS2 superblock - the on-disk structure that records block size, inode counts, and filesystem parameters - is located at offset 1,372 bytes (0x55C) from the start of the image, carrying the magic value 0x19540119. The older UFS1 variant places its superblock at offset 8,192 bytes. Beyond the superblock, the layout follows standard UFS2 conventions: boot blocks, cylinder group summaries, inode tables, and data blocks.

UFS2 is the native filesystem of FreeBSD, introduced with FreeBSD 5.0 in January 2003. The .ufs extension appeared in PC-BSD network installers distributed roughly between 2010 and 2018. Mounting a .ufs image on Linux requires the ufs kernel module via mount -t ufs -o ufstype=ufs2; on FreeBSD, mdconfig attaches the image as a memory disk before mounting.

PC-BSD was renamed TrueOS in 2016 and effectively discontinued in 2018 when iXsystems focused on TrueNAS. Raw disk images are now more commonly distributed with the .img extension.

Security & safety

RISK: LOW

UFS disk images are passive filesystem containers. Risk is data exposure if the image contains sensitive files from the source system. Scan contents before sharing. Mounting an untrusted image on Linux with read-only flag (-o ro) limits risk.

Format details

in a nutshell
FULL NAMEFreeBSD Unix File System Disk Imageaka UFS2 Disk Image, PC-BSD UFS Image
DEVELOPERThe FreeBSD Project / iXsystems (PC-BSD)since UFS2 introduced in FreeBSD 5.0 (2003); .ufs image extension used by PC-BSD network installers
MIME TYPEapplication/octet-stream
TYPERaw UFS2 filesystem disk image
STANDARDOpen · royalty-free
This extension is also used by…
  • Generic raw disk image - Any raw UFS2 partition dump may be saved as .ufs regardless of origin tool.
MAGIC BYTES · FILE SIGNATURE
OFFSET
55c55d
HEX
1901
ASCII
··
UFS2 superblock magic: 0x19 54 01 19 at offset 0x55C (1372 decimal) in the raw image. UFS1 superblock magic: 0x11 95 44 19 at offset 8192. These are the standard UFS superblock magic numbers.

Programs that open UFS files

Windows1 app
WSL2 + Linux ufs kernel module Free From WSL2 (Debian/Ubuntu): sudo mount -t ufs -o ro,ufstype=ufs2 /path/image.ufs /mnt/ufs
Linux2 apps
Linux kernel ufs module (mount command) Open-source sudo mount -t ufs -o ro,ufstype=ufs2 /path/to/image.ufs /mnt/ufs
FreeBSD (in VM or native) Open-source mdconfig -a -t vnode -f image.ufs -u 0; mount /dev/md0 /mnt

Technical details

deep spec
Filesystem typeUFS2 (Unix File System 2)
Byte orderLittle-endian
UFS2 superblock offset1372 bytes (0x55C) from image start
UFS2 superblock magic0x19540119 (fs_magic field)
UFS1 superblock offset8192 bytes (for older UFS1-formatted images)
Block structureConfigurable block and fragment sizes; typical: 32768-byte blocks, 4096-byte fragments
Cylinder group layoutBoot blocks → superblock → cylinder group summaries → inode tables → data blocks
OS origin fieldfs_ostype in superblock identifies the creating operating system
Superblock checksumCRC32 on UFS2 superblock (soft-updates); optional gjournal per-block checksums
Typical image size50 MB - 20 GB (PC-BSD/TrueOS network installer clone images)
FreeBSD mount methodmdconfig -a -t vnode -f <file.ufs> then mount /dev/md0 <mountpoint>
Linux mount commandmount -t ufs -o ufstype=ufs2 <file.ufs> <mountpoint>
Primary use casePC-BSD / TrueOS network installation cloning (circa 2010-2018)
ReleasedUFS2 introduced in FreeBSD 5.0 (2003); .ufs image extension used by PC-BSD network installers
Latest versionUFS2 (current; UFS1 obsolete); no version embedded in image extension
Open standardYes · royalty-free
Specificationdocs.freebsd.org

UFS conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with UFS files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about UFS files.

Frequently asked questions

What is a UFS file?
A raw disk image containing a FreeBSD UFS2 filesystem, used primarily by the discontinued PC-BSD distribution for network installs.
How do I open a UFS file on Windows?
Use WSL2 (Windows Subsystem for Linux) and mount it: sudo mount -t ufs -o ro,ufstype=ufs2 /path/to/image.ufs /mnt/ufs
How do I open a UFS file on Linux?
sudo mount -t ufs -o ro,ufstype=ufs2 /path/to/file.ufs /mnt/point (Linux ufs module supports read-only UFS2).
Is PC-BSD still available?
No. PC-BSD was renamed TrueOS in 2016 and effectively discontinued in 2018. iXsystems now focuses on TrueNAS. FreeBSD is the upstream project.
Can I convert a UFS image to run on Linux (ext4)?
Not directly. Mount the UFS image, copy files out, then create a new ext4 image. The filesystem layout changes completely.

References

1FreeBSD Handbook - UFS Filesystemdocs.freebsd.org
2FreeBSD UFS partition schema notesrderik.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.EXEWindows Executable (Portable Executable)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.MDMarkdown Document
9.TXTPlain Text File
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.BINCD/DVD Disc Image (BIN/CUE)
.ISOISO disc image (ISO 9660 / UDF)
.MDFMedia Descriptor File (Alcohol 120% / DAEMON Tools disc image)
.DMGApple Disk Image
.NRGNero Burning ROM Disc Image
.TIBAcronis True Image Backup

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z