- Mitglied seit
- 17 Mai 2007
- Beiträge
- 281
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo zusammen,
habe ein kleines mount Problem in Kombination mit USB-Root
Nach dem erfolgreichen Start des USB-Root images ist alles da, bis auf den 2. USB Stick. Dieser mounted erst, nach "händischem" abziehen und anstecken auf den USB-Hub.
Jetzt ist meine Idee, einfach eine Mountzeile in die debug.cfg zu schreiben, welche den Stick nach dem booten automatisch mounted.
Wie lautet der Befehl dazu?
Oder gibts noch ne simplere Möglichkeit?
Danke im Voraus.
Grüße Lemur
Auszug aus "mount" nach dem reboot
Auszug aus /proc/partitions nach dem reboot
(sdb1 ist vfat)
Und so sieht das richtig aus, nach dem händischen abziehen + anstecken
habe ein kleines mount Problem in Kombination mit USB-Root
Nach dem erfolgreichen Start des USB-Root images ist alles da, bis auf den 2. USB Stick. Dieser mounted erst, nach "händischem" abziehen und anstecken auf den USB-Hub.
Jetzt ist meine Idee, einfach eine Mountzeile in die debug.cfg zu schreiben, welche den Stick nach dem booten automatisch mounted.
Wie lautet der Befehl dazu?
Oder gibts noch ne simplere Möglichkeit?
Danke im Voraus.
Grüße Lemur
Auszug aus "mount" nach dem reboot
Code:
rootfs on / type rootfs (rw)
/dev/sda1 on / type ext2 (rw)
dev on /dev type tmpfs (rw,nosuid)
proc on /proc type proc (rw,nodiratime,nosuid,nodev,noexec)
tmpfs on /var type tmpfs (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
/dev/mtdblock6 on /data type jffs2 (rw,noatime)
tmpfs on /data/tam/rec type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /var/tmp/tsb/var/orgwww/errors type ext2 (rw)
/dev/sda1 on /var/tmp/tsb/var/orgwww/html type ext2 (rw)
tmpfs on /usr/www/all type tmpfs (rw)
/dev/sda1 on /usr/www/all/errors type ext2 (rw)
/dev/sda1 on /usr/www/all/html type ext2 (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_first.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_homehome.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_konfig.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_tr69_autoconfig.html type tmpfs (rw)
tmpfs on /usr/www/all/html/login.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/login.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/home/home.js type tmpfs (rw)
Code:
major minor #blocks name
31 0 8192 mtdblock0
31 1 6954 mtdblock1
31 2 7616 mtdblock2
31 3 64 mtdblock3
31 4 256 mtdblock4
31 5 256 mtdblock5
31 6 576 mtdblock6
31 7 7040 mtdblock7
8 0 1981952 sda
8 1 1981936 sda1
8 16 7897087 sdb
8 17 7897056 sdb1
Und so sieht das richtig aus, nach dem händischen abziehen + anstecken
Code:
rootfs on / type rootfs (rw)
/dev/sda1 on / type ext2 (rw)
dev on /dev type tmpfs (rw,nosuid)
proc on /proc type proc (rw,nodiratime,nosuid,nodev,noexec)
tmpfs on /var type tmpfs (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
/dev/mtdblock6 on /data type jffs2 (rw,noatime)
tmpfs on /data/tam/rec type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /var/tmp/tsb/var/orgwww/errors type ext2 (rw)
/dev/sda1 on /var/tmp/tsb/var/orgwww/html type ext2 (rw)
tmpfs on /usr/www/all type tmpfs (rw)
/dev/sda1 on /usr/www/all/errors type ext2 (rw)
/dev/sda1 on /usr/www/all/html type ext2 (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_first.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_homehome.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_konfig.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/menus/menu2_tr69_autoconfig.html type tmpfs (rw)
tmpfs on /usr/www/all/html/login.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/login.html type tmpfs (rw)
tmpfs on /usr/www/all/html/de/home/home.js type tmpfs (rw)
/dev/sdb1 on /var/media/ftp/uStor11 type vfat (rw,nodiratime,fmask=0000,dmask=0000,codepage=cp437,iocharset=iso8859-1)