bug#69873: df(1) does not display all UFS mountpoints as valid on FreeBSD

2024-03-18 Thread Osipov, Michael (IN IT IN)
Disclaimer: I am not 100% certain whether this is a bug in GNU coreutils or FreeBSD Linux emulation layer because the behavior is weird. So, please bear with me. Consider the following output on FreeBSD 13 from FreeBSD's df(1): $ df -t ufs -b -T -a Filesystem Type 512-blocks U

bug#69873: Acknowledgement (df(1) does not display all UFS mountpoints as valid on FreeBSD)

2024-03-18 Thread Osipov, Michael (IN IT IN)
I did some more investigation with stat(2). Running native on FreeBSD with Python os package 'st_dev': $ df -t ufs | cut -f 6 -w | sed 1d | xargs -I% python ~/stat.py % /: 108 /tmp: 110 /var: 111 /var/tmp: 112 /usr: 113 /usr/local: 161 /usr/ports: 142 /usr/obj: 141 /usr/local/pgsql: 140 /var/ne