OpenBricks / openbricks

Embedded Linux Framework
http://www.geexbox.org/
GNU General Public License v2.0
82 stars 42 forks source link

udisks: fix not create media dir #63

Closed Wolftronics-SBC closed 6 years ago

Wolftronics-SBC commented 6 years ago

not work automount usb drive "not automountd package"... at least I do not work if I created the media directory working. kodi detect mounted drive.

tomlohave commented 6 years ago

Le 31/10/2017 à 19:06, Wolftronics-SBC a écrit :

not work automount usb drive "not automountd package"... at least I do not work if I created the media directory working. Sorry, I do not understand very well. udisks mount the usb disks (ntfs fat, ext{2,3,4}) with no problem under /media using this systemd file Can you post something ? ie if you add an usb disk, what returns dmesg and what is the content of /proc/mounts ? (off course with udisks active via systemd)

Cheers !

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenBricks/openbricks/pull/63#issuecomment-340851719, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgAftZx-aK7urh-ibs9ET1bV1T-hxDQks5sx2GbgaJpZM4QNJFn.

Wolftronics-SBC commented 6 years ago

I look at dmesg /proc/mounts but I can only answer tomorrow.

tomlohave commented 6 years ago

Le 31/10/2017 à 19:29, Wolftronics-SBC a écrit :

I look at dmesg /proc/mounts but I can only answer tomorrow. no problem, no hurry I will comit the 2nd patch (about zlib)

B.R

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenBricks/openbricks/pull/63#issuecomment-340858752, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgAfpOp-eHvmY4xxGHU19WMgFRodmqoks5sx2b3gaJpZM4QNJFn.

Wolftronics-SBC commented 6 years ago

dmesg_no_media_dir_usbconnected.log dmesg_with_media_dir_usbconnected.log proc_mounts_no_media_dir_usbconnected.log proc_mounts_with_media_dir_usbconnected.log

tomlohave commented 6 years ago

ok, and who mount the drive ? If you remove this systemd file you have no helper to mount usb drive What returns 'systemctl status udisks -l' ?

tomlohave commented 6 years ago

ok, I see, the systemd file installed is not the good one. It can explain your problem not having /media created at boot time.

Wolftronics-SBC commented 6 years ago

yes :)