Commit | Line | Data |
---|---|---|
805e021f CE |
1 | =head1 NAME |
2 | ||
3 | salvage.lock - Prevents multiple simultaneous salvage operations on a partition | |
4 | ||
5 | =head1 DESCRIPTION | |
6 | ||
7 | The F<salvage.lock> file guarantees that only one Salvager (B<salvager> | |
8 | process) runs at a time on a file server machine (the single process can | |
9 | fork multiple subprocesses to salvage multiple partitions in parallel). As | |
10 | the Salvager initializes, it creates the empty (zero-length) file in the | |
11 | F</usr/afs/local> directory and invokes the B<flock> system call on it. It | |
12 | removes the file when it completes the salvage operation. Because the | |
13 | Salvager must lock the file to run, only one Salvager can run at a time. | |
14 | ||
15 | =head1 SEE ALSO | |
16 | ||
17 | L<salvager(8)> | |
18 | ||
19 | =head1 COPYRIGHT | |
20 | ||
21 | IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. | |
22 | ||
23 | This documentation is covered by the IBM Public License Version 1.0. It was | |
24 | converted from HTML to POD by software written by Chas Williams and Russ | |
25 | Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. |