diff options
author | Karel Zak | 2006-12-07 00:26:12 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:26:12 +0100 |
commit | df1dddf9ffcfc1e291de809c0e8b9060bfea02ee (patch) | |
tree | 03b712bddec33d05754bf59d31a75d7e2022761e /disk-utils | |
parent | Imported from util-linux-2.11y tarball. (diff) | |
download | kernel-qcow2-util-linux-df1dddf9ffcfc1e291de809c0e8b9060bfea02ee.tar.gz kernel-qcow2-util-linux-df1dddf9ffcfc1e291de809c0e8b9060bfea02ee.tar.xz kernel-qcow2-util-linux-df1dddf9ffcfc1e291de809c0e8b9060bfea02ee.zip |
Imported from util-linux-2.12 tarball.
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/mkfs.cramfs.c | 7 | ||||
-rw-r--r-- | disk-utils/raw.8 | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index a88819b69..32755715d 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -46,7 +46,14 @@ static const char *progname = "mkcramfs"; static int verbose = 0; +#ifdef __ia64__ +#define PAGE_CACHE_SIZE (16384) +#elif defined __alpha__ +#define PAGE_CACHE_SIZE (8192) +#else #define PAGE_CACHE_SIZE (4096) +#endif + /* The kernel assumes PAGE_CACHE_SIZE as block size. */ static unsigned int blksize = PAGE_CACHE_SIZE; /* settable via -b option */ static long total_blocks = 0, total_nodes = 1; /* pre-count the root node */ diff --git a/disk-utils/raw.8 b/disk-utils/raw.8 index 4fd91facf..6fbdb8558 100644 --- a/disk-utils/raw.8 +++ b/disk-utils/raw.8 @@ -43,6 +43,8 @@ device, or with the .I \-a option to query all bound raw devices. .PP +Unbinding can be done by specifying major and minor 0. +.PP Once bound to a block device, a raw device can be opened, read and written, just like the block device it is bound to. However, the raw device does not behave exactly like the block device. In particular, |