Wed, 12 Mar 2008

User friendly names in warnquota

By default, warnquota sends out emails with the device name in the message, which probably doesn't make much sense to most non-technical users.

Hi,

We noticed that you are in violation with the quotasystem
used on this system. We have found the following violations:


/dev/mapper/Ubuntu-home

                        Block limits               File limits
Filesystem           used    soft    hard  grace    used  soft  hard  grace
/dev/mapper/Ubuntu-home
               +- 1044404 1000000 1200000  6days    1781     0     0

You can improve this by using /etc/quotatab to assign a more meaningful name to the partition:

/dev/mapper/Ubuntu-home:user directory
/dev/mapper/Ubuntu-shared:shared area
[gotchas,quota,warnquota] | # Read Comments (1) |

Comments

I think it would be a start to report not the device but the mount point used for it. Of course, this gets interesting if a filesystem is mounted more than once. :)
Posted by Torsten Landschoff at Wed Mar 12 21:00:53 2008

Name:


E-mail:


URL:


Comment:


Please enter "fudge" to prove you are a human