ext2_dinode.h (294653) | ext2_dinode.h (294654) |
---|---|
1/*- 2 * Copyright (c) 2009 Aditya Sarawgi 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2009 Aditya Sarawgi 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/fs/ext2fs/ext2_dinode.h 294653 2016-01-24 02:41:49Z pfg $ | 26 * $FreeBSD: head/sys/fs/ext2fs/ext2_dinode.h 294654 2016-01-24 02:44:00Z pfg $ |
27 */ 28 29#ifndef _FS_EXT2FS_EXT2_DINODE_H_ 30#define _FS_EXT2FS_EXT2_DINODE_H_ 31 32/* 33 * Special inode numbers 34 * The root inode is the root of the file system. Inode 0 can't be used for --- 12 unchanged lines hidden (view full) --- 47#define EXT2_EXCLUDEINO ((ino_t)9) 48#define EXT2_REPLICAINO ((ino_t)10) 49#define EXT2_FIRSTINO ((ino_t)11) 50 51/* 52 * Inode flags 53 * The system supports EXT2_IMMUTABLE, EXT2_APPEND and EXT2_NODUMP flags. 54 * The current implementation also uses EXT3_INDEX, EXT4_EXTENTS and | 27 */ 28 29#ifndef _FS_EXT2FS_EXT2_DINODE_H_ 30#define _FS_EXT2FS_EXT2_DINODE_H_ 31 32/* 33 * Special inode numbers 34 * The root inode is the root of the file system. Inode 0 can't be used for --- 12 unchanged lines hidden (view full) --- 47#define EXT2_EXCLUDEINO ((ino_t)9) 48#define EXT2_REPLICAINO ((ino_t)10) 49#define EXT2_FIRSTINO ((ino_t)11) 50 51/* 52 * Inode flags 53 * The system supports EXT2_IMMUTABLE, EXT2_APPEND and EXT2_NODUMP flags. 54 * The current implementation also uses EXT3_INDEX, EXT4_EXTENTS and |
55 * EXT4_HUGE_FILE with some restrictions, imposed the lack of write | 55 * EXT4_HUGE_FILE with some restrictions imposed by the lack of write |
56 * support. 57 */ 58#define EXT2_SECRM 0x00000001 /* Secure deletion */ 59#define EXT2_UNRM 0x00000002 /* Undelete */ 60#define EXT2_COMPR 0x00000004 /* Compress file */ 61#define EXT2_SYNC 0x00000008 /* Synchronous updates */ 62#define EXT2_IMMUTABLE 0x00000010 /* Immutable file */ 63#define EXT2_APPEND 0x00000020 /* Writes to file may only append */ --- 74 unchanged lines hidden --- | 56 * support. 57 */ 58#define EXT2_SECRM 0x00000001 /* Secure deletion */ 59#define EXT2_UNRM 0x00000002 /* Undelete */ 60#define EXT2_COMPR 0x00000004 /* Compress file */ 61#define EXT2_SYNC 0x00000008 /* Synchronous updates */ 62#define EXT2_IMMUTABLE 0x00000010 /* Immutable file */ 63#define EXT2_APPEND 0x00000020 /* Writes to file may only append */ --- 74 unchanged lines hidden --- |