bug#64604: readlink exit booelan value bug

2023-07-13 Thread Paul Eggert
On 2023-07-13 19:38, Budi wrote: /tmp$ readlink -f ./KERNEL-linux-6.3.9 && echo SUCCEEDS FIND IT /tmp/KERNEL-linux-6.3.9 SUCCEEDS FIND IT but correct at deeper depth: /tmp$ readlink -f ./KERNEL-linux-6.3.9/fs && echo SUCCEEDS FIND IT look it up, no KERNEL-linux-6.3.9 dir.: That's not a

bug#64604: readlink exit booelan value bug

2023-07-13 Thread Budi
EDIT ABOVE MAIL TO HAVE TITILE readlink exit value is TRUE as it actually must be FALSE at first depth dir. with -f or -e option e.g. in /tmp dir: /tmp$ readlink -f ./KERNEL-linux-6.3.9 && echo SUCCEEDS FIND IT /tmp/KERNEL-linux-6.3.9 SUCCEEDS FIND IT but correct at deeper depth: /tmp$

bug#64603:

2023-07-13 Thread Budi
readlink exit value is TRUE as it actually must be FALSE at first depth dir. with -f or -e option e.g. in /tmp dir: /tmp$ readlink -f ./KERNEL-linux-6.3.9 && echo SUCCEEDS FIND IT /tmp/KERNEL-linux-6.3.9 SUCCEEDS FIND IT but correct at deeper depth: /tmp$ readlink -f ./KERNEL-linux-6.3.9/fs

bug#64588: BUG: stat -f incorrectly reports a BTRFS device as a tmpfs

2023-07-13 Thread Andreas Schwab
On Jul 13 2023, support wrote: > # function: is_btrfs > # parameter: path to a mounted filesystem A device node is not a path to a mounted filesystem -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something

bug#64588: BUG: stat -f incorrectly reports a BTRFS device as a tmpfs

2023-07-13 Thread Pádraig Brady
On 13/07/2023 11:33, support wrote: Hmmm ok, Well the reason I flagged it as a bug, is because the btrfsmaintenance package uses a script to test to see if a filesystem is btrfs and incorrectly uses stat -f to do it. This must have worked in the past else they would not use it. The code

bug#64588: BUG: stat -f incorrectly reports a BTRFS device as a tmpfs

2023-07-13 Thread support
Hmmm ok, Well the reason I flagged it as a bug, is because the btrfsmaintenance package uses a script to test to see if a filesystem is btrfs and incorrectly uses stat -f to do it. This must have worked in the past else they would not use it. The code snippet is: # function: is_btrfs #

bug#64588: BUG: stat -f incorrectly reports a BTRFS device as a tmpfs

2023-07-13 Thread Pádraig Brady
tag 64588 notabug close 64588 stop On 12/07/2023 23:46, support wrote: coreutils version 9.1-1 on Debian testing, but also exists in previous versions. Example: stat -f  /dev/sdb   File: "/dev/sdb"     ID: eb91af7d7bda02dd Namelen: 255 Type: tmpfs Block size: 4096   Fundamental