Danke für die schnelle Rückmeldung, Thomas. Am Sonntag, 13. März 2005 15:08 schrieb Thomas Hertweck:
Guido Pinkernell wrote:
Genau: Ein Beispiel im Detail mit log-Auszügen:
Ich stecke einen USB-Stick ("Easydisk") ein. Udev erzeugt einen Node /dev/easydisk, den ich per Hand erfolgreich mounten kann. [...]
Aeh, welche Major und Minor Nummer hat denn das Device /dev/easydisk? Ich haette gedacht, es wird ein Device wie sda1 oder so angelegt...
Was ist eine Major bzw. Minor Nummer? Meine udev Regel hiess bislang SYSFS{product}="EasyDisk Portable Device", SYSFS{serial}="20133682", NAME="easydisk" Dem Devicenamen wurde bislang also keine Ziffer angefügt. Ich habe jetzt die Regel abgeändert: SYSFS{product}="EasyDisk Portable Device", SYSFS{serial}="20133682", NAME="easydisk%n" So dass nun ein "Blockorientiertes Gerät" /dev/easydisk angelegt wird sowie ein "Zeichenorientiertes Gerät" /dev/easydisk1. Meine dmesg sieht so aus:
-- dmesg: usb 1-2.1: new full speed USB device using address 5 [snip] sde: assuming drive cache: write through sde: sde1 Attached scsi removable disk sde at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg4 at scsi1, channel 0, id 0, lun 0, type 0 USB Mass Storage device found at 5
usb 3-1: new full speed USB device using address 10 usb 3-1: Product: EasyDisk Portable Device usb 3-1: Manufacturer: CCYU TECHNOLOGY usb 3-1: SerialNumber: 20133682 scsi4 : SCSI emulation for USB Mass Storage devices Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 127042 512-byte hdwr sectors (65 MB) sda: test WP failed, assume Write Enabled sda: assuming drive cache: write through sda: unknown partition table Attached scsi removable disk sda at scsi4, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi4, channel 0, id 0, lun 0, type 0 USB Mass Storage device found at 10 Wie man sieht, wird die Partitionstabelle nicht erkannt. Trotzdem kann ich ja per Hand mounten. Vielleicht liegt das ganze Problem ja in dieser Fehlermeldung begründet.
udev kreiert ein Device /dev/sde1, ausserdem wird ein Verzeichnis /media/usb-02073305090D60:0:0:0p1/ angelegt (wie man sieht, kommt darin die Serial Number von oben vor).
Was da von udev bei mir angelegt wird: s.o.
Waere es moeglich, dass Dein Stick nicht korrekt erkannt wird und es deswegen zu Problemen kommt? Sorry, ist nicht besonders hilfreich,
Vermutlich die unknown partition table. Danke trotzdem für Deine Hilfen soweit! Guido