PythonQ 248-8XX Specifications Page 112

  • Download
  • Add to my manuals
  • Print
  • Page
    / 210
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 111
Instead, we create a separate tarball which contains only the device entries so we can use them when
necessary (with cramfs):
bash# tar -zcf /tmp/devices.tar.gz dev/
bash# cd /tmp
4.
Unmount ramdisk image:
bash# umount /mnt/tmp
5.
We will use the /tmp/rootfs.tar.gz tarball as master file in all following experiments.
9.5.1. Root File System on a Ramdisk
Ram disks are used very often to hold the root file system of embedded systems. They have several
advantages:
well-known
well-supported by the Linux kernel
simple to build
simple to use - you can even combine the ramdisk with the Linux kernel into a single image file
RAM based, thus pretty fast
writable file system
original state of file system after each reboot = easy recovery from accidental or malicious data
corruption etc.
On the other hand, there are several disadvantages, too:
big memory footprint: you always have to load the complete filesystem into RAM, even if only small
parts of are actually used
slow boot time: you have to load (and uncompress) the whole image before the first application
process can start
only the whole image can be replaced (not individual files)
additional storage needed for writable persistent data
Actually there are only very few situations where a ramdisk image is the optimal solution. But because they
are so easy to build and use we will discuss them here anyway.
In almost all cases you will use an ext2 file system in your ramdisk image. The following steps are needed to
create it:
Create a directory tree with the content of the target root filesystem. We do this by unpacking our
master tarball:
$ mkdir rootfs
$ cd rootfs
$ tar zxf /tmp/rootfs.tar.gz
1.
We use the genext2fs tool to create the ramdisk image as this allows to use a simple text file to
describe which devices shall be created in the generated file system image. That means that no root
permissions are required at all. We use the following device table rootfs_devices.tab:
#<name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
/dev d 755 0 0 - - - - -
/dev/console c 640 0 0 5 1 - - -
/dev/fb0 c 640 0 0 29 0 - - -
/dev/full c 640 0 0 1 7 - - -
/dev/hda b 640 0 0 3 0 - - -
2.
9.5.1. Root File System on a Ramdisk 112
Page view 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 209 210

Comments to this Manuals

No comments

Sony MDR-XB50AP manuels

Manuels d'utilisation et guides de l'utilisateur pour Non Sony MDR-XB50AP.
Nous fournissons des manuels en pdf 1 Sony MDR-XB50AP à télécharger gratuitement par type de document : Manuel de l'utilisateur


Sony MDR-XB50AP Manuel de l'utilisateur (2 pages)


marque: Sony | Catégorie: No info | Taille: 2.41 MB |

      

Table des matières





Plus de produits et de manuels pour Non Sony

Modèles Type de document
HDR-AS50R Manuel de l'utilisateur Sony HDR-AS50R Action Cam HDR-AS50R με τηλεχειριστήριο Live-View Οδηγός αναφοράς, 2 pages
D-FJ200 Manuel de l'utilisateur   Sony D-FJ200 Návod k obsluze, 2 pages
VPL-VW60 Manuel de l'utilisateur      Sony VPL-VW60 Mode d’emploi, 308 pages
CDX-525RF Manuel de l'utilisateur      Sony CDX-525RF Manuel d'installation, 4 pages
CDX-R6550 Manuel de l'utilisateur   Sony CDX-R6550 Rychlé nastavení a průvodce spuštěním, 2 pages
CDX-A360 Manuel de l'utilisateur   Sony CDX-A360 Návod k obsluze, 20 pages
HT-MT300 Manuel de l'utilisateur     Sony HT-MT300 Barre de son compacte 2.1 canaux avec technologie Bluetooth® Guide de configuration et de démarrage rapide, 2 pages
XM-2200GTX Manuel de l'utilisateur   Sony XM-2200GTX Οδηγίες χρήσης [pt] , 2 pages
TCS-100DV Manuel de l'utilisateur   Sony TCS-100DV Инструкция по эксплуатации [sk] , 2 pages
NW-A35HN Manuel de l'utilisateur   Sony NW-A35 Přehrávač Walkman® se zvukem s vysokým rozlišením Návod k obsluze, 2 pages
VGN-P29VN Manuel de l'utilisateur   Sony VGN-P29VN Инструкция по эксплуатации, 171 pages
SAL500F40G Manuel de l'utilisateur     Sony SAL500F40G 500мм F4 G SSM Инструкция по эксплуатации [en] , 2 pages
STR-DE400 Manuel de l'utilisateur    Sony STR-DE400 Istruzioni per l'uso, 140 pages
DVP-S435 Manuel de l'utilisateur    Sony DVP-S435 Istruzioni per l'uso, 144 pages
SRS-XB20 Manuel de l'utilisateur       Sony SRS-XB20 Φορητό ηχείο με EXTRA BASS™ και BLUETOOTH® XB20 Οδηγός αναφοράς, 4 pages
HT-DDW870 Manuel de l'utilisateur   Sony HT-DDW870 Käyttöohjeet, 120 pages
PCV-RX401 Manuel de l'utilisateur   Sony PCV-RX401 Software Manual, 94 pages
MDR-ZX110NC Manuel de l'utilisateur     Sony MDR-ZX110NC ZX110NC Noise Cancelling Headphones Operating Instructions, 2 pages
MHC-RG550 Manuel de l'utilisateur   Sony MHC-RG550 تعليمات التشغيل [es] [fr] [it] [pl] [pt] , 40 pages
XT-DTV20LN Manuel de l'utilisateur    Sony XT-DTV20LN Installation Guide, 2 pages