Ask A Question
 
Nunikares
Fresh Boarder
Blog Posts: 0
Forum Posts: 10
Rating: 0ApplaudCriticize
Posted 5 Months, 1 Week ago #1
Hi, I am implementing quotas on my system and since a few days ago I am receiving the following silly message from the warnquota program:

/etc/cron.daily/warnquota:

warnquota: Can't open /etc/quotatab: No such file or directory Will use device names.

I guess I need to create that file, but I do not know the syntax. The man page for warnquota says 'see example file for syntax', but I do not see any sample file anywhere. So if someone were so kind as to send me some example quotatab file that I can use to learn the syntax I would really appreciate it very much.

Thank you in advance.

Miguel A. Lerma
Answer
dsojda
Fresh Boarder
Blog Posts: 0
Forum Posts: 10
Rating: 0ApplaudCriticize
Posted 5 Months, 1 Week ago #2
# This is an example quotatab file # # This file is used as a translation for device names, so a warnquota message # makes sense to the user. # # syntax is as follows: # # colon ':' is used to specify the start of the substituted text # pipe '|' is used to specify a line break # # deviceubstituted text # device:text on line 1|text on line2 # # For instance if you would like to have warnquota tell the user their # 'mailspool' is full instead of '/dev/hdb1' is full, use the following # example. # # /dev/hdb1:mailspool

HTH,
Answer

Spread the Word!

Four out of five users would recommend us to a friend. Shouldn't you?
Link to Us    Tell a Friend

Related Posts:

The Content on this site is provided for general information purposes only. Your use of the Content, or any part thereof, is made solely at Your own risk and responsibility. By entering this site you declare you read and agreed to its Terms, Rules & Privacy.
Copyright © 2006 - 2010 My Linux Gang