Is flock hardware or software based?

Discussion in 'Perl Misc' started by Bill H, Dec 26, 2007.

  1. Bill H

    Bill H Guest

    The website I am building uses flock in many places to lock files. In
    the future this site will be running on multiple linux servers and a
    shared drive (probably Red Hat on IBM or Dell Blade servers). The
    question I have is, is flock handled on the hard drive with flags, or
    is it all contained in memory / temporary files by the OS? WOuld
    server B know that Server A had "flocked" a file?

    Bill H
    Bill H, Dec 26, 2007
    #1
    1. Advertising

  2. Bill H <> wrote:


    > is flock handled on the hard drive with flags, or
    > is it all contained in memory / temporary files by the OS?



    Your question has no connection to the Perl programming language.


    --
    Tad McClellan
    email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
    Tad J McClellan, Dec 27, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page