util-linux/disk-utils
Richard W.M. Jones b1555acc2f blockdev: Remove the --setbsz (set blocksize) option which has never worked.
This option has never worked.  If you try setting the block size on a
block device, and then read it using --getbsz, you will see that the
block size never changes.

The reason for this is because the block size is specific to the
current file descriptor opening the block device, so the change of
block size only persists for as long as blockdev has the device open,
and is lost once blockdev exits.

Also the block size is not really used anywhere.  Filesystems, for
example, have their own idea of block size and ignore this setting
completely.

(Thanks Masayoshi Mizuma for diagnosing the problem)

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2013-10-08 15:48:00 +02:00
..
Makemodule.am build-sys: remove deprecated elvtune command 2013-08-13 15:55:52 +02:00
addpart.8 build-sys: move partx to disk-utils/ 2012-06-26 20:50:18 +02:00
addpart.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
blockdev.8 blockdev: Remove the --setbsz (set blocksize) option which has never worked. 2013-10-08 15:48:00 +02:00
blockdev.c blockdev: Remove the --setbsz (set blocksize) option which has never worked. 2013-10-08 15:48:00 +02:00
cramfs.h cramfs.h: coding style 2011-07-21 23:50:04 +02:00
cramfs_common.c mkfs.cramfs: fix compiler warning [-Wmissing-prototypes] 2012-07-16 18:57:30 +02:00
delpart.8 build-sys: move partx to disk-utils/ 2012-06-26 20:50:18 +02:00
delpart.c translation: unify file open error messages 2012-07-16 18:18:22 +02:00
fdformat.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
fdformat.c fdformat: check writing to a file descriptor was successful 2013-04-26 13:26:06 +02:00
fsck.8 docs: make the section AVAILABILITY always come last in man pages 2013-03-20 14:09:24 +01:00
fsck.c fsck: don't print warning if there is no /etc/fstab at all 2013-10-01 16:07:50 +02:00
fsck.cramfs.8 docs: add fsck.cramfs manual page 2013-04-09 12:26:50 +02:00
fsck.cramfs.c fsck.cramfs: check writing to a file descriptor was successful 2013-04-26 13:26:06 +02:00
fsck.minix.8 docs: add missing exit value to fsck.minix(8) 2012-12-19 11:39:00 +01:00
fsck.minix.c fsck.minix: check writing to a file descriptor was successful 2013-04-26 13:26:07 +02:00
isosize.8 docs: add AVAILABILITY section to isosize man page, and tweak wording 2013-03-20 14:09:24 +01:00
isosize.c textual: improve an error message and a help text 2013-01-30 16:06:23 +01:00
minix_programs.h minix: change types in header file 2012-12-19 11:38:51 +01:00
mkfs.8 docs: remove repeated words 2013-04-05 13:35:30 +02:00
mkfs.bfs.8 standard SEE ALSO section of man pages 2013-05-13 14:42:59 +02:00
mkfs.bfs.c mkfs.bfs: fix 64-Bit and endian problems 2013-06-13 13:41:14 +02:00
mkfs.c textual: spell and encode the name of Arkadiusz Miśkiewicz correctly 2013-02-06 11:15:02 +01:00
mkfs.cramfs.8 docs: add mkfs.cramfs manual page 2013-04-09 12:26:49 +02:00
mkfs.cramfs.c mkfs.cramfs: argument to free() is a constant address [clang-analyzer] 2013-07-09 14:25:08 +02:00
mkfs.minix.8 docs: tweak the formatting and wording of several disk-utils man pages 2011-08-29 11:24:47 +02:00
mkfs.minix.c mkfs.minix: properly pluralize four messages 2013-10-08 15:27:31 +02:00
mkswap.8 mkswap: add note about swap header limit to the man page 2013-08-01 15:00:59 +02:00
mkswap.c mkswap: unify write check to a file descriptor 2013-04-26 13:26:07 +02:00
partx.8 partx: add update command 2012-12-19 10:48:12 +01:00
partx.c partx: correct three messages 2013-10-08 15:27:35 +02:00
partx.h resizepart: add new command 2012-08-13 22:10:14 +02:00
raw.8 raw: add long options to man page 2013-04-05 12:36:29 +02:00
raw.c raw: fix "Error setting raw device: Success" 2013-03-21 08:25:35 +01:00
resizepart.8 resizepart: add new command 2012-08-13 22:10:14 +02:00
resizepart.c resizepart: check writing to a file descriptor was successful 2013-04-26 13:26:06 +02:00
swaplabel.8 blkid: document LIBBLKID_DEBUG users 2012-09-04 17:21:54 +02:00
swaplabel.c swaplabel: check writing to a file descriptor was successful 2013-04-26 13:26:07 +02:00