Debian Codegraph @

README

raw
1 Unix-Mknod version 0.05
2 =======================
3
4 This module allows access to the device routines major()/minor()/makedev()
5 that may or may not be macros in .h files.
6
7 It also allows access to the mknod system call.
8
9 NOTES
10
11 There are 2 other perl modules that implement the mknod(2) system call,
12 but they have problems working on some platforms. Sys::Mknod does not
13 work on AIX because it uses the syscall(2) generic system call which
14 AIX does not have. Mknod implements S_IFIFO, which on most platforms
15 is not implemented in mknod, but rather mkfifo (which is implemented
16 in POSIX perl module).
17
18 The perl module File::Stat::Bits also implements major() and minor() (and
19 a version of makedev() called dev_join). They are done as a program to
20 get the bit masks at compile time, but if major() and minor() are
21 implemented as sub routines, the arugment could be something as simple
22 as an index to a lookup table (and thereby having no decernable relation
23 to its result).
24
25 INSTALLATION
26
27 To install this module type the following:
28
29 perl Makefile.PL
30 make
31 make test
32 make install
33
34 PLATFORMS
35
36 This module has been tested out and verified on the following platforms:
37
38 FreeBSD-5.4-STABLE
39 Mac OS X 10.3.9
40 Solaris 8, 9, 10
41 RedHat Linux EL 4.1
42 AIX 4.3.3, 5.1
43
44
45 DEPENDENCIES
46
47 This module does not require any other modules or libraries.
48
49 COPYRIGHT AND LICENCE
50
51 Copyright (c) 2005-2023 University of Illinois Board of Trustees
52 All rights reserved.
53
54 Developed by: Campus Information Technologies and Educational Services,
55 University of Illinois at Urbana-Champaign
56
57 Permission is hereby granted, free of charge, to any person obtaining
58 a copy of this software and associated documentation files (the
59 ``Software''), to deal with the Software without restriction, including
60 without limitation the rights to use, copy, modify, merge, publish,
61 distribute, sublicense, and/or sell copies of the Software, and to
62 permit persons to whom the Software is furnished to do so, subject to
63 the following conditions:
64
65 * Redistributions of source code must retain the above copyright
66 notice, this list of conditions and the following disclaimers.
67
68 * Redistributions in binary form must reproduce the above copyright
69 notice, this list of conditions and the following disclaimers in the
70 documentation and/or other materials provided with the distribution.
71
72 * Neither the names of Campus Information Technologies and Educational
73 Services, University of Illinois at Urbana-Champaign, nor the names
74 of its contributors may be used to endorse or promote products derived
75 from this Software without specific prior written permission.
76
77 THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
78 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
79 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
80 IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
81 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
82 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
83 OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
84