Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Got my USB flash automount broken after reboot. Using Debian 6, GNOME 2

My NTFS hard-disk is still mounting correctly.

When i connect my Anrdoid smartphone (with SD and local drive) my messages log looks like:

tail -f /var/log/messages

Aug 21 11:46:14 pp-hideout kernel: [  139.461734] sd 4:0:0:0: [sdc] Attached SCSI removable disk
Aug 21 11:46:14 pp-hideout kernel: [  139.466484] sd 4:0:0:2: [sdd] Attached SCSI removable disk
Aug 21 11:46:14 pp-hideout kernel: [  139.514664] cdrom: This disc doesn't have any tracks I recognize!
Aug 21 11:46:22 pp-hideout kernel: [  148.005560] sd 4:0:0:2: [sdd] 4268032 512-byte logical blocks: (2.18 GB/2.03 GiB)
Aug 21 11:46:22 pp-hideout kernel: [  148.006180] sd 4:0:0:0: [sdc] 7761920 512-byte logical blocks: (3.97 GB/3.70 GiB)
Aug 21 11:46:22 pp-hideout kernel: [  148.010305]  sdd:
Aug 21 11:46:22 pp-hideout kernel: [  148.010679]  sdc:
Aug 21 11:46:22 pp-hideout kernel: [  148.014944]  sdc1
Aug 21 11:46:22 pp-hideout halevt: Running: halevt-mount -u /org/freedesktop/Hal/devices/volume_uuid_DACE_470F -o sync -m 002 -o gid=plugdev
Aug 21 11:46:23 pp-hideout halevt: Running: halevt-mount -u /org/freedesktop/Hal/devices/volume_uuid_3E19_07CA -o sync -m 002 -o gid=plugdev

So the problem is somewhere on software level. And the problem is i want it to automount, but it isn't working. Can anybody help?

p.s.: How do Debian USB automounting is working "from the box"? Where can i read about it?

UPDATE: Did some apt-get ideas from web and now i have:

Running: halevt-mount -u /org/freedesktop/Hal/devices/volume_uuid_DACE_470F -o sync -m 002 -o gid=plugdev
Aug 22 03:06:05 pp-hideout usbmount[15471]: executing command: mount -tvfat -osync,noexec,nodev,noatime,nodiratime /dev/sdc1 /media/usb0
Aug 22 03:06:05 pp-hideout halevt: Running: halevt-mount -s
Aug 22 03:06:05 pp-hideout usbmount[15471]: executing command: run-parts /etc/usbmount/mount.d
Aug 22 03:06:07 pp-hideout usbmount[15436]: executing command: mount -tvfat -osync,noexec,nodev,noatime,nodiratime /dev/sdd /media/usb1
Aug 22 03:06:07 pp-hideout halevt: Running: halevt-mount -s
Aug 22 03:06:07 pp-hideout usbmount[15436]: executing command: run-parts /etc/usbmount/mount.d

Now USB flash mounts, BUT read-only. How can i fix read-only? Any ideas?

share|improve this question
So, the problem is that it doesn't automount, or it does and you don't want it to? – jordanm Aug 21 '12 at 21:34
Problem is it don't, but i want to, yep. Sorry : ) – Max Peaceprayer Aug 21 '12 at 21:57
Try running on the command line one of the 'halevt-mount' commands from the above /var/log/messages to get the actual error message, if it cannot be found from the mentioned file. – Jari Laamanen Aug 21 '12 at 22:43
Updated the post. Tried some ideas. Now USB flash mounts, BUT read-only. How can i fix read-only? Any ideas? – Max Peaceprayer Aug 21 '12 at 23:12

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.