Am 30.11.2017 um 23:40 schrieb A.W.C.:
> # mount -t dev dev /dev
> mount: mounting dev on /dev failed: No such device

The fstype you are looking for is "devtmpfs" not "dev":

  mount -t devtmpfs devtmpfs /dev

fstype-names aren't very plausible at this point, but all of them has
gone through some kind of evolution until today.

> # mount -t sys sys /sys
> mount: mounting sys on /sys failed: No such device

Again, this is called "sysfs":

  mount -t sysfs sysfs /sys

> # mount -t devpts devpts /dev/pts
> mount: mounting devpts on /dev/pts failed: No such file or directory

This should fail because /dev wasn't mounted beforehead

[...]
> I need mount a root partition, how is proper command?
> 
> mount /dev/mtd4 /mnt  ?

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).

[0] <[email protected]>

-- 
    \\\||///
  \\  - -  //
   (  @ @  )
-oOo--( )--oOo-------------------------------------------------------
 tiggersWelt.net                                 www.tiggersWelt.net
 Inhaber Bernd Holzmüller                       [email protected]
                                            Büro: 07 11 / 550 425-90
 Marktstraße 57                              Fax: 07 11 / 550 425-99
 70372 Stuttgart

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to