You are not logged in.

#1 2011-02-16 17:12:10

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Device only mounts after two manual attempts

Attempting to mount my Sony Walkman NW-E005F mp3 player. The device only manually mounts after a specific sequence of manual mount attempts. It then double-mounts via a udev rule, but only after a manual mount. I am not using HAL, just udev. I have the standard media udev rules in /etc/udev/rules.d as per the wiki.

Here are the log messages 10 seconds after I've inserted the USB device:

Feb 16 09:03:57 localhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 11
Feb 16 09:03:57 localhost kernel: scsi16 : usb-storage 1-4:1.0
Feb 16 09:03:58 localhost kernel: scsi 16:0:0:0: Direct-Access     SONY     NWWM MEM AAD2    1.00 PQ: 0 ANSI: 0 CCS
Feb 16 09:03:58 localhost kernel: sd 16:0:0:0: Attached scsi generic sg2 type 0
Feb 16 09:03:58 localhost kernel: sd 16:0:0:0: [sdb] Attached SCSI removable disk

Note that the partition /dev/sdb1 is not assigned a device node.
If I then attempt to do a standard manual mount this is what happens:

[larry@eagle ~]$ sudo mount /dev/sdb1 /mnt/tmp
mount: special device /dev/sdb1 does not exist

But I notice that if I then do this sequence below it will mount:

[larry@eagle ~]$ sudo mount /dev/sdb /mnt/tmp
mount: you must specify the filesystem type
[larry@eagle ~]$ sudo mount /dev/sdb1 /mnt/tmp

But then what has also happened is an automount by udev - here is the relevant output of "df -h":

Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             1.9G  1.9G   81M  96% /media/usbhd-sdb1
/dev/sdb1             1.9G  1.9G   81M  96% /mnt/tmp

There is nothing in my /etc/fstab file to conflict, so I do not understand why the manual mount is not working without the gymnastics and why after doing that udev mount finally kicks in?

Any ideas or suggestions greatly appreciated.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

Board footer

Powered by FluxBB