Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2025 09:00:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 288238] The .uzip file can't be mounted
Message-ID:  <bug-288238-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288238

            Bug ID: 288238
           Summary: The .uzip file can't be mounted
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: weike_chen@dell.com

On FreeBSD 14.3, I generate the .uzip file by:

makefs -t ffs -o label=ROOTFS -o version=2 rootfs.img ./rootfs
mkuzip -o rootfs.uzip rootfs.img

Check rootfs.img
mdconfig -a -t vnode -f rootfs.img -u 2
mount /dev/md2 /mnt
ls /mnt ------------------------------------> All files are showed

Check rootfs.uzip

kldload geom_uzip
mdconfig -a -t vnode -f rootfs.uzip -u 1
mount -t ufs /dev/md1.uzip /mnt
ls /mnt------------------------------------> No files are showed

file rootfs.uzip
rootfs.uzip: POSIX shell script executable (binary data)

file rootfs.img
rootfs.img: Unix Fast File system [v2] (little-endian) last mounted on /mnt,
last written at Tue Jul 15 16:22:52 2025, clean flag 1, readonly flag 0, number
of blocks 1641048, number of data blocks 1631103, number of cylinder groups 8,
block size 32768, fragment size 4096, average file size 16384, average number
of files in dir 64, pending blocks to free 0, pending inodes to free 0,
system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288238-227>