MAKEDEV(8) System Manager's Manual MAKEDEV(8)NAME
MAKEDEV, DESCRIBE - make/describe device files
SYNOPSIS
MAKEDEV [-n] key ...
DESCRIBE [device] ...
DESCRIPTION
MAKEDEV may be used to create the device files normally found in the /dev directory. The key arguments are simply the names of the devices
you want. MAKEDEV knows about all supported devices and will create them in the current directory with the proper owner and mode. For
many devices MAKEDEV will not only create the device you want, but also the devices related to it that you will probably want too. Naming
one floppy device will create all floppy devices for the same drive for instance.
Call MAKEDEV without arguments to see a list of keys that it understands. Then use the -n flag to make the script echo the commands it
will execute the next time when you call it without that flag.
The special key std must be given alone to MAKEDEV. This key will create all standard devices.
The command DESCRIBE will give you a one-line description of a given device. It will by default list all devices in /dev.
SEE ALSO mknod(8).
BUGS
MAKEDEV's eagerness to create devices may cause many "File exists" errors from mknod.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
MAKEDEV(8)
Check Out this Related Man Page
MAKEDEV.LOCAL(8) BSD System Manager's Manual MAKEDEV.LOCAL(8)NAME
MAKEDEV.local -- create site-specific device special files
SYNOPSIS
MAKEDEV.local [-fMsu] [-m mknod] [-p pax] [-t mtree] {all | site-specific-argument} [...]
DESCRIPTION
MAKEDEV.local is used to create site-specific device special files. Each argument may be the word all or a site-specific argument. By
default, there are no valid site-specific arguments, and the all argument has no effect; This may be changed by editing the script.
The script is in /dev/MAKEDEV.local. Devices are created in the current working directory; in normal use, MAKEDEV.local should be invoked
with /dev as the current working directory.
Supported options for MAKEDEV.local are the same as for MAKEDEV(8).
FILES
/dev special device files directory
/dev/MAKEDEV script that invokes MAKEDEV.local with the all argument.
/dev/MAKEDEV.local script described in this man page
SEE ALSO config(1), intro(4), MAKEDEV(8), mknod(8)HISTORY
The MAKEDEV.local command appeared in 4.2BSD. Handling of the same command line options as MAKEDEV(8), and the use of MAKEDEV(8) as a func-
tion library, was added in NetBSD 5.0.
NOTES
The relationship between MAKEDEV.local and MAKEDEV(8) is complex:
o If MAKEDEV(8) is invoked with the all or local argument, then it will invoke MAKEDEV.local as a child process, with options similar to
those that were originally passed to MAKEDEV(8), and with the all argument.
o MAKEDEV.local uses shell functions defined in MAKEDEV(8). This is done by loading MAKEDEV(8) using the shell ``.'' command, with the
MAKEDEV_AS_LIBRARY variable set (to inform MAKEDEV(8) that it should behave as a function library, not as an independent program).
BSD August 6, 2011 BSD
FreeBSD 4.5
i installed my sound drivers (which are onboard) with the following lines in my kernel
device pcm
options PNPBIOS
then cd /dev
sh MAKEDEV snd0
output from cat /dev/sndstat show the devicedriver (correct one)
ok this works nice
untill i enter my kde and want to play a... (1 Reply)
Hi
I am trying to determine the access to unix devices. I found the follow access description which I have been told is a symbolic link and is not the actual file. I was also told that all symbolic links will have rwxrwxrwx access.
kmem: lrwxrwxrwx 1 root 27 May 28 16:06 /dev/kmem ->... (2 Replies)
How can I display the devices attached to my computer through the command line? And, how do I get information about each device listed? I'm looking to make sure that my DLT drive is recognized by the computer.
Using FreeBSD, if that helps.
Thanks! (1 Reply)
hi !
i have generated a RSA key successfully.
But wen i execute the script the " df -k;hostname" is displayed
only for the first device in the ip.txt.
i have several devices in the ip.txt 1 ip a line . . . i wanna ssh each ip
in the ip.txt n execute "df -k;hostname"
wast the problem... (1 Reply)
I need to have my scripts import volume groups and mknod devices files. I have most of the script working but the device file needs to be in the format 0x??0000 (where the question marks are my HEX representations of the volume group number. I have the code below and the output it produces which... (2 Replies)
hi.i want to create a bash script called countfiles.sh, that will count the pack of files under the current file that their term satisfy a specific pattern. The script must show the total per file or on the whole.
thank tou (4 Replies)
What I'm Doing:
I'm developing a python script that scans for all storage devices and their respective sizes. Python does not have a command that returns the /dev paths of storage devices or the respective sizes. So, I need to pipe a shell command to python.
The Problem:
In root, I've used... (4 Replies)
Hello everyone.
I am new to creating make files. I have been able to create simple makefiles for those applications which do not involve database but am unable to create for the ones that do involve database. When I run that make file, it just deletes the .exe file of that application from the... (6 Replies)
Please explain me the difference between /dev and devices..
Googled info is -
/dev - where logical device names stores here
devices - physical device info stores here...
Could any one explain me.. the real difference and major one (3 Replies)
Hi Guys,
this is the scenario:
ubuntu pc and I have 10 wireless devices that I need to check their firmware version.
I would like to create a script that it will ask me IP, after I enter it, I hit enter then it will show me the version of the firmware.
this is what i do.
ssh... (9 Replies)
I'm currently looking into ways to integrate the Telegram API into the forums:
Telegram Bots - Bot Code Examples
I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?).
Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
I have an old p5 570 ibm server that consists of two enclosure and make by FC1847 cable, single 8 processors server.
So, after one part of it, accidentally was turned off, I lost all devices from it.
Now they all in defined mode, for example:
dodo:/# lsdev -Cc processor
proc0 Available 00-00... (8 Replies)