You are not logged in.

#1 2011-01-26 10:59:43

dwidmann
Member
From: Gordonsville, Virginia, US
Registered: 2009-05-27
Posts: 60

Can you change the udev ATTRS for a device?

In particular with programs that access optical media lately, it seems to be popular to refer to them in various softwares by their vendor/model/rev (ie: 'TSSTcorp CDDVDW SH-S223F SB02').
This gets confusing and messy when you have multiple of the same device.
Is it possible to write an udev rule that would change it to something else, like maybe 'TSSTcorp CDDVDW SH-S223F SB02 /dev/sr0', or something, so I can actually tell my drives apart when they're referenced that way?


"I refuse to be part of a society that encourages the rampant abuse of its own language." ~ BM

Offline

#2 2011-01-26 11:13:07

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Can you change the udev ATTRS for a device?


Mr Green

Offline

#3 2011-01-26 12:34:22

dwidmann
Member
From: Gordonsville, Virginia, US
Registered: 2009-05-27
Posts: 60

Re: Can you change the udev ATTRS for a device?

No. The Wiki deals with setting up automounting/permissions/symlinks... no mention of anything quite like this.


"I refuse to be part of a society that encourages the rampant abuse of its own language." ~ BM

Offline

Board footer

Powered by FluxBB