Re: mount fat regression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again,

Thanks to you (and the filetype command), I found the root of the
problem and what happened in barebox that change the behavior.
The commit bc87f4399c6a290d820f2dd00ef772f0f3ef8767 change the
behavior of the MBR detection, and it is the right thing to do. I
discover that fatfs default behavior is to create a fdisk partition
table while I though it was a SFD one, so my addpart was wrong.

Modifiying the f_mkfs option resolve the problem.

Thank you for the help and sorry to bother you with this report.

Best regards,

--
Philippe LEDUC
ledphilippe@xxxxxxxxx


2016-02-25 11:23 GMT+01:00 Philippe Leduc <ledphilippe@xxxxxxxxx>:
>> Can you mount the same device with the -tfat option to mount?
> Well same problem: mount: No such file or directory
>
>> I assume it's a GPT partition, right?
> It isn't: there is no partition table, it is directly the FS on it.
>
>> That's your problem.With /dev/mmc2.netcom detected as MBR barebox won't
> automatically try to mount a FAT filesystem.
> Of course it is, and if the method I am currently using to create the
> FS is wrong, I'll change that, don't worry :)
>
> Regards,
>
> --
> Philippe LEDUC
> ledphilippe@xxxxxxxxx
>
>
> 2016-02-25 10:51 GMT+01:00 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>:
>> On Thu, Feb 25, 2016 at 10:37:35AM +0100, Philippe Leduc wrote:
>>> Hi,
>>>
>>> This was working before :) (at least with barebox version 2015.10).
>>> Honestly , this may be a misconfiguration on our part (and the fact
>>> that it worked doesn't mean that it was a normal behavior).
>>>
>>> Here is the output:
>>> filetype  /dev/mmc2.netcom
>>> /dev/mmc2.netcom: MBR sector (mbr)
>>
>> That's your problem. With /dev/mmc2.netcom detected as MBR barebox won't
>> automatically try to mount a FAT filesystem.
>> What is /dev/mmc2.netcom anyway? I assume it's a GPT partition, right?
>>
>> Can you mount the same device with the -tfat option to mount?
>>
>> Sascha
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux