07-02-2012
Here is from another document,
Device Mapper Support for the udev Device Manager :
NOTE: /dev/dm-N nodes should never be used in scripts to access the device since the N number is assigned dynamically and changes with the sequence of how devices are activated. Therefore, true names in the /dev/mapper directory should be used. This layout is to support udev requirements of how nodes/symlinks should be created.
These 2 Users Gave Thanks to Peasant For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
im having trouble with moving files in a directory into /dev/null
for file in $HOME/.trashcan/
do
mv $file /dev/null
done
the error msg i get is:
mv: /dev/null: not a directory.
does anyone know how to fix this?
thanks
primal (16 Replies)
Discussion started by: primal
16 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. UNIX for Dummies Questions & Answers
How can I make /dev/null all the 8640 files that I am getting from this command.
find . \( ! -name . -prune \) -type f -name "EXPORT_v1x0*" | awk -F'_' '$6<20120812'
And then delete everything.
If I am using this command to delete it, I am getting Disk Quota Exceeded Exception.
find .... (4 Replies)
Discussion started by: raihan26
4 Replies
4. Solaris
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
5. AIX
Hi,
How can i check that i am using RAW devices for storage in my AIX machine...
Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number
eg:
dcback1(root):/dev>ls -lrt | grep disk12
crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies
6. AIX
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies
7. Shell Programming and Scripting
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies
8. Solaris
$ uname -a
SunOS myhost 5.11 11.2 sun4v sparc sun4v
I see following 0 byte (regular)files getting created under /dev/mydisks directory :
srwxrwxrwt 1 gusr dba 0 Sep 14 23:57 VF_10
srwxrwxrwt 1 gusr dba 0 Sep 14 23:57 DATA1
srwxrwxrwt 1 gusr dba 0 Sep 14 23:57... (8 Replies)
Discussion started by: YShivak
8 Replies
9. Red Hat
Hi,
Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
10. HP-UX
Hi,
In our HP-UX B.11.11. I could not find dev/urandom and dev/random
Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom.
Please help (4 Replies)
Discussion started by: rashi
4 Replies
UDEVD(8) udevd UDEVD(8)
NAME
udevd - event managing daemon
SYNOPSIS
udevd [--daemon] [--debug] [--children-max=] [--exec-delay=] [--resolve-names=early|late|never] [--version] [--help]
DESCRIPTION
udevd listens to kernel uevents. For every event, udevd executes matching instructions specified in udev rules. See udev(7).
On startup the content of the directory /lib/udev/devices is copied to /dev. If kernel modules specify static device nodes, these nodes are
created even wihtout a corresponding kernel device, to allow on-demand loading of kernel modules. Matching permissions specified in udev
rules are applied to these static device nodes.
The behavior of the running daemon can be changed with udevadm control.
OPTIONS
--daemon
Detach and run in the background.
--debug
Print debug messages to stderr.
--children-max=
Limit the number of parallel executed events.
--exec-delay=
Number of seconds to delay the execution of RUN instructions. This might be useful when debugging system crashes during coldplug cause
by loading non-working kernel modules.
--resolve-names=
Specify when udevd should resolve names of users and groups. When set to early (the default) names will be resolved when the rules are
parsed. When set to late names will be resolved for every event. When set to never names will never be resolved and all devices will be
owned by root.
--version
Print version number.
--help
Print help text.
ENVIRONMENT
UDEV_LOG=
Set the logging priority.
KERNEL COMMAND LINE
udev.log-priority=
Set the logging priority.
udev.children-max=
Limit the number of parallel executed events.
udev.exec-delay=
Number of seconds to delay the execution of RUN instructions. This might be useful when debugging system crashes during coldplug cause
by loading non-working kernel modules.
AUTHOR
Written by Kay Sievers kay.sievers@vrfy.org.
SEE ALSO
udev(7), udevadm(8)
udev 06/02/2010 UDEVD(8)