Hi.
I found two problems in new xfs_bmap script.
1. xfs_bmap is unable to handle options:
# xfs_bmap .build.log
.build.log:
0: [0..311]: 644560..644871
Everything OK without options, but
# xfs_bmap -l .build.log
xfs_io: invalid option -- l
Usage: xfs_bmap [-r] [-p prog] [-c cmd]... file
2. If you haven't xfs_io in your default path, xfs_bmap is unable to find
it. I use xfs_bmap as normal user often. But I haven't /usr/sbin in my
default path. Then I call xfs_bmap with full path '/usr/sbin/xfs_bmap'. The
old binary worked correctly but new script doesn't.
The attached patch fix these problems. Please review it and apply.
jan
xfsprogs-2.4.7-bmap.patch
Description: Text document
|