https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252468
Bug ID: 252468
Summary: emulators/qemu-user-static: mount(8) cannot show root
filesystem
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
Scenario:
- disk903: ZFS volume containing an amd64 FreeBSD head installation
- disk925: ZFS volume containing an armv6 FreeBSD head installation, exported
via iSCSI
- bhyve server running FreeBSD 12.2 (releng/12.2)
- bhyve client running from disk903 -> results in running VM "v903"
- in v903, the disk925 armv6 installation is imported using iSCSI and mounted
on /d/925s2a
- in v903, qemu-user-static is installed
- in v903, a chroot to /d/925s2a is done using
chroot /d/925s2a/ zsh -l
- This results in a shell (zsh) running emulated armv6 binaries.
- (This setup is used to update armv6 ports using portmaster.)
- In this chroot, issue "mount -p /" and "df /".
Result:
[0]# mount -p /
mount: /: unknown special file or file system
[1]# df /
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/diskid/DISK-HAL_V0925s2a 20289716 3970484 14696056 21% /d/925s2a
[0]#
Expected result:
[0]# mount -p /
/dev/diskid/DISK-HAL_V0925s2a /d/925s2a ufs rw 0 0
[0]# df /
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/diskid/DISK-HAL_V0925s2a 20289716 3970484 14696056 21% /d/925s2a
[0]#
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"