ext2_dinode.h (254260) | ext2_dinode.h (258904) |
---|---|
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 254260 2013-08-12 21:34:48Z pfg $ | 26 * $FreeBSD: head/sys/fs/ext2fs/ext2_dinode.h 258904 2013-12-04 02:27:52Z 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 --- 4 unchanged lines hidden (view full) --- 39#define EXT2_BADBLKINO ((ino_t)1) 40#define EXT2_ROOTINO ((ino_t)2) 41#define EXT2_ACLIDXINO ((ino_t)3) 42#define EXT2_ACLDATAINO ((ino_t)4) 43#define EXT2_BOOTLOADERINO ((ino_t)5) 44#define EXT2_UNDELDIRINO ((ino_t)6) 45#define EXT2_RESIZEINO ((ino_t)7) 46#define EXT2_JOURNALINO ((ino_t)8) | 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 --- 4 unchanged lines hidden (view full) --- 39#define EXT2_BADBLKINO ((ino_t)1) 40#define EXT2_ROOTINO ((ino_t)2) 41#define EXT2_ACLIDXINO ((ino_t)3) 42#define EXT2_ACLDATAINO ((ino_t)4) 43#define EXT2_BOOTLOADERINO ((ino_t)5) 44#define EXT2_UNDELDIRINO ((ino_t)6) 45#define EXT2_RESIZEINO ((ino_t)7) 46#define EXT2_JOURNALINO ((ino_t)8) |
47#define EXT2_EXCLUDEINO ((ino_t)9) 48#define EXT2_REPLICAINO ((ino_t)10) |
|
47#define EXT2_FIRSTINO ((ino_t)11) 48 49/* 50 * Inode flags 51 * The current implementation uses only EXT2_IMMUTABLE and EXT2_APPEND flags 52 */ 53#define EXT2_SECRM 0x00000001 /* Secure deletion */ 54#define EXT2_UNRM 0x00000002 /* Undelete */ --- 79 unchanged lines hidden --- | 49#define EXT2_FIRSTINO ((ino_t)11) 50 51/* 52 * Inode flags 53 * The current implementation uses only EXT2_IMMUTABLE and EXT2_APPEND flags 54 */ 55#define EXT2_SECRM 0x00000001 /* Secure deletion */ 56#define EXT2_UNRM 0x00000002 /* Undelete */ --- 79 unchanged lines hidden --- |