Matt Domsch <Matt_Domsch@dell.com> wrote:... Do they expose that sector size? I.e., does ioctl(fd,BLKSSZGET,&ss) set ss to 4096? I'm interested because I'm preparing GNU Parted's partition table manipulation code (not its FS code) for just that. In particular, now I've heard two stories: - disk makers will eventually sell drives with >512-byte sectors - some disk makers have sort of agreed not to do that, and expect forever to hide the larger underlying sector size behind a virtual 512 (of course, this imposes alignment restrictions, but that's a smaller problem) Even if the latter is the case, we still have to deal with optical and flash, both of which can already have larger sectors. Speaking of O_DIRECT, both dd and shred (both in coreutils), use O_DIRECT, so you could get _some_ coverage just by running shred and experimenting with dd's oflag=direct and iflag=direct options. --
| Dave Hansen | [RFC][PATCH 0/4] kernel-based checkpoint restart |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| David Miller | Re: [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
