Opened 12 years ago

Closed 10 years ago

Last modified 8 years ago

#3024 closed defect (worksforme)

Udev - 70-persistent-cd.rules bug

Reported by: Robert L. Inglis Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:


I have several usb pendrives and one happens to be a Scandisk. For some reason this rule sets this removable drive up as a CDROM. You can get around it with my 71-removable-media.rules for mounting but 70-persistent-cd.rules still registers this item as a CDROM in /dev/*.

Before plugging it in. /dev.ringlis [ ~ ]$ ls /dev/cd* /dev/cdrom /dev/cdrw After. ringlis [ ~ ]$ ls /dev/cd* /dev/cdrom /dev/cdrom1 /dev/cdrw ringlis [ ~ ]$ ls -la /dev/cdrom1 lrwxrwxrwx 1 root root 3 Jan 17 11:22 /dev/cdrom1 -> sr1 My 71-removable-media.rules is taking affect too. ringlis [ ~ ]$ ls -la /dev/remo* lrwxrwxrwx 1 root root 4 Jan 17 11:22 /dev/removable1 -> sdc1

Attachments (1)

70-persistent-cd.rules (992 bytes ) - added by Robert L. Inglis 12 years ago.

Download all attachments as: .zip

Change History (7)

by Robert L. Inglis, 12 years ago

Attachment: 70-persistent-cd.rules added

comment:1 by bdubbs@…, 12 years ago

Do you have the pen drive read-only switch on?

in reply to:  1 comment:2 by Robert L. Inglis, 12 years ago

Replying to bdubbs@…:

Do you have the pen drive read-only switch on?

I do not see a switch to lock this pendrive and I can write to the drive under /media/removable1. What makes this odd is if you Google Scandisk / udev, it seems this brand has issues with udev with other users posting that udev sees it as a cdrom. What might be a quick fix is a 70-persistent-cdrom.rules that somehow blacklists this brand-name. Or find how to get udev/write_cd.rules to see it as a usb-removable vs cdrom.

comment:3 by Randy McMurchy, 12 years ago

Milestone: future6.7

Updated milestone to 6.7

comment:4 by bdubbs@…, 10 years ago

Milestone: 6.7current

comment:5 by bdubbs@…, 10 years ago

Resolution: worksforme
Status: newclosed

usb drives work for me. This old ticket seems to be a hw specific problem that need not be addressed in BLFS.

comment:6 by bdubbs@…, 8 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.