Modifying contents of a RAMDISK

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   


Starting with example ramdisk.gz

1. Unzip the ramdisk

[root@localhost user]# gunzip ramdisk.gz

2. Mount the image using the loop file system

[root@localhost user]# mount -o loop ramdisk /mnt

3. Copy any files you want to add where ever you want them on /mnt
4. Unmount the disk

[root@localhost user]# umount /mnt

5. Zip up the directories with gzip

[root@localhost user]# gzip ramdisk
E2e.jpg For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Modifying contents of a RAMDISK here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox