Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-08-2006, 05:29 PM   #1
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,223

Rep: Reputation: 58
Question udev rules all_partitions doesn't work

I am trying to create rules for my usb flash devices.

This is the rules file:

BUS=="scsi", SYSFS{size}=="2051809", SYMLINK+="mp3man%n", OPTIONS+="all_partitions"
BUS=="scsi", SYSFS{size}=="255704", SYMLINK+="univadis%n", OPTIONS+="all_partitions"

When I plug in my mp3player /dev/mp3man is created but there is no /dev/mp3man1

Similarly when I plug in my memory stick /dev/univadis is created but no /dev/univadis1

So I cannot mount it ( unless I go to sdc1 which defeats the object of the exercise.

I have also tried

BUS=="scsi", SYSFS{size}=="2051809", NAME(all_partitions)="mp3man%n"

with the same result.

What do I do to get mp3man1 created?
Old 06-10-2006, 06:46 PM   #2
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,223

Original Poster
Rep: Reputation: 58

And the answer is....

The rules were written incorrectly because I had followed the instruction on

and used

udevinfo -a -p /sys/block/sdc


gives the instruction as

udevinfo -a -p /sys/block/sdc/sdc1

Using rules generated from this the all_partitions command is not needed.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating rules for udev wnaLinux Slackware 5 01-03-2008 10:21 AM
UDEV Rules Location Toods Slackware 1 04-28-2006 03:23 AM
Udev rules working but... cferron Linux - Hardware 5 03-24-2006 03:46 AM
need help fixing my udev rules or ivman rules hedpe Linux - Hardware 2 03-18-2006 11:07 AM
Networking rules (udev) cassi0peias Linux - Networking 1 10-18-2005 11:13 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:06 PM.

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