On typical Linux file system the root directory "/" has a node number equaled 2.
Nodes with number 1 are bad blocks.
Other files and directories have different node numbers.
However, in practice, mobile file system yaffs2, which is used by Android platform has another behavior:
all directories in the root directory as well as the root itself have node number equaled 1!
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts
Tuesday, December 1, 2009
Monday, November 30, 2009
Android ifconfig vs netcfg
On my Android emulator ifconfig shows nothing.
In order to get all interfaces on your emulator or device you could use netcfg:
In order to get all interfaces on your emulator or device you could use netcfg:
# netcfg
lo UP 127.0.0.1 255.0.0.0 0x00000049
dummy0 DOWN 0.0.0.0 0.0.0.0 0x00000082
rmnet0 DOWN 0.0.0.0 0.0.0.0 0x00001002
rmnet1 DOWN 0.0.0.0 0.0.0.0 0x00001002
rmnet2 DOWN 0.0.0.0 0.0.0.0 0x00001002
tiwlan0 DOWN 0.0.0.0 0.0.0.0 0x00001002
Wednesday, November 11, 2009
Subscribe to:
Posts (Atom)