[lkml]   [2005]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] make st seekable again
    On Maw, 2005-03-08 at 17:25, Linux Kernel Mailing List wrote:
    > ChangeSet 1.2030, 2005/03/08 09:25:05-08:00,
    > [PATCH] make st seekable again
    > Apparently `tar' errors out if it cannot perform lseek() against a tape. Work
    > around that in-kernel.

    Unfortunately this isn't a good idea. Allowing tar to read the tape
    position makes sense, allowing it to zero the position might but you
    have to do major surgery on the driver first because

    1. It doesn't use ppos
    2. It doesn't do locking on the ppos at all

    Also allowing apps to randomly seek and report "ok" when they are
    backing up to tape and might really need to see the error is not what
    I'd call stable, professional or quality code.

    I oppose this change for, I think 2.6.12 needs to address the
    rest of the mess in that code to make it work (or implement a 'read
    only' llseek and
    use ppos right)

    And -ac won't carry this change.

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

     \ /
      Last update: 2005-03-22 14:11    [W:0.026 / U:2.420 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site