rtems 文件系统(15)-jffs2 研究(5)--测试打印记录mkdir,嵌套mkdir

记下来测试建立多个文件夹,和文件夹嵌套是否有问题。

记录打印信息

[/flash] # ls
[/flash] # mkdir data
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_find_nextblock(): new nextblock = 0x01FE0000
<7>JFFS2: Obsoleting node at 0x01FE0000 of len 0xC: <7>JFFS2: Wasting
<7>JFFS2: Not moving nextblock 0x01FE0000 to dirty/erase_pending list
<7>JFFS2: obliterating obsoleted node at 0x01FE0000
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFFF4 bytes at 0x1FE000C
<7>jffs2_new_inode(): dir_i 1, mode 0x41ED
malloc new_inode 642fc0 ####################################
<7>Allocated inocache at 643048
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 643048 (ino #2)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 2
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE000C(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 4056D0 is (01FE0001,0)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 4056D8 (FFFFFFFE becomes 01FE000E,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE000C(2) with dsize 0x0, csize 0x0, node_crc 0xE4596A12, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x2C bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFFB0 bytes at 0x1FE0050
<7>JFFS2: jffs2_write_dirent(ino #1, name at *0x4041CE "data"->ino #2, name_crc 0x8CB72C7F)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0050(2), size 0x2C
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 4056D8 is (01FE000E,643048)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 4056E0 (FFFFFFFE becomes 01FE0052,0) len 0x2C
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "data", ino #2
<7>JFFS2: jffs2_complete_reservation()
icache_evict


建立第一个文件夹的时候没有问题

[/flash] # mkdir test
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFF84 bytes at 0x1FE007C
<7>jffs2_new_inode(): dir_i 1, mode 0x41ED
malloc new_inode 643d00 ####################################
<7>Allocated inocache at 643D88
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 643D88 (ino #3)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 3
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE007C(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 4056E0 is (01FE0052,405628)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 4056E8 (FFFFFFFE becomes 01FE007E,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE007C(2) with dsize 0x0, csize 0x0, node_crc 0xC194097A, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x2C bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFF40 bytes at 0x1FE00C0
<7>JFFS2: jffs2_write_dirent(ino #1, name at *0x4041CE "test"->ino #3, name_crc 0xF93BA110)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE00C0(2), size 0x2C
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 4056E8 is (01FE007E,643D88)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 4056F0 (FFFFFFFE becomes 01FE00C2,0) len 0x2C
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "test", ino #3
<7>JFFS2: jffs2_complete_reservation()
icache_evict
<7>jffs2_clear_inode(): ino #2 mode 40755

建立第二个文件夹没问题

[/flash] # mkdir test1
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFF14 bytes at 0x1FE00EC
<7>jffs2_new_inode(): dir_i 1, mode 0x41ED
malloc new_inode 644a40 ####################################
<7>Allocated inocache at 644AC8
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 644AC8 (ino #4)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 4
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE00EC(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 4056F0 is (01FE00C2,4056E0)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 4056F8 (FFFFFFFE becomes 01FE00EE,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE00EC(2) with dsize 0x0, csize 0x0, node_crc 0x20987107, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFED0 bytes at 0x1FE0130
<7>JFFS2: jffs2_write_dirent(ino #1, name at *0x4041CE "test1"->ino #4, name_crc 0x4C902BFF)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0130(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 4056F8 is (01FE00EE,644AC8)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405700 (FFFFFFFE becomes 01FE0132,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "test1", ino #4
<7>JFFS2: jffs2_complete_reservation()
icache_evict
<7>jffs2_clear_inode(): ino #3 mode 40755

建立第三个文件夹没有问题。

[/flash] # mkdir test2
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFEA0 bytes at 0x1FE0160
<7>jffs2_new_inode(): dir_i 1, mode 0x41ED
malloc new_inode 645788 ####################################
<7>Allocated inocache at 645810
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 645810 (ino #5)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 5
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0160(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405700 is (01FE0132,4056F0)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405708 (FFFFFFFE becomes 01FE0162,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE0160(2) with dsize 0x0, csize 0x0, node_crc 0xF101E6A4, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFE5C bytes at 0x1FE01A4
<7>JFFS2: jffs2_write_dirent(ino #1, name at *0x4041CE "test2"->ino #5, name_crc 0xD5997A45)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE01A4(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405708 is (01FE0162,645810)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405710 (FFFFFFFE becomes 01FE01A6,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "test2", ino #5
<7>JFFS2: jffs2_complete_reservation()
icache_evict
<7>jffs2_clear_inode(): ino #4 mode 40755

建立第四个文件夹没问题

[/flash] # mkdir data2
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFE2C bytes at 0x1FE01D4
<7>jffs2_new_inode(): dir_i 1, mode 0x41ED
malloc new_inode 6464d0 ####################################
<7>Allocated inocache at 646558
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 646558 (ino #6)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 6
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE01D4(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405710 is (01FE01A6,405700)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405718 (FFFFFFFE becomes 01FE01D6,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE01D4(2) with dsize 0x0, csize 0x0, node_crc 0x6706FB33, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFDE8 bytes at 0x1FE0218
<7>JFFS2: jffs2_write_dirent(ino #1, name at *0x4041CE "data2"->ino #6, name_crc 0x08E18A01)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0218(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405718 is (01FE01D6,646558)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405720 (FFFFFFFE becomes 01FE021A,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "data2", ino #6
<7>JFFS2: jffs2_complete_reservation()
icache_evict
<7>jffs2_clear_inode(): ino #5 mode 40755

建立第五个文件夹没问题。

----------------------------------------------------------------------------------------------------------------------------------

文件夹嵌套测试

[/flash] # cd test
jffs2_lookup()
jffs2_iget
ilookup
malloc new_inode 6485a8 ####################################
<7>jffs2_read_inode(): inode->i_ino == 3
<7>[JFFS2 DBG] jffs2_do_read_inode: read inode #3
<7>[JFFS2 DBG] jffs2_do_read_inode_internal: ino #3 pino/nlink is 1
<7>[JFFS2 DBG] jffs2_get_inode_nodes: ino #3
<7>[JFFS2 DBG] jffs2_get_inode_nodes: read 40 bytes at 0x01FE007C(2).
<7>[JFFS2 DBG] read_more: read more 28 bytes
<7>[JFFS2 DBG] read_dnode: dnode @01FE007C: ver 1, offset 0x0000, dsize 0x0000, csize 0x0000
<7>[JFFS2 DBG] jffs2_add_tn_to_tree: insert fragment 0x0000-0x0000, ver 1 at 01FE007C
<7>[JFFS2 DBG] jffs2_add_tn_to_tree: keep new mdata with ver 1
<7>[JFFS2 DBG] read_dnode: After adding ver 1:
<7>[JFFS2 DBG] jffs2_get_inode_nodes: nodes of inode #3 were read, the highest version is 1, latest_mctime 0, mctime_ver 0.
<7>[JFFS2 DBG] jffs2_build_inode_fragtree: potential mdata is ver 1 at 648698
<7>jffs2_read_inode() returning

进入文件夹没问题

[/flash/test] # mkdir testa
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFDB8 bytes at 0x1FE0248
<7>jffs2_new_inode(): dir_i 3, mode 0x41ED
malloc new_inode 6494b8 ####################################
<7>Allocated inocache at 649540
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 649540 (ino #7)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 7
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0248(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405720 is (01FE021A,405710)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405728 (FFFFFFFE becomes 01FE024A,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE0248(2) with dsize 0x0, csize 0x0, node_crc 0xF012324C, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFD74 bytes at 0x1FE028C
<7>JFFS2: jffs2_write_dirent(ino #3, name at *0x4041CE "testa"->ino #7, name_crc 0x27FB7A0B)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE028C(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405728 is (01FE024A,649540)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405730 (FFFFFFFE becomes 01FE028E,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "testa", ino #7
<7>JFFS2: jffs2_complete_reservation()
icache_evict
<7>jffs2_clear_inode(): ino #6 mode 40755

在test中建立文件夹testa没问题

[/flash/test] # cd testa
jffs2_lookup()
jffs2_iget
ilookup

进入testa成功

[/flash/test/testa] # mkdir testaa
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFD44 bytes at 0x1FE02BC
<7>jffs2_new_inode(): dir_i 7, mode 0x41ED
malloc new_inode 64ed50 ####################################
<7>Allocated inocache at 64EDD8
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 64EDD8 (ino #8)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 8
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE02BC(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405730 is (01FE028E,4056E8)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405738 (FFFFFFFE becomes 01FE02BE,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE02BC(2) with dsize 0x0, csize 0x0, node_crc 0x9C11C0E0, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFD00 bytes at 0x1FE0300
<7>JFFS2: jffs2_write_dirent(ino #7, name at *0x4041CE "testaa"->ino #8, name_crc 0xAD40733C)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0300(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405738 is (01FE02BE,64EDD8)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405740 (FFFFFFFE becomes 01FE0302,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "testaa", ino #8
<7>JFFS2: jffs2_complete_reservation()
icache_evict

在testa中继续创建文件夹,没问题

[/flash/test/testa] # cd testaa
jffs2_lookup()
jffs2_iget
ilookup

进入testaa没问题

[/flash/test/testa/testaa] # mkdir testaaa
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFCD0 bytes at 0x1FE0330
<7>jffs2_new_inode(): dir_i 8, mode 0x41ED
malloc new_inode 652770 ####################################
<7>Allocated inocache at 6527F8
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 6527F8 (ino #9)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 9
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0330(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405740 is (01FE0302,405728)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405748 (FFFFFFFE becomes 01FE0332,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE0330(2) with dsize 0x0, csize 0x0, node_crc 0x64D59724, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFC8C bytes at 0x1FE0374
<7>JFFS2: jffs2_write_dirent(ino #8, name at *0x4041CE "testaaa"->ino #9, name_crc 0x15776D3A)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0374(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405748 is (01FE0332,6527F8)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405750 (FFFFFFFE becomes 01FE0376,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "testaaa", ino #9
<7>JFFS2: jffs2_complete_reservation()
icache_evict

在testaa中建立testaaa没问题

[/flash/test/testa/testaa] # mkdir testaaa1
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFC5C bytes at 0x1FE03A4
<7>jffs2_new_inode(): dir_i 8, mode 0x41ED
malloc new_inode 655458 ####################################
<7>Allocated inocache at 6554E0
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 6554E0 (ino #10)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 10
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE03A4(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405750 is (01FE0376,405738)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405758 (FFFFFFFE becomes 01FE03A6,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE03A4(2) with dsize 0x0, csize 0x0, node_crc 0x1C659865, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x30 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFC18 bytes at 0x1FE03E8
<7>JFFS2: jffs2_write_dirent(ino #8, name at *0x4041CE "testaaa1"->ino #10, name_crc 0x97C7AEE5)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE03E8(2), size 0x30
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405758 is (01FE03A6,6554E0)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405760 (FFFFFFFE becomes 01FE03EA,0) len 0x30
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "testaaa1", ino #10
<7>JFFS2: jffs2_complete_reservation()
icache_evict
<7>jffs2_clear_inode(): ino #9 mode 40755

在testaa中建立testaaa1也没问题

[/flash/test/testa/testaa] # cd testaaa1
jffs2_lookup()
jffs2_iget
ilookup

进入testaaa1

[/flash/test/testa/testaa/testaaa1] # mkdir testaaa11
jffs2_lookup()
<7>JFFS2: jffs2_reserve_space(): Requested 0x44 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFBE8 bytes at 0x1FE0418
<7>jffs2_new_inode(): dir_i 10, mode 0x41ED
malloc new_inode 659a90 ####################################
<7>Allocated inocache at 659B18
<7>[JFFS2 DBG] jffs2_add_ino_cache: add 659B18 (ino #11)
<7>JFFS2: jffs2_do_new_inode(): Assigned ino# 11
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE0418(2), size 0x44
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405760 is (01FE03EA,405750)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405768 (FFFFFFFE becomes 01FE041A,0) len 0x44
<7>JFFS2: jffs2_write_dnode wrote node at 0x01FE0418(2) with dsize 0x0, csize 0x0, node_crc 0xF39E35E3, data_crc 0x00000000, totlen 0x00000044
<7>JFFS2: jffs2_complete_reservation()
<7>JFFS2: jffs2_reserve_space(): Requested 0x34 bytes
<7>JFFS2: jffs2_reserve_space(): alloc sem got
<7>JFFS2: jffs2_do_reserve_space(): Giving 0xFBA4 bytes at 0x1FE045C
<7>JFFS2: jffs2_write_dirent(ino #10, name at *0x4041CE "testaaa11"->ino #11, name_crc 0x8129D163)
<7>JFFS2: jffs2_add_physical_node_ref(): Node at 0x1FE045C(2), size 0x34
<7>[JFFS2 DBG] jffs2_link_node_ref: Last node at 405768 is (01FE041A,659B18)
<7>[JFFS2 DBG] jffs2_link_node_ref: New ref is 405770 (FFFFFFFE becomes 01FE045E,0) len 0x34
<7>[JFFS2 DBG] jffs2_add_fd_to_list: add dirent "testaaa11", ino #11
<7>JFFS2: jffs2_complete_reservation()
icache_evict

testaaa1中建立文件夹testaaa11成功

[/flash/test/testa/testaa/testaaa1] # cd ..
icache_evict
<7>jffs2_clear_inode(): ino #11 mode 40755

退出一层成功

[/flash/test/testa/testaa] # cd ..
[/flash/test/testa] # cd ..
[/flash/test] # cd ..
[/flash] # cd ..
[/] #

继续退出,但是没有了打印信息。

[/] # cd /flash/test/testa/testaa
jffs2_lookup()
jffs2_iget
ilookup
jffs2_lookup()
jffs2_iget
ilookup
jffs2_lookup()
jffs2_iget
ilookup
[/flash/test/testa/testaa] #

从根目录直接进入到某个目录


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值