LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-24-2008, 08:19 AM   #1
dizowned
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
Renaming udev mapper labels


Would anyone by any chance know how to rename things using udev that are logical links to say an external raid?

Main idea is that I have an esata nvidia controller with raid. I plug in two external sata drives and through the controller put them into a raid 0. When linux boots (2.6 kernel), it detects all the drives as scsi devices and creates dev's for them. It also creates a logical link inside /dev/mapper so that you have an access point to the raid, which subsquently locks mounting of the individual dev links - which means that everything is working as it should. I can use the drives as I like via the /dev/mapper/ link, however the name that is generated under mapper is some funky nvidia_(blah!!!) name which I suspect is either the kernel id or sys id, but I can't find a reference to either. The blah part is not affected by the disk label ... I believe it has something to do with raid device name which is generated everytime the raid is broken and recreated. So, what I would like is a way to nail down the name that gets plunked in /dev by a kernel id or more likely a sysfs or pci id by using udev. However I don't know where to look to find any of that information as it relates back to the devices attached to the raid controller. (If it exists....)

Any replies are much appreciated, thanks in advance guys and gals.
 
Old 04-02-2008, 05:31 AM   #2
aus9
Senior Member
 
Registered: Oct 2003
Location: Australia
Posts: 4,258

Rep: Reputation: Disabled
http://www.reactivated.net/writing_udev_rules.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cd labels? firedance Linux - Software 4 04-14-2008 08:19 AM
keyboard mapper sundol Ubuntu 1 04-04-2007 06:16 AM
1. how to set labels bottom margin? 2. how to set all labels to be right to left typi dfgfdgdf General 0 03-20-2007 09:43 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
Mapper davholla Programming 0 11-02-2004 10:46 AM


All times are GMT -5. The time now is 02:57 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration