Project

General

Profile

Actions

Feature #969

closed

Either mount SD by partition label or synlink to device mount point

Added by Hammel over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Root File System
Target version:
Start date:
14 May 2023
Due date:
% Done:

100%

Estimated time:
Severity:
02 - High

Description

Currently the blockhandler.sh mounts mmc devices using their mmc names.

A better idea is to mount them to directories that use their disk labels. Since PiBox installation tools put the labels on the partitions, blockhandler.sh can retrieve the label from the device partition using

lsblk -o name,mountpoint,label|grep mmcblk1p1|cut -c29-
Actions

Also available in: Atom PDF