1##############################################################################
2# ext2ed.conf                                                                #
3#                                                                            #
4# Configuration file for the extended 2 file system disk editor.             #
5##############################################################################
6
7# Ext2Descriptors is the location of the ext2 filesystem structure
8# definitions.
9
10
11Ext2Descriptors		@datadir@/ext2.descriptors 
12
13
14# Using AlternateDescriptors you can declare additional structures. Those
15# structures can contain only variables. Linking functions to the objects is
16# possible only through source code additions.
17
18
19AlternateDescriptors	
20
21
22# LogFile is the location of the log file. Actual changes to the filesystem
23# are logged there. See also LogChanges.
24
25
26LogFile			/var/log/ext2ed.log
27
28
29# The following selects the default behavior when changes are made to the
30# filesystem. When on, each change will be logged - Both the previous data
31# and the new written data.
32
33
34LogChanges		on
35
36
37# AllowChanges off will not allow ext2ed to do any changes to the
38# filesystem - The "enablewrite" command will not work. When on, enablewrite
39# will still have to be issued to allow write access.
40
41
42AllowChanges		on
43
44
45# With this option you can choose whether ext2ed will allow read-only mode on
46# a mounted filesystem. Read-Write mode is never allowed on a mounted
47# filesystem.
48
49
50AllowMountedRead	on
51
52
53# When ForceExt2 is set to on, the filesystem is assumed to be ext2
54# filesystem, despite the possibly corrupt superblock magic number reading.
55# All the ext2 specific commands will be aviable despite the possible
56# autodetection failture.
57
58ForceExt2		off
59
60
61# Normally, the various filesystem parameters such as the block size and the
62# total number of blocks are gathered from the ext2 filesystem itself.
63# However, on a corrupt filesystem, ext2ed is unable to get the right
64# parameters. In this case, they will be taken from here. See also
65# ForceDefault.
66
67
68DefaultBlockSize	1024
69DefaultTotalBlocks	2097151		# ~2 GB total size
70DefaultBlocksInGroup	8192
71
72# With ForceDefault on, you can force the use of the default parameters
73# above. This is not recommended, as ext2ed will fallback by default to those
74# parameters if it can't figure up the parameters from the filesystem itself.
75
76
77ForceDefault 		off
78
79
80