I am trying to write a bash script that will tell me the default "Block grace time" for a given partition in a predictable unit. The closest I have found so far is to use repquota and parse the output, but it is inconsistent. Sometimes it reports days as you see below "7days", as you can see blow on the 3rd line.

```
[root@hostname]# repquota -g -p /
*** Report for group quotas on device /dev/mapper/vg_in1-lv_root
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
Group           used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 2135928       0       0      0   59727     0     0      0
bin       --     480       0       0      0      28     0     0      0
tty       --      24       0       0      0       2     0     0      0
[...]

```

For shorter periods, it reports as "4:10" which means 4 hours 10 minutes. For values < 30 seconds, it reports 00:00, and between 30 seconds and 1 minute, it reports 00:01.

How can I get the actual setting Block grace time value, without having it be made more "human readable" so it can be parsed by a program reliably?

Thanks!