1mkdevalloc(1M)          System Administration Commands          mkdevalloc(1M)
2
3
4

NAME

6       mkdevalloc - Make device_allocate entries
7

SYNOPSIS

9       /usr/sbin/mkdevalloc
10
11

DESCRIPTION

13       The  mkdevalloc  command  writes  to standard out a set of device_allo‐
14       cate(4) entries describing the system's frame buffer, audio and  remov‐
15       able media devices.
16
17
18       The  mkdevalloc  command  is used by the init.d(4) scripts to create or
19       update the /etc/security/device_allocate file.
20
21
22       Entries are generated based on the device special files found in  /dev.
23       For  the different categories of devices, the mkdevalloc command checks
24       for the following files under /dev:
25
26         audio           /dev/audio, /dev/audioctl, /dev/sound/...
27         tape            /dev/rst*, /dev/nrst*, /dev/rmt/...
28         floppy          /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
29         removable disk  /dev/sr*, /dev/nsr*, /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
30         frame buffer    /dev/fb
31
32
33
34       All entries set the device-minimum and device-maximum fields to the hex
35       representations  of ADMIN_LOW and ADMIN_HIGH, respectively. The device-
36       authorization field is set to solaris.device.allocate, except  for  the
37       framebuffer  entry,  where it is set to *. The device-name, device-type
38       and device-clean fields are set to the following values:
39
40                         device-name      device-type   device-clean
41
42         audio           audio            audio         audio_clean_wrapper
43         tape            mag_tape_0,1,... st            st_clean
44         floppy          floppy_0,1,...   fd            disk_clean
45         removable disk  cdrom_0,1,...    sr            disk_clean
46         frame buffer    framebuffer      fb            /bin/true
47
48

ATTRIBUTES

50       See attributes(5) for descriptions of the following attributes:
51
52
53
54
55       ┌─────────────────────────────┬─────────────────────────────┐
56       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │Availability                 │SUNWcsu                      │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │Interface Stability          │Obsolete                     │
61       └─────────────────────────────┴─────────────────────────────┘
62

SEE ALSO

64       allocate(1), bsmconv(1M), attributes(5)
65

NOTES

67       mkdevalloc might not be supported in a future release  of  the  Solaris
68       operating system.
69
70
71
72SunOS 5.11                        8 Oct 2003                    mkdevalloc(1M)
Impressum