summaryrefslogtreecommitdiffstats
path: root/commands/stddev.c
Commit message (Collapse)AuthorAgeFilesLines
* fs: fix standard zero, full devicesSascha Hauer2012-07-041-3/+3
| | | | | | | | | | | | | | | | The standard devices are currently broken since they have the size ~0. As now files use loff_t as file size which is a signed type the read implementation gets confused and now returns -1. The current implementation also has the (somewhat theorical) problem that we do not have real streaming devices, so /dev/zero went out of zeroes after reading 4GB (or now LLONG_MAX). This patch introduces a new cdev flag DEVFS_IS_CHARACTER_DEV and a new file size flag FILE_SIZE_STREAM which makes it possible to create real stream devices instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/devnull'Sascha Hauer2012-07-021-3/+3
| | | | | Conflicts: commands/mem.c
* Added "/dev/full" and "/dev/null" devicesAlexander Shiyan2012-06-301-0/+55
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Move /dev/zero to separate unitAlexander Shiyan2012-06-301-0/+51
This patch allows to present "/dev/zero" always in system and not depending of mem-command. Standard files allow to test other memory devices, not only "mem", such as NOR, NAND, MCI-devices e.t.c. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>