Add /data to boot
|Status:||Closed||Start date:||17 Jun 2015|
|Category:||04 - Root File System|
|Severity:||03 - Medium|
The new sd card format creates a /data partition as ext3. It should be mounted at boot time.
#1 Updated by Hammel almost 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
The SD card's third partition should be mounted by /usr/bin/blockhandler.sh, called via mdev.conf. It will be mounted under /media/mmcblk0p2, I think. Assuming that happens automatically (which it should) then /data will need to be a symlink to /media/mmcblk0p2, if it exists. That means we need a test for /media/mmcblk0p2. That could be done in S11dev. If the mount point is missing, then remove the symlink if it exists. If the mount point is found then create the symlink if it doesn't exist.
#2 Updated by Hammel over 3 years ago
- % Done changed from 10 to 50
Instead of adding code to the boot process to make /data, I just need to fix the location of the mount (see RM #456) and then future users can use blkid to identify the "data" labeled partition to find out where to store and read data.