When the device is rebooted, the entry in /etc/fstab that mounts /dev/mmcblk1p2 may change to /dev/mmcblk0p2, causing the device to become inaccessible. To resolve this, you need to either modify the corresponding mount entry with the UUID or forcefully power-cycle the device.
Using UUID in /etc/fstab is a better approach. Here's an example:
Obtain the UUID of the MSD path using the following command:
This change ensures that the device is mounted using the UUID, which is a more stable identifier and should prevent the issue with changing device names on reboot.
When the device is rebooted, the entry in /etc/fstab that mounts /dev/mmcblk1p2 may change to /dev/mmcblk0p2, causing the device to become inaccessible. To resolve this, you need to either modify the corresponding mount entry with the UUID or forcefully power-cycle the device.
Using UUID in /etc/fstab is a better approach. Here's an example:
Obtain the UUID of the MSD path using the following command:
Output:
After obtaining the UUID for the MSD path, modify the mount entry in /etc/fstab using a text editor (e.g., vim):
Update the mount entry with the UUID:
This change ensures that the device is mounted using the UUID, which is a more stable identifier and should prevent the issue with changing device names on reboot.