AnsweredAssumed Answered

i.MX6Q sata mount issue

Question asked by jianhua xu on Dec 19, 2014
Latest reply on Jul 22, 2017 by Raana

Hi community,

 

I meet a strange issue about sata mounting.

1) I modified init.rc like below ( add line in blue)

    mkdir /mnt/extsd 0000 system system

    symlink /mnt/extsd /extsd

    mkdir /mnt/udisk 0000 system system

    symlink /mnt/udisk /udisk

# jianhua@20140808 for sata/ssd

    mkdir /mnt/ssd 0775 system system

    symlink /mnt/ssd  /ssd

 

2) I modified fstab.freescale like below (add line in blue)

/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc2 /mnt/extsd vfat defaults voldmanaged=sdcard:auto

/devices/platform/fsl-ehci /mnt/udisk vfat defaults voldmanaged=sdcard:auto

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

 

after system bootup, there are none file lists in /ssd folder

However, if I changed fstab.freescale like below:

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

after system bootup, there are correct file list in /extsd folder that are just the files in sata disk.


could you give me some advices why such difference. ( finally, i want to mount sata disk in ssd folder, because extsd should be reserved for external sd card).

Many thx...

Outcomes