Skip to contentSkip to conversation

Adding a mount for a second partition

DISCUSSION Paul D. DeRocco 2 participants 2 messages Jun 21, 2013

lore
Share & tools
lore
#0 lore raw

My image is a live image that is booted from a flash drive. The drive actually has two partitions on it, and I'd like the second partition to get mounted on startup. I believe that what I need is to create a mount point in the image's file system, and also append a line to /etc/fstab. How do I write a recipe to do those two things?

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected] 
#1 lore raw

Hi,

If I am not wrong the file mount.sh in udev already does this but I dont know if it different for a live image ...

Quoted 18 lines · Paul D. DeRocco

My image is a live image that is booted from a flash drive. The drive actually has two partitions on it, and I'd like the second partition to get mounted on startup. I believe that what I need is to create a mount point in
the image's file system, and also append a line to /etc/fstab. How do I write a recipe to do those two things?

--

Ciao, Paul D. DeRocco
Paul mailto:[email protected]

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto