作者crreep (Life is random)
看板Linux
標題[問題] Porting with busybox shell
時間Sat Jun 21 20:41:12 2008
※ [本文轉錄自 LinuxDev 看板]
作者: crreep (Life is random) 看板: LinuxDev
標題: [問題] Porting with busybox shell
時間: Sat Jun 21 20:39:28 2008
我想用NFS將某個作業系統的root file system放在PC端,然後將板子開機,
telnet login後,我的版子是有busybox,所以用busybox的chroot到NFS mount的
root file system,然後執行某個binary ex: ./hello 但是卻發生segmentation fault
.(總之可以去執行)
如果沒有chroot, 直接cd 到那個file system然後./hello,卻會回
ash:./hello not found
這是位什麼呢?為何chroot以後就可以執行了?
thx
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.31.104.112
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.31.104.112