util-linux/disk-utils
Karel Zak c2a1e78808 blockdev: add BLKFRAGET/BLKFRASET ioctls
In Linux 2.6 the BLKRASET ioctl has the desired effect for mounted
file-systems.  In Linux 2.4 it appears to set the number of blocks to
read-ahead on the *device* as opposed to within a *file*, and the
maximum value of this number is 255.  As a result the invocation of
blockdev will fail on Linux 2.4 for any usefully large value of
READAHEAD, and will not in any case have the desired affect for
fragmented files.

(Based on the blockdev-getfra-setfra.patch Debian patch.)

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-29 11:38:54 +02:00
..
Makefile.am build-sys: do not build convenience libraries in lib/ 2007-05-16 11:43:29 +02:00
bitops.h Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
blockdev.8 blockdev: add BLKFRAGET/BLKFRASET ioctls 2007-06-29 11:38:54 +02:00
blockdev.c blockdev: add BLKFRAGET/BLKFRASET ioctls 2007-06-29 11:38:54 +02:00
cramfs.h Imported from util-linux-2.11t tarball. 2006-12-07 00:25:58 +01:00
elvtune.8 Imported from util-linux-2.10m tarball. 2006-12-07 00:25:43 +01:00
elvtune.c Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
fdformat.8 Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
fdformat.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
fsck.cramfs.c Imported from util-linux-2.13-pre5 tarball. 2006-12-07 00:27:10 +01:00
fsck.minix.8 Imported from util-linux-2.10m tarball. 2006-12-07 00:25:43 +01:00
fsck.minix.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
isosize.8 Imported from util-linux-2.10s tarball. 2006-12-07 00:25:44 +01:00
isosize.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
minix.h Imported from util-linux-2.11m tarball. 2006-12-07 00:25:49 +01:00
mkfs.8 Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00
mkfs.bfs.8 Imported from util-linux-2.10f tarball. 2006-12-07 00:25:41 +01:00
mkfs.bfs.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
mkfs.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
mkfs.cramfs.c mkfs.cramfs: cleanup HAVE_ macros usage 2007-06-14 13:55:37 +02:00
mkfs.minix.8 Imported from util-linux-2.10s tarball. 2006-12-07 00:25:44 +01:00
mkfs.minix.c Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
mkswap.8 Imported from util-linux-2.13-pre4 tarball. 2006-12-07 00:27:06 +01:00
mkswap.c disk-utils: fix libuuid usage in mkswap 2007-05-16 23:55:23 +02:00
raw.8 raw: update man page (about dd and O_DIRECT) 2007-01-25 11:22:42 +01:00
raw.c raw: don't accept raw0 as a target name 2007-01-26 19:55:41 +01:00
swapheader.h Imported from util-linux-2.12o tarball. 2006-12-07 00:26:31 +01:00