On 12/01/2017 04:17 PM, A.W.C. wrote:
But I already have directories /dev, /proc, /sys, /tmp
If I'll make these new dir for TinyCross they will replace existing ones?

mkdir -p /proc
mkdir -p /sys
mkdir -p /tmp
mkdir -p /var/log

 -p, --parents
              no error if existing, make parent directories as needed

Basically, I want mount root partition, its located on /dev/mtd4. In my 
specific case I need manually mount a few partitions only required for this 
task, correct?
Then mount root

mount /dev/mtd4 /mnt/root

Please correct me if I'm wrong.

How to exit from busybox shell properly? Command 'exit' produces Kernel panic.

Regards,
Alex




--------------------------------------------
On Fri, 12/1/17, Mattias Schlenker <[email protected]> wrote:

  Subject: Re: BusyBox built-in shell (ash)
  To: [email protected]
  Date: Friday, December 1, 2017, 4:21 PM
Am 01.12.2017 um 10:38 schrieb
  tiggersWelt.net (Support):
>  This should work whenever /dev is
  mounted.
  > Matthias [0] already gave you
  the advice to look at other rc-scripts how
  > they are doing this kind of stuff, like
  his own scripts:
  >
  >
    <https://github.com/mschlenker/TinyCrossLinux/blob/master/patches/etc-rc>
  >
  > Everything you need
  is written down there and is not busybox-related,
  > but how to build a linux from scratch
  (maybe the LFS-Project would be a
  > good
  starting-point for you).
I
  object! TinyCrossLinux is a collection of scripts to build a
  minimal
  working usable linux distribution
  that basically just uses busybox, the
  kernel and a bootloader. It extensively uses
  features special to
  busybox: busybox'
  init (with a sample inittab and a BSD like rc script),
  busybox mdev and other stuff. I tried to keep
  all the scripts simple to
  build a minimal
  base distribution for your own busybox related
  experiments.
Yours,
  Mattias
--
  Mattias
  Schlenker - Freier IT-Fachredakteur und -autor
  [email protected]
Mattias Schlenker -
  IT-Consulting, Softwareentwicklung
  [email protected]
August-Bebel-Str. 74 - D-04275
  LEIPZIG - GERMANY
  Phone: +49 341 39290767 -
  Fax: +49 341 25365955
  Mobile (primary): +49
  163 6953657
  Mobile (secondary): +49 163
  1848610
  VATIN DE240998538
https://github.com/mschlenker
  http://www.mattiasschlenker.de/
  http://www.arduino-hausautomation.de/
_______________________________________________
  busybox mailing list
  [email protected]
  http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to