iMX6Q sata mount automatically problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX6Q sata mount automatically problem

跳至解决方案
1,752 次查看
jasonhsu
Contributor III

Hi Community,

I mount sata as below way, but it cannot mount automatically:

add this line

/devices/platform/ahci /mnt/ssd ntfs defaults voldmanaged=sdcard:auto

in device/fsl/sabreauto_6q/fstab.freescale.

after system bootup, in dev/block folder, it can find following:

sda

sda1

sda2

sda5

but there is nothing in /mnt/ssd.

However, when I try to mount manually, it will be mounted successfully.

root@sabreauto_6q:/ # mount -t ntfs /dev/block/sda1 /mnt/ssd/

NTFS volume version 3.1.

Could you give me some advices how to make it auto mount successfully after boot?

many thxs....:smileyhappy:

标签 (5)
标记 (2)
0 项奖励
回复
1 解答
1,367 次查看
igorpadykov
NXP Employee
NXP Employee

Hi jianhua

I think first parameter is fstab should be /dev/sda1 or

/dev/block/sda1 according to

Fstab - Community Help Wiki

Best regards

igor

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,368 次查看
igorpadykov
NXP Employee
NXP Employee

Hi jianhua

I think first parameter is fstab should be /dev/sda1 or

/dev/block/sda1 according to

Fstab - Community Help Wiki

Best regards

igor

0 项奖励
回复
1,367 次查看
jasonhsu
Contributor III

Hi igor

thx for your reply

it is fixed according to your advice.

:smileywink:

0 项奖励
回复