Questions tagged [udev]

111 questions
3
votes
1 answer

Udev is creating too many devices

I have built a kernel and root file system for a vortexS86 processor using OpenEmbedded. When it comes up I have hundreds of device entries in the /dev directory. This include such items…
David Huff
  • 31
  • 2
3
votes
1 answer

How to change device permissions via udev in RHEL5?

I'm attempting to make the device permissions on a hard drive(/dev/sdb) persistent for a particular group in RHEL5. Can anyone point me to to a proper KERNEL line in /etc/udev/rules that would work that attempts the following? KERNEL=="sdb",…
mnology
  • 33
  • 1
  • 5
3
votes
1 answer

Linux udev persistent net rule

I have a Linux system (Slackware Linux 13.0) with two network interfaces. Let's call them NIC0 and NIC1 My goal is to make NIC0 to appear as eth0 in the system. I know this can be achieved via udev rules that map network aliases to MAC addresses of…
Anonymous
  • 1,550
  • 1
  • 14
  • 18
2
votes
2 answers

Assign static id to usb printer

I have three usb receipt printers from the same vendor (thus the same usb vendor and product id) plugged into the same server and I need to be able to issue separate printing commands to each of them. The printers register themselves to /dev/usb/lp*…
user1494162
  • 141
  • 2
2
votes
0 answers

Automount ATA/SCSI drives with systemd

I am attempting to automatically mount all ATA/SCSI drives on boot using systemd and udev without utilizing /etc/fstab. This is necessary because filesystems need to be mounted on directories named for their UUIDs, and the drives are always being…
user339676
  • 171
  • 5
2
votes
2 answers

Change interface mac (hw) address using udev rules

I want to set a specific ethernet MAC address for an interface using UDEV rules. I have the following rule: SUBSYSTEM=="net", ACTION=="add", ATTRS{serial}=="50B123", ATTR{address}="00:22:33:44:55:AA", NAME="yolo0" The rule matches and the interface…
Konrads
  • 870
  • 2
  • 20
  • 40
2
votes
4 answers

Understanding the Linux boot process, subsystem initialization, & udev rules?

I'm creating UDEV rules for automounting external drives on a headless server, much in the same way as Gnome-VFS does automounting during a user session. I'm concerned with the rule's behavior at boot-time. There's a good chance one of these drives…
quack quixote
  • 1,735
  • 1
  • 14
  • 17
2
votes
0 answers

Can 'or' logic be used in UDEV for mounting drive with unique UUIDs?

We do a back-up to a LaCie external rugged drive. The drive is then swapped with it's twin in the safe deposit box. While the drives have different serial numbers, for the servers purposes they are the same drive. I can't image a normal situation…
Edward_178118
  • 955
  • 4
  • 15
  • 33
2
votes
0 answers

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is assigned by udev to the plotter which has the effect to…
stenio
  • 163
  • 1
  • 1
  • 6
2
votes
1 answer

udev rule running setserial low_latency don't work

My server runs Ubuntu 14.04.1. I created udev rules in /etc/udev/rules.d/09-pps.rules to get GPS with PPS support work. KERNEL=="ttyS0", SYMLINK+="gps0", MODE="0666" KERNEL=="ttyS0", RUN+="/bin/setserial -q /dev/%k low_latency" KERNEL=="ttyS0",…
wenzul
  • 225
  • 1
  • 4
  • 11
2
votes
0 answers

Are /dev/disk/by-id symlinks unreliable?

I am provisioning a Nova server and Cinder volumes using a Heat template. In order to identify the Cinder volumes attached to my OpenStack server I would like to use the /dev/disk/by-id/... symlinks provided by udev. Unfortunately, these seem to be…
larsks
  • 43,623
  • 14
  • 121
  • 180
2
votes
2 answers

Consistent Naming of 10gbps Interfaces on Dell Host

I have some Dell hosts in our environment. I would like to be able to provide consistent network interface naming across platforms. I know that biosdevname attempts to make the interfaces consistent with regard to their physical/hardware layout. But…
2
votes
4 answers

How to make RHEL have persistent local hdd name?

I have 2 identical Dell R720 servers running identical Oracle Enterprise Linux(RHEL)6.4. Both servers (supposedly) configured in exactly the same way. However, one of the servers is behaving differently. Every other reboot its local HDD name(and…
Mxx
  • 2,362
  • 2
  • 28
  • 40
2
votes
1 answer

How to restart udevd on RH/CentOS system?

For udevd there is no init.d script and manual page is not indicating how to restart it either. The process is holding a deleted file (lsof shows) and I need to release it by restarting udevd. How to reload/restart udevd on CentOS?
Alex
  • 1,828
  • 4
  • 31
  • 52
2
votes
1 answer

udisks-daemon eating up all my memory

I'm operating a little storage server on debian, over the past months I've noticed the process udisks-daemon eating up almost all available memory. Is this just really aggressive caching or a memory leak? uname -a Linux Proto 2.6.32-5-amd64 #1 SMP…