[lkml]   [2000]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: fcntl(2) and other file systems like XFS
    Jim Mostek wrote:
    > I don't think ioctl(2) should be used for regular files.
    > >From man ioctl(2) on Linux.
    > ENOTTY d is not associated with a character special device.

    However, ioctl(2) _is_ used for regular files with ext2.
    It's already a bit broken -- you can't use those ext2 ioctls
    on devices because the open device gets the ioctl instead. Ugly isn't it?

    -- Jamie

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

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