public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Quota warnings somewhat broken
@ 2004-10-21 16:12 Jan Engelhardt
  2004-10-22  9:34 ` [PATCH] " Jan Kara
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Engelhardt @ 2004-10-21 16:12 UTC (permalink / raw)
  To: linux-kernel

Hello,


When a user exceeds his soft (and hard) disk quota, a warning message is
printed to current->tty. However, output is a bit offset:

$ dd if=/dev/zero of=blk bs=1024 count=100000
hda1: write failed, user block limit reached.
                                             dd: opening `blk': Disk quota exceeded

This is due to the messages in fs/dquot.c only ending in "\n" but should
probably end in "\r\n".
A patch can be found @
http://linux01.org:2222/f/hxtools/kernel/265-quota_warnfix.diff (only use the
dquot.c chunk). Despite it saying 2.6.4, it's still in 2.6.9.

Any takers?



Jan Engelhardt
-- 
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
Tel 0162.3520895 or 05502.3009.63

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-10-27 12:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21 16:12 Quota warnings somewhat broken Jan Engelhardt
2004-10-22  9:34 ` [PATCH] " Jan Kara
2004-10-22 15:07   ` Linus Torvalds
2004-10-22 14:25     ` Alan Cox
2004-10-22 17:06       ` [PATCH] " Jan Engelhardt
2004-10-22 23:35       ` Chris Wedgwood
2004-10-25 11:15     ` Jan Kara
2004-10-27 12:29       ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox