xfs_quotas error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have troubles figuring out how to properly handle errors of
`xfs_quotas` command. Seems like it never returns a non-zero error
code:

> mdulko:tmp/ $ xfs_quota -x -c "report -p" /data
> xfs_quota: cannot setup path for mount /data: No such file or
> directory
> mdulko:tmp/ $ echo $?
> 0

I tried reading stderr and assuming a failure when anything is written
there, but that doesn't really work either - warnings go to stderr too.

Does anyone know how to solve this?

Thanks,
Michał





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux