[lkml]   [2004]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: OOM & [OT] util-linux-2.12e
    Andreas Schwab wrote:
    > DervishD <> writes:
    >> Hi Andreas :)
    >> * Andreas Schwab <> dixit:
    >>>>- fix all broken apps that still rely on mtab. like GNU df(1)
    >>>df does not rely on /etc/mtab. It relies on getmntent.
    >> Then my GNU df has any problem :???
    > No, if any then getmntent.

    I don't get this. From "man getmntent" it seems that getmntent is just a
    parser for /etc/mtab, and that you must call "setmntent" with the
    filename you want to parse.

    So if you do "setmntent("/etc/mtab",...)" you're explicitly saying that
    you want getmntent to use /etc/mtab. This is just a open/read in disguise.

    Am I missing something?

    Paulo Marques -

    To err is human, but to really foul things up requires a computer.
    Farmers' Almanac, 1978
    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:06    [W:0.023 / U:61.532 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site