btfs

btfs can be used as /init for constructing a run-time environment before running the real init.
Download

btfs Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Luciano Rocha
  • Publisher web site:
  • http://strange.nsk.no-ip.org/projects/mbridge/

btfs Tags


btfs Description

btfs can be used as /init for constructing a run-time environment before running the real init. btfs can be used as /init for constructing a run-time environment before running the real init.The project supports extracting compressed (*.cgz, *.cbz2) and uncompressed (*.co) cpios located on a compile-defined directory (/).Also, it creates a tmpfs filesystem as the new root, if / isn't one already and the purpose of the initramfs isn't for starting a system in another location (disk, network, etc.). That will allow for the data on / to be swapped to disk when swap devices are activated later.Usage: install as /init on an initramfs.Boot description:1. if / isn't a tmpfs or a ramfs or the program isn't init (pid == 1), it refuses to run2a. if / isn't a tmpfs: i. mounts a tmpfs on an empty /newroot*; ii. extracts all cpio files (*.co *.cgz *.cbz2) under ARCHIVE_DIR (/) to the tmpfs; iii. moves all other files on / to the tmpfs; iv. remounts /newroot as the root filesystem; v. chroots;2b. extracts all cpio files (*.co *.cgz *.cbz2) under ARCHIVE_DIR (/) to /;3. opens /dev/console;4a. if there's a root= argument to the kernel, and it isn't /dev/ram*, executes /sbin/boot_other as init (change with option boot_other=).4b. executes /sbin/init (change with option init=).


btfs Related Software