Project

General

Profile

Actions

Bug #449

closed

Add /data to boot

Added by Hammel over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Root File System
Target version:
Start date:
17 Jun 2015
Due date:
% Done:

100%

Estimated time:
Severity:
03 - Medium

Description

The new sd card format creates a /data partition as ext3. It should be mounted at boot time.

Actions #1

Updated by Hammel over 9 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.

Actions #2

Updated by Hammel over 9 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.

Actions #3

Updated by Hammel over 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

The data partition is mouned correctly under /media. blkid identifies it as a the labeled "data" partition. So the partition can be identified easily by apps in the future.

Closing issue.

Actions

Also available in: Atom PDF