代码搜索:ext2
找到约 1,173 项符合「ext2」的源代码
代码结果 1,173
www.eeworm.com/read/300708/13897659
tpl ext inode.tpl
template "Ext2/Ext3 节点"
// By Jens Kirschner
description "包含文件中继信息 (节点大小 128 字节)"
applies_to disk
multiple
begin
section "File mode"
octal uint_flex "8,7,6,5,4,3,2,1,0" "权限"
m
www.eeworm.com/read/245586/12792549
c ext2-inode.c
#include "fs.h"
//member functions for Ext2Inode
/* ATTENTION:ext2 inode table stores inode n in inode_table[n-1]!!! */
void Ext2Inode_init(struct Ext2Inode *in){
in->i_blocks=0; // 0 blocks ass
www.eeworm.com/read/245586/12793045
c ext2-inode.c
#include "fs.h"
//member functions for Ext2Inode
/* ATTENTION:ext2 inode table stores inode n in inode_table[n-1]!!! */
void Ext2Inode_init(struct Ext2Inode *in){
in->i_blocks=0; // 0 blocks ass
www.eeworm.com/read/258550/11856053
rootfilesystem
#!/bin/bash
#
dd if=/dev/zero of=DEVICE bs=1k count=4400
# After this command,you should select yes, press 'y' and ENTER
mke2fs -m0 -i 2000 DEVICE
#
mount -t ext2 -o loop DEVICE /mnt
mkdir -p /mnt/{de
www.eeworm.com/read/316872/3605892
h ext2.h
#include
#include
/*
* ext2 mount options
*/
struct ext2_mount_options {
unsigned long s_mount_opt;
uid_t s_resuid;
gid_t s_resgid;
};
/*
* second extended file
www.eeworm.com/read/316872/3605898
h acl.h
/*
File: fs/ext2/acl.h
(C) 2001 Andreas Gruenbacher,
*/
#include
#define EXT2_ACL_VERSION 0x0001
typedef struct {
__le16 e_tag;
__le16
www.eeworm.com/read/350504/3124977
c setext2.c
/*
* setext2.c - Set ext2 special flags
*/
#include
#include
#include
#include
#include
#include
#include
#inc
www.eeworm.com/read/264357/4288026
conf travis-uclibc.conf
#Select for uClibc
TARGET_OS="linux-uclibc"
#Select for glibc
#TARGET_OS="linux"
TARGET_FPU = "soft"
INHERIT += " package_ipk"
IMAGE_FSTYPE = "jffs2"
#IMAGE_FSTYPE = "ext2"
#512M - 32M (FAT16) - 1
www.eeworm.com/read/264357/4288027
conf travis.conf
#Select for uClibc
#TARGET_OS="linux-uclibc"
#Select for glibc
TARGET_OS="linux"
TARGET_FPU = "soft"
INHERIT += " package_ipk"
IMAGE_FSTYPE = "jffs2"
#IMAGE_FSTYPE = "ext2"
#512M - 32M (FAT16) - 1