Bug #449

Add /data to boot

Added by Hammel about 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:17 Jun 2015
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:04 - Root File System
Target version:0.11.0
Severity:03 - Medium

Description

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

Associated revisions

Revision 2a672fc7
Added by Hammel almost 2 years ago

RM #449: Add support for 3rd partition when making the SD card. This means the default
requirement for an SD card should now be 4GB (in anticipation of remote upgrade capabilities).

History

#1 Updated by Hammel about 2 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 almost 2 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.

#3 Updated by Hammel almost 2 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.

Also available in: Atom PDF