Wind River Support Network

HomeDefectsLIN6-14414
Fixed

LIN6-14414 : Cannot mount FAT disk with time_offset option greater than 12 hours

Created: Mar 15, 2018    Updated: Apr 23, 2019
Resolved Date: Apr 13, 2018
Found In Version: 6.0.0.36
Fix Version: 6.0.0.37
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

When mounting FAT formatted USB memory with time_offset option greater than 12 hours, following error occurs.

# mount /dev/sda /media/usbmem0 -o umask=000,time_offset=781,utf8,sync
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

This problem seems be resolved by following upstream commit:

  - fat: allow time_offset to be up to 24 hours
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a513d86983164a1f74a226ab7006deffbf63907e

Steps to Reproduce

OK:
# mount /dev/sda /media/usbmem0 -o umask=000,time_offset=780,utf8,sync

NG:
# mount /dev/sda /media/usbmem0 -o umask=000,time_offset=781,utf8,sync

Other Downloads


Live chat
Online