[Bug 277804] stat(2) on UFS volumes reports wrong st_dev (devid) when run through Linux compat layer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Mar 2024 08:56:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277804 --- Comment #2 from Michael Osipov <michaelo@FreeBSD.org> --- A simple 15-CURRENT vm: > root@deblndw013x5v:/usr # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/vtbd0p2 1.9G 1.5G 290M 84% / > devfs 1.0K 0B 1.0K 0% /dev > /dev/vtbd0p1 260M 1.3M 259M 1% /boot/efi > /dev/vtbd0p4 3.9G 33M 3.5G 1% /tmp > /dev/vtbd0p5 3.9G 171M 3.4G 5% /var > /dev/vtbd0p6 7.7G 64M 7.0G 1% /var/tmp > linprocfs 8.0K 0B 8.0K 0% /compat/linux/proc > linsysfs 8.0K 0B 8.0K 0% /compat/linux/sys > devfs 1.0K 0B 1.0K 0% /compat/linux/dev > fdescfs 1.0K 0B 1.0K 0% /compat/linux/dev/fd > tmpfs 11G 4.0K 11G 0% /compat/linux/dev/shm Linux executable: root@deblndw013x5v:/tmp # df -t ufs | cut -f 6 -w | sed 1d | xargs -I% ./stat-linux % /:52, major: 0, minor: 52 /tmp:54, major: 0, minor: 54 /var:52, major: 0, minor: 52 /var/tmp:56, major: 0, minor: 56 FreeBSD executable: > root@deblndw013x5v:/tmp # df -t ufs | cut -f 6 -w | sed 1d | xargs -I% ./stat-freebsd % > /:52, major: 0, minor: 52 > /tmp:54, major: 0, minor: 54 > /var:55, major: 0, minor: 55 > /var/tmp:56, major: 0, minor: 56 -- You are receiving this mail because: You are the assignee for the bug.