lkml.org 
[lkml]   [1999]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: lseek("/dev/hda1", 0, SEEK_END) returns 0
       Date: 	Tue, 19 Jan 1999 19:42:00 -0500 (EST)
    From: Tom Vier <nester@erols.com>

    the BLKGETSIZE ioctl returns sector size of block devices (ie,
    /dev/sda1). but don't sector sizes vary as well? there doesn't seem to
    be an ioctl to get sector size, unfortunately.

    No, the sector size is always 512; or at least, it should always be 512,
    for the purposes of the kernel/user-mode interface.

    - Ted


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.019 / U:0.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site