lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 29 Sep 2011 12:23:18 +0200
From:	martin f krafft <madduck@...ian.org>
To:	linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Overriding reported sector size

Dear list,

recent disks >2Tb come with 4k sectors, but they report 512b sectors
to the OS for "backwards-compatibility" — presumably, other OSs
do not differentiate between physical and logical sector size, which
Linux can do and does.

All the block device layers nowadays can auto-align themselves, but
that obviously only works when they know the true sector size.

Rather than fixing each and every tool, and/or telling each and
every tool to ignore the reported sector size and to use 4k instead,
is there a way by which I can "fix" the sector size at the OS-level?

Thanks,

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"never trust a woman who wears mauve, whatever her age may be, or a
 woman over thirty-five who is fond of pink ribbons. it always means
 they have a history."
                                                        -- oscar wilde

Download attachment "digital_signature_gpg.asc" of type "application/pgp-signature" (1125 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ