http://bugzilla.kernel.org/show_bug.cgi?id=8545
Summary: "cat /proc/acpi/debug_level" truncated Kernel Version: 2.6.22-rc3 Status: NEW Severity: normal Owner: [EMAIL PROTECTED] Submitter: [EMAIL PROTECTED] Most recent kernel where this bug did *NOT* occur: Distribution: Debian Hardware Environment: Clevo model D4J, product code D410J Software Environment: Problem Description: The "cat /proc/acpi/debug_level" command result in a truncated output when executing from an xterm window. When the same command is redirected to file, the output is not truncated. The strace analysis shows that the "cat" command executes a system read with a buffer size of 1024, then repeats with a second read() to fetch the remaining part of the output. The remaining part is not returned by read() in this case. If the output of "cat" is redirected to file, it will use a buffer sized 4096 bytes, so the full output is catched with one read() call. Steps to reproduce: in xterm window: cat /proc/acpi/debug_level cat /proc/acpi/debug_level >to_file.txt ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla