xref: /aosp_15_r20/external/ltp/testcases/kernel/fs/linktest/README (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard WorkerReadme file for linktest.pl
2*49cdfc7eSAndroid Build Coastguard Worker
3*49cdfc7eSAndroid Build Coastguard WorkerLicense:
4*49cdfc7eSAndroid Build Coastguard Worker
5*49cdfc7eSAndroid Build Coastguard Worker    Copyright (c) International Business Machines  Corp., 2001
6*49cdfc7eSAndroid Build Coastguard Worker
7*49cdfc7eSAndroid Build Coastguard Worker    This program is free software;  you can redistribute it and/or
8*49cdfc7eSAndroid Build Coastguard Worker    modify it under the terms of the GNU General Public License as
9*49cdfc7eSAndroid Build Coastguard Worker    published by the Free Software Foundation; either version 2 of
10*49cdfc7eSAndroid Build Coastguard Worker    the License, or (at your option) any later version.
11*49cdfc7eSAndroid Build Coastguard Worker
12*49cdfc7eSAndroid Build Coastguard Worker    This program is distributed in the hope that it will be
13*49cdfc7eSAndroid Build Coastguard Worker    useful, but WITHOUT ANY WARRANTY;  without even the implied
14*49cdfc7eSAndroid Build Coastguard Worker    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15*49cdfc7eSAndroid Build Coastguard Worker    PURPOSE.  See the GNU General Public License for more details.
16*49cdfc7eSAndroid Build Coastguard Worker
17*49cdfc7eSAndroid Build Coastguard Worker    You should have received a copy of the GNU General Public
18*49cdfc7eSAndroid Build Coastguard Worker    License along with this program;  if not, write to the Free
19*49cdfc7eSAndroid Build Coastguard Worker    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20*49cdfc7eSAndroid Build Coastguard Worker    MA 02111-1307 USA
21*49cdfc7eSAndroid Build Coastguard Worker
22*49cdfc7eSAndroid Build Coastguard Worker
23*49cdfc7eSAndroid Build Coastguard WorkerOverview:
24*49cdfc7eSAndroid Build Coastguard Worker    Name:           linktest.pl
25*49cdfc7eSAndroid Build Coastguard Worker    Description:    A regression test for links per file.
26*49cdfc7eSAndroid Build Coastguard Worker                    Linktest.pl is a simple test that attempts
27*49cdfc7eSAndroid Build Coastguard Worker                    to create a given number of hard links and
28*49cdfc7eSAndroid Build Coastguard Worker                    symbolic links to a single file.
29*49cdfc7eSAndroid Build Coastguard Worker
30*49cdfc7eSAndroid Build Coastguard WorkerFiles:
31*49cdfc7eSAndroid Build Coastguard Worker    linktest.pl
32*49cdfc7eSAndroid Build Coastguard Worker    README
33*49cdfc7eSAndroid Build Coastguard Worker
34*49cdfc7eSAndroid Build Coastguard WorkerAvailability:
35*49cdfc7eSAndroid Build Coastguard Worker    Currently only available via internal IBM websites pending
36*49cdfc7eSAndroid Build Coastguard Worker    legal review:
37*49cdfc7eSAndroid Build Coastguard Worker    http://cvs.opensource.ibm.com/cgi-bin/cvsweb.cgi/testcases/fs/fs_perms/?cvsroot=ltp
38*49cdfc7eSAndroid Build Coastguard Worker
39*49cdfc7eSAndroid Build Coastguard WorkerInstallation:
40*49cdfc7eSAndroid Build Coastguard Worker    N/A
41*49cdfc7eSAndroid Build Coastguard Worker
42*49cdfc7eSAndroid Build Coastguard WorkerUse:
43*49cdfc7eSAndroid Build Coastguard Worker    ./linktest.pl <number of symbolic links> <number of hard links>
44*49cdfc7eSAndroid Build Coastguard Worker
45*49cdfc7eSAndroid Build Coastguard Worker    ex:  ./linktest.pl 1000 1000 would create 1000 symlinks and 1000
46*49cdfc7eSAndroid Build Coastguard Worker         hardlinks
47*49cdfc7eSAndroid Build Coastguard Worker
48*49cdfc7eSAndroid Build Coastguard WorkerWarning(s):
49*49cdfc7eSAndroid Build Coastguard Worker    If execution is terminated, the hlink and slink subdirectories will
50*49cdfc7eSAndroid Build Coastguard Worker    have to be manually removed (along with any links or files in them).
51*49cdfc7eSAndroid Build Coastguard Worker
52*49cdfc7eSAndroid Build Coastguard WorkerToDo:
53*49cdfc7eSAndroid Build Coastguard Worker    I'll think of something.
54*49cdfc7eSAndroid Build Coastguard Worker
55*49cdfc7eSAndroid Build Coastguard WorkerChangeLog:
56*49cdfc7eSAndroid Build Coastguard Worker    Date      Version       Author                  Reason
57*49cdfc7eSAndroid Build Coastguard Worker    05/07/01    .99         [email protected]     Needed a quick regression test to
58*49cdfc7eSAndroid Build Coastguard Worker                                                    identify link limitations.
59*49cdfc7eSAndroid Build Coastguard Worker
60*49cdfc7eSAndroid Build Coastguard Worker
61*49cdfc7eSAndroid Build Coastguard WorkerJeff Martin
62*49cdfc7eSAndroid Build Coastguard WorkerSoftware Engineer
63*49cdfc7eSAndroid Build Coastguard WorkerIBM Linux Technology Center-Test Team
64*49cdfc7eSAndroid Build Coastguard Worker[email protected]
65