Closed ondonadas closed 8 years ago
@ondonadas very strange... Is this card formatted correctly? Looks like it's partition table is bogus.
Yes, the card is formatted right. Ubuntu shows FAT32 format
El 18/11/2015, a las 14:21, Drasko DRASKOVIC notifications@github.com escribió:
@ondonadas https://github.com/ondonadas very strange... Is this card formatted correctly? Looks like it's partition table is bogus.
— Reply to this email directly or view it on GitHub https://github.com/nodesign/weio/issues/269#issuecomment-157710652.
@ondonadas, if I understand correctly, your SD cards or USB drives were mounted without any problem before, and now are not mounted at all ?
It looks like the partition table is not correct. Ubuntu shows /dev/sdx**y, or only /dev/sdx** ?
[Edit]
[ -e $sd/`basename $sd`1 ] && sd_name=`basename $sd`1 || sd_name=`basename $sd`
I'm OK with this modification, and I can apply it for the next release. I know that the new version of OSX (El Capitan) also create, some times, devices that doesn't shows any partition. I think it was one of the multiple problem I had with this version. (I've preferred downgrade my system to fix all the problems :P)
Paul, some of them are correctly detected. Others didn't.
Let me try to format them with different OS. Let see what happens... El dia 18/11/2015 19:29, "Paul RATHGEB" notifications@github.com va escriure:
@ondonadas https://github.com/ondonadas, if I understand correctly, your SD cards or USB drives were mounted without any problem before, and now are not mounted at all ?
It looks like the partition table is not correct. Ubuntu shows /dev/sdx y, or only /dev/sdx ?
— Reply to this email directly or view it on GitHub https://github.com/nodesign/weio/issues/269#issuecomment-157811834.
Paul, some of them are correctly detected. Others didn't.
They're correctly detected on WeIO, or on Ubuntu ? Are the partition scheme consistent between Ubuntu and WeIO ? (I mean, does a card that doesn't have a partition number on WeIO has one on Ubuntu ?)
Hi @drasko
Fyi:
I've been using weio sd/usb memory card detection. After some days I've noticed that there usb drives and microsd cards that are detected as /dev/sda (please note the lack of partition number). In other words the drive is never mounted. In order to avoid this I've modified /etc/hotplug.d/weio/10-weio-removable-devices:
Please note that sysfs shows /sys/bus/scsi/drivers/sd/0:0:0:0/block/sda/sda1 file instead of /sys/bus/scsi/drivers/sd/0:0:0:0/block/sda1
sergio