Displaying 5 results from an estimated 5 matches for "bg_inode_t".
2008 Feb 01
2
How to read group descriptor?
...p dsc for this
block..i.e. first group descriptor for first block group
read(fd,buff,block_size); //read first block. It should contain
group description structure.
memcpy((void *)gdesc,(void *)buff,sizeof(struct ext3_group_desc));
//try to print some field inside structure..
printf("\nbg_inode_table:%u",gdesc->bg_inode_table); //Bang....It
gives me zero.
close(fd);
return 0;
}
2014 May 20
0
extlinux vs ext4 64 bit
Hi,
It looks like extlinux's code doesn't have support for the "64bit"
feature of ext4:
extlinux:
struct ext2_group_desc {
...
uint32_t bg_inode_table; /* Inodes table block */
...
}
ext4:
struct ext4_group_desc {
...
uint32_t bg_inode_table_lo; /* Inodes table block */
...
uint32_t bg_inode_table_hi; /* Inodes table block MSB */
}
I'm seeing an issue where sometimes the syslinux.cfg my userspace code
is writing is en...
2005 Oct 31
2
What is the history of CONFIG_EXT{2,3}_CHECK?
Can anyone tell me the history of CONFIG_EXT{2,3}_CHECK?
There is code for a "check" option for mount if these options are
enabled, but there's no way to enable them.
TIA
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
2009 Mar 31
1
[PATCH 1/1] CORE/cache: add cache priority parameter
...asm b/core/extlinux.asm
index 9684c8a..59d460d 100644
--- a/core/extlinux.asm
+++ b/core/extlinux.asm
@@ -966,7 +966,10 @@ open_inode:
add eax,edx
pop edx
and dx,SECTOR_SIZE-1
+ push dx
+ mov dx,1
call getcachesector ; Get the group descriptor
+ pop dx
add si,dx
mov esi,[gs:si+bg_inode_table] ; Get inode table block #
pop eax ; Get inode within group
@@ -985,7 +988,10 @@ open_inode:
and dx,SECTOR_SIZE-1
mov [bx+file_in_off],dx
+ push dx
+ mov dx,1
call getcachesector
+ pop dx
add si,dx
mov cx,EXT2_GOOD_OLD_INODE_SIZE >> 2
mov di,ThisInode
@@ -1351,...
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi,
The following patches add support for ext4 and btrfs to
PV-GRUB. These patches are taken nearly verbatim from those provided
by Fedora and Gentoo.
We''ve been using these patches for the PV-GRUB images available in EC2
for some time now with no problems.
Changes from v1:
- Makefile has been changed to check the exit code from patch
- The btrfs patch has been rebased to apply