Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkdevmaps(1m) [debian man page]

mkdevmaps(1M)						  System Administration Commands					     mkdevmaps(1M)

NAME
mkdevmaps - make device_maps entries SYNOPSIS
/usr/sbin/mkdevmaps DESCRIPTION
The mkdevmaps command writes to standard out a set of device_maps(4) entries describing the system's frame buffer, audio, and removable media devices. The mkdevmaps command is used by the init.d(4) scripts to create or update the /etc/security/device_maps file. Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevmaps command checks for the following files under /dev: audio /dev/audio, /dev/audioctl, /dev/sound/... tape /dev/rst*, /dev/nrst*, /dev/rmt/... floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd* removable disk /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s? frame buffer /dev/fb ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ SEE ALSO
allocate(1), bsmconv(1M), attributes(5) NOTES
mkdevmaps might not be supported in a future release of the Solaris operating system. SunOS 5.10 8 Oct 2003 mkdevmaps(1M)

Check Out this Related Man Page

mkdevalloc(1M)						  System Administration Commands					    mkdevalloc(1M)

NAME
mkdevalloc - Make device_allocate entries SYNOPSIS
/usr/sbin/mkdevalloc DESCRIPTION
The mkdevalloc command writes to standard out a set of device_allocate(4) entries describing the system's frame buffer, audio and removable media devices. The mkdevalloc command is used by the init.d(4) scripts to create or update the /etc/security/device_allocate file. Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevalloc command checks for the following files under /dev: audio /dev/audio, /dev/audioctl, /dev/sound/... tape /dev/rst*, /dev/nrst*, /dev/rmt/... floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd* removable disk /dev/sr*, /dev/nsr*, /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s? frame buffer /dev/fb All entries set the device-minimum and device-maximum fields to the hex representations of ADMIN_LOW and ADMIN_HIGH, respectively. The device-authorization field is set to solaris.device.allocate, except for the framebuffer entry, where it is set to *. The device-name, device-type and device-clean fields are set to the following values: device-name device-type device-clean audio audio audio audio_clean_wrapper tape mag_tape_0,1,... st st_clean floppy floppy_0,1,... fd disk_clean removable disk cdrom_0,1,... sr disk_clean frame buffer framebuffer fb /bin/true ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ SEE ALSO
allocate(1), bsmconv(1M), attributes(5) NOTES
mkdevalloc might not be supported in a future release of the Solaris operating system. SunOS 5.11 8 Oct 2003 mkdevalloc(1M)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/dev/fb* missing

I am trying to run openwin on Solaris 5.8, but get an error: /dev/fb: No such file or directory Graphics Adapter device /dev/fb is of unknown type Fatal server error: InitOutput: Error loading module for /dev/fb giving up. /usr/openwin/bin/xinit: Connection refused (errno 146): ... (5 Replies)
Discussion started by: heinb
5 Replies

2. UNIX for Dummies Questions & Answers

/tmp filesystem full

I am running AIX 3 4. When I do a df I get: Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 10232 69% 1309 16% / /dev/hd2 917504 86360 91% 19744 18% /usr /dev/hd9var 131072 67712 49% 617 ... (11 Replies)
Discussion started by: szodiac
11 Replies

3. Shell Programming and Scripting

grep multiple lines

Hi. I have this format on a textfile: VG Name /dev/vg00 PV Name /dev/dsk/c16t0d0 PV Name /dev/dsk/c18t0d0 PV Name /dev/dsk/c16t4d0 VG Name /dev/vg01 PV Name ... (6 Replies)
Discussion started by: jOOc
6 Replies

4. Solaris

anyone can tell me what is /dev/dsk/c3t600A0B80002FA5F50000000000000000d0s0?

Hi all, I just find some strange device (at least to me) on my Sun Blade server, CP3060, like below: bash-3.00# cd /dev/dsk bash-3.00# ls c3* c3t600A0B80002FA5F50000000000000000d0s0 c3t600A0B80002FA60C0000000000000000d0s4 c3t600A0B80002FA5F50000000000000000d0s1 ... (6 Replies)
Discussion started by: sleepy_11
6 Replies

5. Shell Programming and Scripting

Help with awk

Hi I have a question regarding awk. I have a file that contains several lines: /dev/vg1 /dev/blabla /dev/vg01 /dev/blabla2 i need to merge a lines as following: /dev/vg1:/dev/blabla /dev/vg01:/dev/blabla2 Can somebody help me?:confused: (6 Replies)
Discussion started by: m_mouse
6 Replies

6. SCO

Insuficient space on /dev SCO 5.5

Unix SCO 5.5 Insuficient space on /dev - when I run df I get /dev 99% usage. I have a large number of users (most of them are not with the company since Cretacic) and I want to delete them to make more space. When I run rmuser I get rmuser: not found if I type su root rmuser rmuser: The... (6 Replies)
Discussion started by: tzveistein
6 Replies

7. Shell Programming and Scripting

Unix copy command

Hi, I have the below command running in unix find /dev/data/ -name "*.*" -exec cp -R {} "/isdev/data//history" \; This command will copy the files from /dev/data/ to /isdev/data//history and will not throw even if there is no files in source. But if i modify the path from... (6 Replies)
Discussion started by: redd
6 Replies

8. Shell Programming and Scripting

error while replacing a string by new line character in sed

hi, when i am doing the following things getting error Can anyone please suggest i have a file where there is a line like the following branch=dev sdf dev jin kilii fin kale boyle dev james dev i want to search the existance of dev in the above line. cat "$file" | sed -n... (8 Replies)
Discussion started by: millan
8 Replies

9. Programming

Openmotif toolkit!

I'm using ubuntu 9.10 as OS and i installed a toolkit of widgets: openmotif. The packages are: libmotif3, libx11-dev, libxp-dev, libxt-dev, x-dev. How can I compile a program including the MOTIF toolkit? I tried: gcc <my_file.c> -L /usr/lib/ It doesn't work I don't know very much the... (6 Replies)
Discussion started by: mghis
6 Replies

10. Shell Programming and Scripting

Using sed to format several fields

I have data that is tab delimited and looks like: /dev/dsk/c0t0d0s1 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - /dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr ufs 1 no -... (5 Replies)
Discussion started by: bradg
5 Replies

11. Red Hat

Info on /dev/dm files

Hi, I was looking at my /dev directory and found some files of the pattern dm?. I searched on google and found that it is a device manager file for LVM. But nothing but that. Can someone give me some info on when these files are created and if we can use this as instead of... (7 Replies)
Discussion started by: prithvirao17
7 Replies

12. Solaris

No local disk in format in Solaris

I have Solaris-10 server. During troubleshooting of some storage issue, I removed disk entries from /dev/dsk and /dev/rdsk rm /dev/vx/dmp/* rm /dev/vx/rdmp/* rm /dev/dsk/* rm /dev/rdsk/ And rebooted the box. That recreated device tree for SAN disks, but I do not see c1t0d0s0 and c1t1d0s0... (7 Replies)
Discussion started by: solaris_1977
7 Replies

13. AIX

/dev/null file issue

Hi Experts, I Have a query. In one of my server I just came to know that there was /dev/null file which is a not a character file. Its just a normal file. I know the command to create the character file (/dev/null) but what is the procedure. Like should i delete /dev/null and create or... (7 Replies)
Discussion started by: jayadeava
7 Replies

14. HP-UX

Make_recovery HP-UX 10.20

Good Day, I've been trying to create a bootable recovery disk with no success. I've used the command ./make_recovery -A -d /dev/rmt/1m and get the command HP-UX System Recovery returned, and after about a minute an error is returned: /var: write failed, file system is full... (26 Replies)
Discussion started by: Newnix
26 Replies

15. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies