--- reiserfsprogs-3.6.19.orig/fsck/reiserfsck.8 +++ reiserfsprogs-3.6.19/fsck/reiserfsck.8 @@ -70,9 +70,9 @@ This option cleans reserved fields of Stat-Data items. There were days when there were no extended attributes in reiserfs. When they were implemented old partitions needed to be cleaned first -- reiserfs code in the kernel did not -care about not used fields in its strutures. Thus if you have used one of the -old (pre-attrbutes) kernels with a ReiserFS filesystem and you want to use -extented attribues there, you should clean the filesystem first. +care about not used fields in its structures. Thus if you have used one of the +old (pre-attributes) kernels with a ReiserFS filesystem and you want to use +extented attributes there, you should clean the filesystem first. .TP .B \fB--journal \fIdevice \fR, \fB-j \fIdevice \fR This option supplies the device name of the current file system journal. @@ -109,7 +109,7 @@ .TP .B --yes, -y This option inhibits \fBreiserfsck\fR from asking you for confirmation after -telling you what it is going to do. It will assuem you confirm. For safety, +telling you what it is going to do. It will assume you confirm. For safety, it does not work with the \fB--rebuild-tree\fR option. .TP \fB-a\fR, \fB-p\fR --- reiserfsprogs-3.6.19.orig/tune/reiserfstune.8 +++ reiserfsprogs-3.6.19/tune/reiserfstune.8 @@ -3,7 +3,7 @@ .\" .TH REISERFSTUNE 8 "February 2004" "Reiserfsprogs-3.6.19" .SH NAME -reiserfstune \- The tunning tool for the ReiserFS filesystem. +reiserfstune \- The tuning tool for the ReiserFS filesystem. .SH SYNOPSIS .B reiserfstune [ \fB-f\fR ] @@ -61,7 +61,7 @@ \fB \-s\fR | \fB\--journal-new-size \fIN \fIN\fR is the size parameter for the new journal. When journal is to be on a separate device - its size defaults to number of blocks that -device has. When journal is to be on the same device as the filesytem - its size defaults +device has. When journal is to be on the same device as the filesystem - its size defaults to amount of blocks allocated for journal by \fImkreiserfs\fR when it created the filesystem. Minimum is 513 for both cases. @@ -77,7 +77,7 @@ \fB \-t\fR | \fB\--maximal-transaction-size \fIN \fIN\fR is the maximum transaction size parameter for the new journal. The default, and max possible, value is 1024 blocks. It -should be less than half the size of the journal. If specifed +should be less than half the size of the journal. If specified incorrectly, it will be adjusted. .TP \fB \-b\fR | \fB\--add-badblocks\fR \fIfile\fR @@ -108,7 +108,7 @@ \fB-u\fR | \fB--uuid \fIUUID\fR Set the universally unique identifier (\fB UUID \fR) of the filesystem to \fIUUID\fR (see also \fBuuidgen(8)\fR). The format of the UUID is a -series of hex digits separated by hypthens, like this: +series of hex digits separated by hyphens, like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". .TP \fB-l\fR | \fB--label \fILABEL\fR --- reiserfsprogs-3.6.19.orig/reiserfscore/prints.c +++ reiserfsprogs-3.6.19/reiserfscore/prints.c @@ -618,6 +618,10 @@ rdev = misc_device_rdev(file_name); + /* Print volume label if it is non-empty. */ + if (sb->s_label[0]) + reiserfs_warning (fp, "%s: ", sb->s_label); + reiserfs_warning (fp, "Reiserfs super block in block %lu on 0x%x of ", bh->b_blocknr, rdev); switch (get_reiserfs_format (sb)) { --- reiserfsprogs-3.6.19.orig/debian/html/mount-options.html +++ reiserfsprogs-3.6.19/debian/html/mount-options.html @@ -0,0 +1,570 @@ + + + + + + + + + + +ReiserFS mount options + + + +

ReiserFS Mount Options

+

linux kernels 2.4.x

+ +
+ +
conv
+
+

+ Instructs 3.6 ReiserFS code to mount + 3.5 filesystem, using + 3.6 format for newly created objects. + After this you cannot use it through 3.5 + ReiserFS tools anymore. This option causes conversion of old + format super block to the new format. If not specified - old + partition will be dealt with in a manner of 3.5. +

+

Example:

+
+	mount -t reiserfs -o conv /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + + +
nolog
+
+

+ Disable journalling. This will get you slight performance improvement in + some situations at the cost of losing fast recovery from crashes. + Actually even with this option turned on, ReiserFS still performs all + journalling paraphernalia, save for actual writes into journalling area. + Implementation of real nolog is work in progress.

+ +

Example:

+
+	mount -t reiserfs -o nolog /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
notail
+
+

+ By default, ReiserFS stores small files and `file tails' directly + into the tree. This confuses some utilities like + LILO. This option is used to disable + packing of files into the tree.

+ +

Example:

+
+	mount -t reiserfs -o notail /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + + + +
replayonly
+
+

+ Replay transactions in journal, but don't actually mount filesystem. + Used by fsck, mostly.

+ +

Example:

+
+	mount -t reiserfs -o replayonly /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
jdev=journal_device
+
+

+

+ +

Example:

+
+	mount -t reiserfs -o jdev=/dev/sdb2 /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
attrs
+
+

+

+ +

Example:

+
+	mount -t reiserfs -o attrs /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
noattrs
+
+

+

+ +

Example:

+
+	mount -t reiserfs -o noattrs /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
resize=NUMBER
+
+

+ Remount option allowing to expand ReiserFS partition on-line. + Make ReiserFS think that device has NUMBER blocks. + Useful with LVM devices. + There is a special resizer utility + which can be obtained from + ftp://ftp.namesys.com/pub/reiserfsprogs

+ +

Example:

+
+	mount -t reiserfs -o resize=680000 /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
hash=rupasov / tea / r5 / detect
+
+

+ Choose hash function ReiserFS will use to find files within + directories. + Long time ago ReiserFS had only one hash, + so hash code was not marked in filesystem superblock. Then additional hashes + became available so we had to put hash code into super block. Also, old hash was + made notdefault. At that time there were already a number of filesystems with not + set hash code in super block. So, mount option was created to make it possible to + write proper hash value into super block. + Relative merits of hash functions were subjected to discussions of great + length on the + ReiserFS mailing list. + (Try this query.) + Roughly speaking: 99% of the time, this option + is not required. If the normal autodection code can't determine which + hash to use (because both hases had the same value for a file) + use this option to force a specific hash. It won't allow you to override + the existing hash on the FS, so if you have a tea hash disk, and mount + with -o hash=rupasov, the mount will fail. + +

+

+

+
rupasov
+
+

+ This hash is invented by + Yury Yu. Rupasov <yura@yura.polnet.botik.ru>. It is fast and preserves locality, mapping lexicographically + close file names to the close hash values. Never use it, as it has high probability of hash collisions. +

+
+ + +
tea
+
+

+ This hash is a Davis-Meyer function + implemented by Jeremy Fitzhardinge <jeremy@zip.com.au>. + It is hash permuting bits in the name thoroughly. It gets high randomness + and, therefore, low probability of hash collision, but this costs + performance. Use this if you got EHASHCOLLISION with + r5 hash. +

+
+ +
r5
+
+

+ This hash is a modified version of + rupasov hash. It is used by default and it is + better to stick here until you have to support huge directories and unusual + file-name patterns. +

+
+ +
detect
+
+

+ This is the instructs mount to detect hash function + in use by instance of filesystem being mounted and write this information + into superblock. This is only useful on the first mount of old filesystem. +

+
+
+ +

Example:

+
+	mount -t reiserfs -o hash=r5 /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
block-allocator=hashed_relocation / + no_unhashed_relocation / noborder / border
+
+

+ Tunes block allocator. + This option is used for testing experimental features, makes benchmarking new + features with and without more convenient, should never be used by + users in any code shipped to users (ideally). +

+ +

+ +

+ +
hashed_relocation
+
+

+ Tunes block allocator. + This may give you performance improvements in some situations. +

+
+ + + +
no_unhashed_relocation
+
+

+ Tunes block allocator. + This may give you performance improvements in some situations. +

+
+ + +
noborder
+
+

+ Disable `border allocator algorithm' invented by + Yury Yu. Rupasov <yura@yura.polnet.botik.ru>. + This may give you performance improvements in some situations. + +

+
+ + + +
block-allocator=border
+
+

+ Enable `border allocator algorithm' invented by + Yury Yu. Rupasov + <yura@yura.polnet.botik.ru>. + This may give you performance improvements in some situations. +

+
+

+ +

Example:

+
+	mount -t reiserfs -o block-allocator=border /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + + + +
+ +
+ + +

linux kernels 2.6.x

+ +
+ +
conv
+
+

+ Instructs 3.6 ReiserFS code to mount + 3.5 filesystem, using + 3.6 format for newly created objects. + After this you cannot use it through 3.5 + ReiserFS tools anymore. This option causes conversion of old + format super block to the new format. If not specified - old + partition will be dealt with in a manner of 3.5. +

+

Example:

+
+	mount -t reiserfs -o conv /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + + +
nolog
+
+

+ Disable journalling. This will get you slight performance improvement in + some situations at the cost of losing fast recovery from crashes. + Actually even with this option turned on, ReiserFS still performs all + journalling paraphernalia, save for actual writes into journalling area. + Implementation of real nolog is work in progress.

+ +

Example:

+
+	mount -t reiserfs -o nolog /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
notail
+
+

+ By default, ReiserFS stores small files and `file tails' directly + into the tree. This confuses some utilities like + LILO. This option is used to disable + packing of files into the tree.

+ +

Example:

+
+	mount -t reiserfs -o notail /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
replayonly
+
+

+ Replay transactions in journal, but don't actually mount filesystem. + Used by fsck, mostly.

+ +

Example:

+
+	mount -t reiserfs -o replayonly /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
jdev=journal_device
+
+

+

+ +

Example:

+
+	mount -t reiserfs -o jdev=/dev/sdb2 /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
attrs
+
+

+

+ +

Example:

+
+	mount -t reiserfs -o attrs /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
noattrs
+
+

+

+ +

Example:

+
+	mount -t reiserfs -o noattrs /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
resize=NUMBER
+
+

+ Remount option allowing to expand ReiserFS partition on-line. + Make ReiserFS think that device has NUMBER blocks. + Useful with LVM devices. + There is a special resizer utility + which can be obtained from + ftp://ftp.namesys.com/pub/reiserfsprogs

+ +

Example:

+
+	mount -t reiserfs -o resize=680000 /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
data=ordered / journal / writeback
+
+

+ Specifies the journalling mode for file data. Metadata is always journaled. + +

+
journal
+
+

+ All data is committed into the journal prior to being written into the main + file system. +

+
+ + +
ordered
+
+

+ This is the default mode. All data is forced directly out to the main + file system prior to its metadata being committed to the journal. +

+
+ +
writeback
+
+

+ Data ordering is not preserved - data may be written into the main + file system after its metadata has been committed to the journal. + This is rumoured to be the highest-throughput option. It guarantees + internal file system integrity, however it can allow old data to appear in + files after a crash and journal recovery. +

+
+ +
+

+ +

Example:

+
+	mount -t reiserfs -o data=writeback /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ + +
block-allocator=hashed_relocation / + no_unhashed_relocation / noborder / border
+
+

+ Tunes block allocator. + This option is used for testing experimental features, makes benchmarking new + features with and without more convenient, should never be used by + users in any code shipped to users (ideally). +

+ +

+ +

+ +
hashed_relocation
+
+

+ Tunes block allocator. + This may give you performance improvements in some situations. +

+
+ + + +
no_unhashed_relocation
+
+

+ Tunes block allocator. + This may give you performance improvements in some situations. +

+
+ + +
noborder
+
+

+ Disable `border allocator algorithm' invented by + Yury Yu. Rupasov <yura@yura.polnet.botik.ru>. + This may give you performance improvements in some situations. + +

+
+ + + +
block-allocator=border
+
+

+ Enable `border allocator algorithm' invented by + Yury Yu. Rupasov + <yura@yura.polnet.botik.ru>. + This may give you performance improvements in some situations. +

+
+

+ +

Example:

+
+	mount -t reiserfs -o block-allocator=border /dev/sdb1 /mnt/scsi-disk-b
+	
+
+ +
+ + + +
+

+Maintainer: grev@namesys.com + + + + +

+ + + --- reiserfsprogs-3.6.19.orig/debian/html/reiserfsck.html +++ reiserfsprogs-3.6.19/debian/html/reiserfsck.html @@ -0,0 +1,482 @@ + + + + +REISERFSCK + + + +

REISERFSCK

+NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+EXPERT OPTIONS
+AN EXAMPLE OF USING reiserfsck
+EXIT CODES
+AUTHOR
+BUGS
+TODO
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+reiserfsck - The checking tool for the ReiserFS filesystem.
+ +

SYNOPSIS

+ + + +
+reiserfsck [ -afprVy ] [ --rebuild-sb | +--check | --fix-fixable | +--rebuild-tree | --clean-attributes ] [ +-j | --journal device ] [ -z | +--adjust-size ] [ -n | --nolog ] [ +-B | --badblocks file ] [ -l | +--logfile file ] [ -q | --quiet +] [ -y | --yes ] [ -S | +--scan-whole-partition ] [ +--no-journal-available ] device
+ +

DESCRIPTION

+ + + +
+Reiserfsck searches for a Reiserfs filesystem on a +device, replays any necessary transactions, and either +checks or repairs the file system.
+ + + +
+device
+ + + +
+is the special file corresponding to a device or to a +partition (e.g /dev/hdXX for an IDE disk partition or +/dev/sdXX for a SCSI disk partition).
+ +

OPTIONS

+ + + +
+--rebuild-sb
+ + + +
+This option recovers the superblock on a Reiserfs partition. +Normally you only need this option if mount reports +"read_super_block: can't find a reiserfs file +system" and you are sure that a Reiserfs file system is +there. But remember that if you have used some partition +editor program and now you cannot find a filesystem, +probably something has gone wrong while repartitioning and +the start of the partition has been changed. If so, instead +of rebuilding the super block on a wrong place you should +find the correct start of the partition first.
+ + + +
+--check
+ + + +
+This default action checks filesystem consistency and +reports, but does not repair any corruption that it finds. +This option may be used on a read-only file system +mount.
+ + + +
+--fix-fixable
+ + + +
+This option recovers certain kinds of corruption that do not +require rebuilding the entire file system tree +(--rebuild-tree). Normally you only need this option +if the --check option reports "corruption that +can be fixed with --fix-fixable". This includes: +zeroing invalid data-block pointers, correcting st_size and +st_blocks for directories, and deleting invalid directory +entries.
+ + + +
+--rebuild-tree
+ + + +
+This option rebuilds the entire filesystem tree using leaf +nodes found on the device. Normally you only need this +option if the reiserfsck --check reports +"Running with --rebuild-tree is required". +You are strongly encouraged to make a backup copy of the +whole partition before attempting the --rebuild-tree +option. Once reiserfsck --rebuild-tree is started it +must finish its work (and you should not interrupt it), +otherwise the filesystem will be left in the unmountable +state to avoid subsequent data corruptions.
+ + + +
+--clean-attributes
+ + + +
+This option cleans reserved fields of Stat-Data items. There +were days when there were no extended attributes in +reiserfs. When they were implemented old partitions needed +to be cleaned first -- reiserfs code in the kernel did not +care about not used fields in its strutures. Thus if you +have used one of the old (pre-attrbutes) kernels with a +ReiserFS filesystem and you want to use extented attribues +there, you should clean the filesystem first.
+ + + +
+--journal device , -j +device
+ + + +
+This option supplies the device name of the current file +system journal. This option is required when the journal +resides on a separate device from the main data device +(although it can be avoided with the expert option +--no-journal-available).
+ + + +
+--adjust-size, -z
+ + + +
+This option causes reiserfsck to correct file sizes +that are larger than the offset of the last discovered byte. +This implies that holes at the end of a file will be +removed. File sizes that are smaller than the offset of the +last discovered byte are corrected by +--fix-fixable.
+ + + +
+--badblocks file, -B +file
+ + + +
+This option sets the badblock list to be the list of blocks +specified in the given `file`. The filesystem badblock list +is cleared before the new list is added. It can be used with +--fix-fixable to fix the list of badblocks (see +debugreiserfs -B). If the device has bad blocks, +every time it must be given with the --rebuild-tree +option.
+ + + +
+--logfile file, -l +file
+ + + +
+This option causes reiserfsck to report any +corruption it finds to the specified log file rather than to +stderr.
+ + + +
+--nolog, -n
+ + + +
+This option prevents reiserfsck from reporting any +kinds of corruption.
+ + + +
+--quiet, -q
+ + + +
+This option prevents reiserfsck from reporting its +rate of progress.
+ + + +
+--yes, -y
+ + + +
+This option inhibits reiserfsck from asking you for +confirmation after telling you what it is going to do. It +will assuem you confirm. For safety, it does not work with +the --rebuild-tree option.
+ + + +
+-a, -p
+ + + +
+These options are usually passed by fsck -A during the +automatic checking of those partitions listed in /etc/fstab. +These options cause reiserfsck to print some +information about the specified filesystem, to check if +error flags in the superblock are set and to do some +light-weight checks. If these checks reveal a corruption or +the flag indicating a (possibly fixable) corruption is found +set in the superblock, then reiserfsck switches to +the fix-fixable mode. If the flag indicating a fatal +corruption is found set in the superblock, then +reiserfsck finishes with an error.
+ + + +
+-V
+ + + +
+This option prints the reiserfsprogs version and then +exit.
+ + + +
+-r, -f
+ + + +
+These options are not yet operational and therefore are +ignored.
+ +

EXPERT OPTIONS

+ + + +
+DO NOT USE THESE OPTIONS UNLESS YOU KNOW WHAT YOU ARE DOING. +WE ARE NOT RESPONSIBLE IF YOU LOSE DATA AS A RESULT OF THESE +OPTIONS.
+ + + +
+--no-journal-available
+ + + +
+This option allows reiserfsck to proceed when the +journal device is not available. This option has no effect +when the journal is located on the main data device. NOTE: +after this operation you must use reiserfstune to +specify a new journal device.
+ + + +
+--scan-whole-partition, -S
+ + + +
+This option causes --rebuild-tree to scan the whole +partition but not only the used space on the +partition.
+ +

AN EXAMPLE OF USING reiserfsck

+ + + +
+1. You think something may be wrong with a reiserfs +partition on /dev/hda1 or you would just like to perform a +periodic disk check.
+ + + +
+2. Run reiserfsck --check --logfile check.log +/dev/hda1. If reiserfsck --check exits with +status 0 it means no errors were discovered.
+ + + +
+3. If reiserfsck --check exits with status 1 (and +reports about fixable corruptions) it means that you should +run reiserfsck --fix-fixable --logfile fixable.log +/dev/hda1.
+ + + +
+4. If reiserfsck --check exits with status 2 (and +reports about fatal corruptions) it means that you need to +run reiserfsck --rebuild-tree. If reiserfsck +--check fails in some way you should also run +reiserfsck --rebuild-tree, but we also encourage you +to submit this as a bug report.
+ + + +
+5. Before running reiserfsck --rebuild-tree, please +make a backup of the whole partition before proceeding. Then +run reiserfsck --rebuild-tree --logfile rebuild.log +/dev/hda1.
+ + + +
+6. If the reiserfsck --rebuild-tree step fails or +does not recover what you expected, please submit this as a +bug report. Try to provide as much information as possible +including your platform and Linux kernel version. We will +try to help solve the problem.
+ +

EXIT CODES

+ + + +
+reiserfsck uses the following exit codes:
+0
- No errors.
+1
- File system errors corrected.
+2
- Reboot is needed.
+4
- File system fatal errors left uncorrected,
+reiserfsck --rebuild-tree
needs to be launched.
+6
- File system fixable errors left uncorrected,
+reiserfsck --fix-fixable
needs to be launched.
+8
- Operational error.
+16
- Usage or syntax error.
+ +

AUTHOR

+ + + +
+This version of reiserfsck has been written by Vitaly +Fertman <vitaly@namesys.com>.
+ +

BUGS

+ + + +
+Please report bugs to the ReiserFS developers +<reiserfs-dev@namesys.com>, providing as much +information as possible--your hardware, kernel, patches, +settings, all printed messages, the logfile; check the +syslog file for any related information.
+ +

TODO

+ + + +
+Faster recovering, signal handling.
+ +

SEE ALSO

+ + + +
+mkreiserfs(8), reiserfstune(8) +resize_reiserfs(8), +debugreiserfs(8),
+
+ + --- reiserfsprogs-3.6.19.orig/debian/html/reiserfstune.html +++ reiserfsprogs-3.6.19/debian/html/reiserfstune.html @@ -0,0 +1,369 @@ + + + + +REISERFSTUNE + + + +

REISERFSTUNE

+NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+POSSIBLE SCENARIOS OF USING REISERFSTUNE:
+AUTHOR
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+reiserfstune - The tuning tool for the ReiserFS filesystem.
+ +

SYNOPSIS

+ + + +
+reiserfstune [ -f ] [ -j | +--journal-device FILE ] [ +--no-journal-available ] [ +--journal-new-device FILE ] [ +--make-journal-standard ] [ -s | +--journal-new-size N ] [ -o | +--journal-new-offset N ] [ -t | +--trans-max-size N ] [ -b | +--add-badblocks file ] [ -B | +--badblocks file ] [ -u | --uuid +UUID ] [ -l | --label LABEL ] +device
+ +

DESCRIPTION

+ + + +
+reiserfstune is used for tuning the ReiserFS. It can +change two journal parameters (the journal size and the +maximum transaction size), and it can move the journal's +location to a new specified block device. (The old +ReiserFS's journal may be kept unused, or discarded at the +user's option.) Besides that reiserfstune can store +the bad block list to the ReiserFS and set UUID and LABEL. +Note: At the time of writing the relocated journal was +implemented for a special release of ReiserFS, and was not +expected to be put into the mainstream kernel until +approximately Linux 2.5. This means that if you have the +stock kernel you must apply a special patch. Without this +patch the kernel will refuse to mount the newly modified +file system. We will charge $25 to explain this to you if +you ask us why it doesn't work.
+ + + +
+Perhaps the most interesting application of this code is to +put the journal on a solid state disk.
+ + + +
+device
+ + + +
+is the special file corresponding to the newly specified +block device (e.g /dev/hdXX for IDE disk partition or +/dev/sdXX for the SCSI disk partition).
+ +

OPTIONS

+ + + +
+-j | --journal-device FILE
+ + + +
+FILE is the file name of the block device the file +system has the current journal (the one prior to running +reiserfstune) on. This option is required when the journal +is already on a separate device from the main data device +(although it can be avoided with +--no-journal-available). If you don't specify journal +device by this option, reiserfstune suppose that journal is +on main device.
+ + + +
+--no-journal-available
+ + + +
+allows reiserfstune to continue when the current +journal's block device is no longer available. This might +happen if a disk goes bad and you remove it (and run +fsck).
+ + + +
+--journal-new-device FILE
+ + + +
+FILE is the file name of the block device which will +contain the new journal for the file system. If you don't +specify this, reiserfstune supposes that journal device +remains the same.
+ + + +
+-s | --journal-new-size N
+ + + +
+N is the size parameter for the new journal. When +journal is to be on a separate device - its size defaults to +number of blocks that device has. When journal is to be on +the same device as the filesytem - its size defaults to +amount of blocks allocated for journal by mkreiserfs +when it created the filesystem. Minimum is 513 for both +cases.
+ + + +
+-o | --journal-new-offset +N
+ + + +
+N is an offset in blocks where journal will starts +from when journal is to be on a separate device. Default is +0. Has no effect when journal is to be on the same device as +the filesystem. Most users have no need to use this feature. +It can be used when you want the journals from multiple +filesystems to reside on the same device, and you don't want +to or cannot partition that device.
+ + + +
+-t | --trans-max-size +N
+ + + +
+N is the maximum transaction size parameter for the +new journal. The default, and max possible, value is 1024 +blocks. It should be less than half the size of the journal. +If specifed incorrectly, it will be adjusted.
+ + + +
+-b | --add-badblocks file
+ + + +
+File is the file name of the file that contains the +list of blocks to be marked as bad on the fs. The list is +added to the fs list of bad blocks.
+ + + +
+-B | --badblocks file
+ + + +
+File is the file name of the file that contains the +list of blocks to be marked as bad on the fs. The bad block +list on the fs is cleared before the list specified in the +File is added to the fs.
+ + + +
+-f | --force
+ + + +
+Normally reiserfstune will refuse to change a journal +of a file system that was created before this journal +relocation code. This is because if you change the journal, +you cannot go back (without special option +--make-journal-standard) to an old kernel that lacks +this feature and be able to use your filesytem. This option +forces it to do that. Specified more than once it allows to +avoid asking for confirmation.
+ + + +
+--make-journal-standard
+ + + +
+As it was mentioned above, if your file system has +non-standard journal, it can not be mounted on the kernel +without journal relocation code. The thing can be changed, +the only condition is that there is reserved area on main +device of the standard journal size 8193 blocks (it will be +so for instance if you convert standard journal to +non-standard). Just specify this option when you relocate +journal back, or without relocation if you already have it +on main device.
+ + + +
+-u | --uuid UUID
+ + + +
+Set the universally unique identifier ( UUID ) of the +filesystem to UUID (see also uuidgen(8)). The +format of the UUID is a series of hex digits separated by +hypthens, like this: +"c1b9d5a2-f162-11cf-9ece-0020afc76f16".
+ + + +
+-l | --label LABEL
+ + + +
+Set the volume label of the filesystem. LABEL can be +at most 16 characters long; if it is longer than 16 +characters, reiserfstune will truncate it.
+ +

POSSIBLE SCENARIOS OF USING REISERFSTUNE:

+ + + +
+1. You have ReiserFS on /dev/hda1, and you wish to have it +working with its journal on the device +/dev/journal
+ + + +
+
+       boot kernel patched with special "relocatable journal support" patch
+       reiserfstune /dev/hda1 --journal-new-device /dev/journal -f
+       mount /dev/hda1 and use.
+       You would like to change max transaction size to 512 blocks
+       reiserfstune -t 512 /dev/hda1
+       You would like to use your file system on another kernel that doesn't
+       contain relocatable journal support.
+       umount /dev/hda1
+       reiserfstune /dev/hda1 -j /dev/journal --journal-new-device /dev/hda1 --make-journal-standard
+       mount /dev/hda1 and use.
+
+2. You would like to have ReiserFS on /dev/hda1 and to be able to
+switch between different journals including journal located on the
+device containing the filesystem.
+
+       boot kernel patched with special "relocatable journal support" patch
+       mkreiserfs /dev/hda1
+       you got solid state disk (perhaps /dev/sda, they typically look like scsi disks)
+       reiserfstune --journal-new-device /dev/sda1 -f /dev/hda1
+       Your scsi device dies, it is three in the morning, you have an extra IDE device
+       lying around
+       reiserfsck --no-journal-available /dev/hda1
+       or
+       reiserfsck --rebuild-tree --no-journal-available /dev/hda1
+       reiserfstune --no-journal-available --journal-new-device /dev/hda1 /dev/hda1
+       using /dev/hda1 under patched kernel
+
+ +

AUTHOR

+ + + +
+This version of reiserfstune has been written by +Vladimir Demidov <vova@namesys.com> and Edward +Shishkin <edward@namesys.com>.
+ +

BUGS

+ + + +
+Please report bugs to the ReiserFS developers +<reiserfs-dev@namesys.com>, providing as much +information as possible--your hardware, kernel, patches, +settings, all printed messages; check the syslog file for +any related information.
+ +

SEE ALSO

+ + + +
+reiserfsck(8), debugreiserfs(8), +mkreiserfs(8)
+
+ + --- reiserfsprogs-3.6.19.orig/debian/html/resize_reiserfs.html +++ reiserfsprogs-3.6.19/debian/html/resize_reiserfs.html @@ -0,0 +1,224 @@ + + + + +RESIZE_REISERFS + + + +

RESIZE_REISERFS

+NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+RETURN VALUES
+EXAMPLES
+AUTHOR
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+resize_reiserfs - resizer tool for the ReiserFS filesystem
+ +

SYNOPSIS

+ + + +
+resize_reiserfs [ -s +[+|-]size[K|M|G] ] +[ -j dev ] [ -fqv ] +device
+ +

DESCRIPTION

+ + + +
+The resize_reiserfs tool resizes an unmounted +reiserfs file system. It enlarges or shrinks a reiserfs +file system located on a device so that it will have +size bytes or size=old_size +(-) size bytes if +the + or - prefix is used. If the -s option is not +specified, the filesystem will be resized to fill the given +device. The size parameter may have one of the +optional modifiers K, M, G, which means +the size parameter is given in kilo-, mega-, +gigabytes respectively.
+ + + +
+The resize_reiserfs program does not manipulate the +size of the device. If you wish to enlarge a filesystem, you +must make sure you expand the underlying device first. This +can be done using cfdisk(8) for partitions, by +deleting the partition and recreating it with a larger size +(assuming there is free space after the partition in +question). Make sure you re-create it with the same starting +disk cylinder as before! Otherwise, the resize operation +will certainly not work, and you may lose your entire +filesystem.
+ + + +
+The resize_reiserfs program allows to grow a reiserfs +on-line if there is a free space on block +device.
+ + + +
+If you wish to shrink a reiserfs partition, first use +resize_reiserfs to shrink the file system. You may +then use cfdisk(8) to shrink the device. When +shrinking the size of the device, make sure you do not make +it smaller than the reduced size of the reiserfs +filesystem.
+ +

OPTIONS

+ + + +
+-s [+|-]size
+ + + +
+Set the new size in bytes.
+ + + +
+-j dev
+ + + +
+Set the journal device name.
+ + + +
+-f
+ + + +
+Force, do not perform checks.
+ + + +
+-q
+ + + +
+Do not print anything but error messages.
+ + + +
+-v
+ + + +
+Turn on extra progress status messages +(default).
+ +

RETURN VALUES

+ + + +
+0 Resizing successful.
+ + + +
+-1 Resizing not successful.
+ +

EXAMPLES

+ + + +
+The following example shows how to test +resize_reiserfs. Suppose 2Gb reiserfs filesystem is +created on the device /dev/hda8 and is mounted on /mnt. For +shrinking the device we need to unmount it first, then run +resize_reiserfs with a size parameter (in this +case -1Gb):
+ + + +
+df
+umount /mnt
+resize_reiserfs -s -1G /dev/hda8
+mount /dev/hda8 /mnt
+df /mnt
+ +

AUTHOR

+ + + +
+This version of resize_reiserfs has been written by +Alexander Zarochentcev <zam@namesys.com>.
+ +

BUGS

+ + + +
+Please report bugs to the ReiserFS developers +<reiserfs-dev@namesys.com>, providing as much +information as possible--your hardware, kernel, patches, +settings, all printed messages; check the syslog file for +any related information.
+ +

SEE ALSO

+ + + +
+cfdisk(8), reiserfsck(8), +debugreiserfs(8)
+
+ + --- reiserfsprogs-3.6.19.orig/debian/html/fs.html +++ reiserfsprogs-3.6.19/debian/html/fs.html @@ -0,0 +1,173 @@ + + + + + + +ReiserFS -- a filesystem based on balanced tree algorithms + + + + + + + + + +

+

NAME

+

+ReiserFS -- a file system based on balanced tree algorithms. + +

+


+

DESCRIPTION

+

+ReiserFS is a filesystem based on plug-in based object-oriented balanced +tree algorithms. See http://www.namesys.com +for a full treatment of ReiserFS. + +

+


+

INSTALLATION STEPS

+ +

+


+

CONFIGURATION

+

+This section will try to describe what you can vary when using ReiserFS. +ReiserFS has several mount options to play with. + +

+
notail
+

+causes filesystem to work faster, especially for small appends to small +files. But it wastes more disk space in that case. + +

nolog
+

+turns off journalling feature of ReiserFS. This gives performance gain for +some applications, but you lose fault tolerance. That is, you must properly +umount your disk, or else you will have to repair the filesystem using reiserfsck(8) on the subsequent boot. + +

resize
+

+used for on-line ReiserFS resizing. To grow a ReiserFS online, use + +

+

    mount -o remount,resize=NEW_BLOCKCOUNT /mnt
+
+
replayonly
+

+used internally by reiserfsck(8) to replay the journal before doing filesystem check. (No actual mount +happens if you try to mount ReiserFS with this option, only the log +replay.) + +

+

+


+

AUTHOR

+

+See http://www.namesys.com +for a current list, there are many, Vladimir Saveljev, Igor, and Hans +Reiser are among them. Ecila.org contributed the funding that started this +going. + +

+


+

BUGS

+

+See the patches on the DOWNLOAD page and the Mail Li. + +

+Please, report bugs to ReiserFS Developers Mailing List <reiserfs-dev@namesys.com> + + +

+


+

AVAILABILITY

+

+ReiserFS sources are available for anonymous ftp from one of our mirrors +listed at http://namesys.com + +

+


+

SEE ALSO

+

+mkreiserfs(8), reiserfsck(8) + + + + + + --- reiserfsprogs-3.6.19.orig/debian/html/mkreiserfs.html +++ reiserfsprogs-3.6.19/debian/html/mkreiserfs.html @@ -0,0 +1,324 @@ + + + + +MKREISERFS + + + +

MKREISERFS

+NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+AUTHOR
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+mkreiserfs - The create tool for the Linux ReiserFS filesystem.
+ +

SYNOPSIS

+ + + +
+mkreiserfs [ -dfV ] [ -b | +--block-size N ] [ -h | --hash +HASH ] [ -u | --uuid UUID ] [ +-l | --label LABEL ] [ --format +FORMAT ] [ -q | --quiet ] [ -j | +--journal-device FILE ] [ -s | +--journal-size N ] [ -o | +--journal-offset N ] [ -t | +--transaction-max-size N ] [ -B | +--badblocks file ] device [ +filesystem-size ]
+ +

DESCRIPTION

+ + + +
+mkreiserfs creates a Linux ReiserFS filesystem on a +device (usually a disk partition).
+ + + +
+device
+ + + +
+is the special file corresponding to a device or to a +partition (e.g /dev/hdXX for an IDE disk partition or +/dev/sdXX for a SCSI disk partition).
+ + + +
+filesystem-size
+ + + +
+is the size in blocks of the filesystem. If omitted, +mkreiserfs will automatically set it.
+ +

OPTIONS

+ + + +
+-b | --block-size N
+ + + +
+N is block size in bytes. It may only be set to a +power of 2 within the 512-8192 interval.
+ + + +
+-h | --hash HASH
+ + + +
+HASH specifies which hash function will sort the +names in the directories. Choose from r5, rupasov, or tea. +r5 is the default one.
+ + + +
+--format FORMAT
+ + + +
+FORMAT specifies the format for the new filsystem. +Choose format 3.5 or 3.6. If none is specified +mkreiserfs will create format 3.6 if running kernel +is 2.4 or higher, and format 3.5 if kernel 2.2 is running, +and will refuse creation under all other +kernels.
+ + + +
+-u | --uuid UUID
+ + + +
+Sets the Universally Unique IDentifier of the filesystem to +UUID (see also uuidgen(8)). The format of the +UUID is a series of hex digits separated by hypthens, +e.g.: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". If +the option is skipped, mkreiserfs will by default +generate a new UUID.
+ + + +
+-l | --label LABEL
+ + + +
+Sets the volume label of the filesystem. LABEL can at +most be 16 characters long; if it is longer than 16 +characters, mkreiserfs will truncate it.
+ + + +
+-q | --quiet
+ + + +
+Sets mkreiserfs to work quietly without producing +messages, progress or questions. It is useful, but only for +use by end users, if you run mkreiserfs in a +script.
+ + + +
+-j | --journal-device FILE
+ + + +
+FILE is the name of the block device on which is to +be places the filesystem journal.
+ + + +
+-o | --journal-offset N
+ + + +
+N is the offset where the journal starts when it is +to be on a separate device. Default is 0. N has no +effect when the journal is to be on the host +device.
+ + + +
+-s | --journal-size N
+ + + +
+N is the size of the journal in blocks. When the +journal is to be on a separate device, its size defaults to +the number of blocks that the device has. When journal is to +be on the host device, its size defaults to 8193 and the +maximal possible size is 32749 (for blocksize 4k). The +minimum size is 513 blocks (whether the journal is on the +host or on a separate device).
+ + + +
+-t | --transaction-max-size +N
+ + + +
+N is the maximum transaction size parameter for the +journal. The default, and max possible, value is 1024 +blocks. It should be less than half the size of the journal. +If specified incorrectly, it will automatically be +adjusted.
+ + + +
+-B | --badblocks file
+ + + +
+File is the file name of the file that contains the +list of blocks to be marked as bad on the filesystem. This +list can be created by /sbin/badblocks -b block-size +device.
+ + + +
+-f
+ + + +
+Forces mkreiserfs to continue even when the device is +the whole disk, looks mounted, or is not a block device. If +-f is specified more than once, it allows the user to +avoid asking for confirmation.
+ + + +
+-d
+ + + +
+Sets mkreiserfs to print debugging information during +mkreiserfs.
+ + + +
+-V
+ + + +
+Prints the version and then exits.
+ +

AUTHOR

+ + + +
+This version of mkreiserfs has been written by Edward +Shishkin <edward@namesys.com>.
+ +

BUGS

+ + + +
+Please report bugs to the ReiserFS developers +<reiserfs-dev@namesys.com>, providing as much +information as possible--your hardware, kernel, patches, +settings, all printed messages; check the syslog file for +any related information.
+ +

SEE ALSO

+ + + +
+reiserfsck(8), debugreiserfs(8), +reiserfstune(8)
+
+ + --- reiserfsprogs-3.6.19.orig/debian/html/debugreiserfs.html +++ reiserfsprogs-3.6.19/debian/html/debugreiserfs.html @@ -0,0 +1,269 @@ + + + + +DEBUGREISERFS + + + +

DEBUGREISERFS

+NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+AUTHOR
+BUGS
+SEE ALSO
+ +
+ + + +

NAME

+ + +
+debugreiserfs - The debugging tool for the ReiserFS filesystem.
+ +

SYNOPSIS

+ + + +
+debugreiserfs [ -dDJmoqpuSV ] [ -j +device ] [ -B file ] [ -1 +N ]
+ + + +
+device
+ +

DESCRIPTION

+ + + +
+debugreiserfs sometimes helps to solve problems with +reiserfs filesystems. When run without options it prints the +super block of the ReiserFS filesystem found on the +device.
+ + + +
+device
+ + + +
+is the special file corresponding to the device (e.g +/dev/hdXX for an IDE disk partition or /dev/sdXX for a SCSI +disk partition).
+ +

OPTIONS

+ + + +
+-j device
+ + + +
+prints the contents of the journal. The option -p allows it +to pack the journal with other metadata into the +archive.
+ + + +
+-J
+ + + +
+prints the journal header.
+ + + +
+-d
+ + + +
+prints the formatted nodes of the internal tree of the +filesystem.
+ + + +
+-D
+ + + +
+prints the formatted nodes of all used blocks of the +filesystem.
+ + + +
+-m
+ + + +
+prints the contents of the bitmap (slightly +useful).
+ + + +
+-o
+ + + +
+prints the objectid map (slightly useful).
+ + + +
+-B file
+ + + +
+takes the list of bad blocks stored in the internal ReiserFS +tree and translates it into an ascii list written to the +specified file.
+ + + +
+-1 blocknumber
+ + + +
+prints the specified block of the filesystem.
+ + + +
+-p
+ + + +
+extracts the filesystem's metadata with debugreiserfs +-p /dev/xxx | gzip -c > xxx.gz. None of your data are +packed unless a filesystem corruption presents when the +whole block having this corruption is packed. You send us +the output, and we use it to create a filesystem with the +same strucure as yours using debugreiserfs -u. When +the data file is not too large, this usually allows us to +quickly reproduce and debug the problem.
+ + + +
+-u
+ + + +
+builds the ReiserFS filesystem image with gunzip -c xxx.gz | +debugreiserfs -u /dev/image of the previously packed +metadata with debugreiserfs -p. The result image is +not the same as the original filesystem, because mostly only +metadata were packed with debugreiserfs -p, but the +filesystem structure is completely recreated.
+ + + +
+-S
+ + + +
+When -S is not specified -p deals with blocks marked used in +the filesystem bitmap only. With this option set +debugreiserfs will work with the entire +device.
+ + + +
+-q
+ + + +
+When -p is in use, suppress showing the speed of +progress.
+ +

AUTHOR

+ + + +
+This version of debugreiserfs has been written by +Vitaly Fertman <vitaly@namesys.com>.
+ +

BUGS

+ + + +
+Please report bugs to the ReiserFS developers +<reiserfs-dev@namesys.com>, providing as much +information as possible--your hardware, kernel, patches, +settings, all printed messages; check the syslog file for +any related information.
+ +

SEE ALSO

+ + + +
+reiserfsck(8), mkreiserfs(8)
+
+ + --- reiserfsprogs-3.6.19.orig/debian/control +++ reiserfsprogs-3.6.19/debian/control @@ -0,0 +1,39 @@ +Source: reiserfsprogs +Section: admin +Priority: optional +Maintainer: Ed Boraas +Uploaders: Domenico Andreoli +Build-Depends: debhelper (>= 4.2.0), uuid-dev +Standards-Version: 3.7.2 + +Package: reiserfsprogs +Architecture: any +Depends: ${shlibs:Depends} +Description: User-level tools for ReiserFS filesystems + This package contains utilities to create, check, resize, and debug + ReiserFS filesystems. + . + Homepage: http://www.namesys.com/ + +Package: reiserfsprogs-udeb +XC-Package-Type: udeb +Section: debian-installer +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Description: User-level tools for ReiserFS filesystems + This installer module contains utilities to check, resize, and debug + ReiserFS filesystems. + . + Homepage: http://www.namesys.com/ + +Package: mkreiserfs-udeb +XC-Package-Type: udeb +Section: debian-installer +Priority: standard +Architecture: any +Depends: ${shlibs:Depends} +Description: User-level tools for ReiserFS filesystems + This installer module contains the utility to create ReiserFS filesystems. + . + Homepage: http://www.namesys.com/ --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs.install +++ reiserfsprogs-3.6.19/debian/reiserfsprogs.install @@ -0,0 +1,5 @@ +sbin/mkreiserfs sbin/ +sbin/reiserfsck sbin/ +sbin/resize_reiserfs sbin/ +sbin/debugreiserfs sbin/ +sbin/reiserfstune sbin/ --- reiserfsprogs-3.6.19.orig/debian/rules +++ reiserfsprogs-3.6.19/debian/rules @@ -0,0 +1,83 @@ +#! /usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=4 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +DEB=reiserfsprogs +SMALLUDEB=mkreiserfs-udeb +FULLUDEB=reiserfsprogs-udeb + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --sbindir=/sbin + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + dh_install --sourcedir=debian/tmp + + ln debian/$(DEB)/sbin/mkreiserfs debian/$(DEB)/sbin/mkfs.reiserfs + ln debian/$(SMALLUDEB)/sbin/mkreiserfs debian/$(SMALLUDEB)/sbin/mkfs.reiserfs + install -m 755 debian/fsck.reiserfs debian/$(DEB)/sbin + install -m 644 `pwd`/debian/$(DEB).lintian-overrides \ + `pwd`/debian/$(DEB)/usr/share/lintian/overrides/$(DEB) + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_link -p$(DEB) usr/share/man/man8/mkreiserfs.8.gz usr/share/man/man8/mkfs.reiserfs.8.gz + dh_link -p$(DEB) usr/share/man/man8/reiserfsck.8.gz usr/share/man/man8/fsck.reiserfs.8.gz + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs.lintian-overrides +++ reiserfsprogs-3.6.19/debian/reiserfsprogs.lintian-overrides @@ -0,0 +1,2 @@ +reiserfsprogs: package-contains-hardlink sbin/fsck.reiserfs +reiserfsprogs: package-contains-hardlink sbin/mkreiserfs --- reiserfsprogs-3.6.19.orig/debian/quietmkfs.diff.nolongerapplied +++ reiserfsprogs-3.6.19/debian/quietmkfs.diff.nolongerapplied @@ -0,0 +1,65 @@ +--- reiserfsprogs-3.6.6.orig/mkreiserfs/mkreiserfs.c 2003-04-22 07:56:50.000000000 -0600 ++++ reiserfsprogs-3.6.6/mkreiserfs/mkreiserfs.c 2003-04-25 23:01:03.000000000 -0600 +@@ -81,7 +81,8 @@ + " disk, not block device or mounted partition;\n" + " specified twice, do not ask for confirmation\n" + " -d | --debug print debugging information during mkreiser\n" +- " -V print version and exit\n", ++ " -V print version and exit\n" ++ " -q | --quiet do not output sponsorship message at completion\n", + program_name); + exit (1); + } +@@ -91,6 +92,7 @@ + int Create_default_journal = 1; + int Block_size = 4096; + int DEBUG_MODE = 0; ++int quiet = 0; + + /* size of journal + 1 block for journal header */ + unsigned long Journal_size = 0; +@@ -546,11 +548,12 @@ + {"uuid", required_argument, 0, 'u'}, + {"label", required_argument, 0, 'l'}, + {"format", required_argument, &flag, 1}, ++ {"quiet", no_argument, 0, 'q'}, + {0, 0, 0, 0} + }; + int option_index; + +- c = getopt_long (argc, argv, "b:j:s:t:o:h:u:l:Vfd", ++ c = getopt_long (argc, argv, "b:j:s:t:o:h:u:l:Vfdq", + options, &option_index); + if (c == -1) + break; +@@ -599,7 +602,7 @@ + break; + + case 'V': +- exit (1); ++ exit (0); + + case 'f': + force ++; +@@ -620,7 +623,11 @@ + case 'l': + LABEL = optarg; + break; +- ++ ++ case 'q': ++ quiet = 1; ++ break; ++ + default: + print_usage_and_exit(); + } +@@ -712,7 +719,7 @@ + sync (); + printf ("ok\n"); + +- if (DEBUG_MODE) ++ if (DEBUG_MODE || quiet) + return 0; + printf ("\nThe Defense Advanced Research Projects Agency (DARPA) is the primary sponsor of" + "\nReiser4. DARPA does not endorse this project; it merely sponsors it." --- reiserfsprogs-3.6.19.orig/debian/mkfs.reiserfs +++ reiserfsprogs-3.6.19/debian/mkfs.reiserfs @@ -0,0 +1,4 @@ +#! /bin/sh + +# Be sure to invoke mkreiserfs noninteractively for the debian-installer +exec /sbin/mkreiserfs -q "$@" --- reiserfsprogs-3.6.19.orig/debian/changelog +++ reiserfsprogs-3.6.19/debian/changelog @@ -0,0 +1,418 @@ +reiserfsprogs (1:3.6.19-6) unstable; urgency=low + + * Remove linux-kernel-headers from Build-Depends. + * Merge from Ubuntu: + - definitively drop inclusion of asm/unaligned.h (closes: #429006). + + -- Domenico Andreoli Tue, 17 Jul 2007 02:26:04 +0200 + +reiserfsprogs (1:3.6.19-5) unstable; urgency=low + + * Added linux-kernel-headers to Build-Depends (closes: #429006). + + -- Domenico Andreoli Wed, 04 Jul 2007 00:56:48 +0200 + +reiserfsprogs (1:3.6.19-4ubuntu2) feisty; urgency=low + + * Changed man page for mkreiserfs to note that block sizes other than + 4096 bytes are NOT supported by current kernels + + -- Phillip Susi Wed, 13 Dec 2006 14:23:15 -0500 + +reiserfsprogs (1:3.6.19-4ubuntu1) feisty; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu change: + - include/reiserfs_fs.h: Do not #include , FTBFS fix. + + -- Martin Pitt Mon, 30 Oct 2006 10:45:35 +0100 + +reiserfsprogs (1:3.6.19-4) unstable; urgency=low + + * fsck.reiserfs is now a script invoking reiserfsck -q (closes: #385155). + + -- Domenico Andreoli Thu, 28 Sep 2006 13:08:24 +0200 + +reiserfsprogs (1:3.6.19-3ubuntu1) edgy; urgency=low + + * include/reiserfs_fs.h: Do not #include . It does not + exist any more and should not be necessary on our architectures. Instead + define {get,put}_aligned macros as naive macros. Fixes FTBFS. + Closes: LP#65842 + + -- Martin Pitt Fri, 13 Oct 2006 14:41:06 +0200 + +reiserfsprogs (1:3.6.19-3) unstable; urgency=low + + * Fixed typos in man pages (closes: #371849, #371850, #371851, #371852). + + -- Domenico Andreoli Fri, 30 Jun 2006 12:29:49 +0200 + +reiserfsprogs (1:3.6.19-2) unstable; urgency=low + + * Fixed typo in reiserfstune's manpage (closes: #309512). + * Removed obsolete NOTE in reiserfsprogs' package description + (closes: #249204). + * Applied patch to make reiserfsck display volume labels (closes: #345948). + * Updated HTML man pages from upstream site. attrs mount option is + now documented in mount-options.html (closes: #270006). + + -- Domenico Andreoli Wed, 1 Mar 2006 18:08:55 +0100 + +reiserfsprogs (1:3.6.19-1) unstable; urgency=low + + * New upstream release: + - fixed error message for invalid device (closes: #266648). + + -- Domenico Andreoli Fri, 15 Oct 2004 13:43:08 +0200 + +reiserfsprogs (1:3.6.18-4) unstable; urgency=low + + * Uses debhelper to build udebs. Cleaned and updated the build process. + + -- Domenico Andreoli Fri, 3 Sep 2004 18:48:12 +0200 + +reiserfsprogs (1:3.6.18-3) unstable; urgency=low + + * Changed header used to guess the architecture for hack applied in -2. + + -- Domenico Andreoli Sun, 8 Aug 2004 21:57:52 +0200 + +reiserfsprogs (1:3.6.18-2) unstable; urgency=low + + * Applied hack to build also on powerpc with broken linux-kernel-headers. + + -- Domenico Andreoli Sun, 8 Aug 2004 14:44:30 +0200 + +reiserfsprogs (1:3.6.18-1) unstable; urgency=low + + * New upstream release. + + -- Domenico Andreoli Tue, 3 Aug 2004 19:29:12 +0200 + +reiserfsprogs (1:3.6.17-2) unstable; urgency=low + + * Added build dependency on uuid-dev (closes: #254480). + + -- Domenico Andreoli Tue, 15 Jun 2004 10:27:59 +0200 + +reiserfsprogs (1:3.6.17-1) unstable; urgency=low + + * New upstream release. + * Updated and fixed debian/copyright (closes: #246687). + + -- Domenico Andreoli Fri, 14 May 2004 12:57:41 +0200 + +reiserfsprogs (1:3.6.14-3) unstable; urgency=low + + * Removed postinst and prerm, used to manage hard links to mkreiserfs + and reiserfsck. + + -- Domenico Andreoli Tue, 20 Apr 2004 11:31:44 +0200 + +reiserfsprogs (1:3.6.14-2) unstable; urgency=low + + * Hard links to /sbin/mkreiserfs and /sbin/reiserfsck are now also + in the reiserfsprogs package (closes: #244761). + + -- Domenico Andreoli Tue, 20 Apr 2004 00:46:01 +0200 + +reiserfsprogs (1:3.6.14-1) unstable; urgency=low + + * New upstream release. + + -- Domenico Andreoli Fri, 19 Mar 2004 11:26:55 +0100 + +reiserfsprogs (1:3.6.13-1) unstable; urgency=low + + * New upstream release: + - should fix checking of read-only filesystems (closes: #233219) + + -- Domenico Andreoli Wed, 18 Feb 2004 00:49:23 +0100 + +reiserfsprogs (1:3.6.12-1) unstable; urgency=low + + * New upstream release: + - fixed some non-4k-block-size issues (closes: #212517) + * Added new uploader (me) + * reiserfsck is now built statically to work around known bug + (closes: #230482) + + -- Domenico Andreoli Sat, 14 Feb 2004 16:40:39 +0100 + +reiserfsprogs (1:3.6.11-1.1) unstable; urgency=low + + * NMU with Ed's permission. + * Applied patch from "Straightening out ioctl() size confusion" + discussion (closes: #219627). + * Fixed interactive invocation of mkreiserfs by d-i (closes: #213314). + + -- Domenico Andreoli Mon, 22 Dec 2003 15:13:54 +0100 + +reiserfsprogs (1:3.6.11-1) unstable; urgency=low + + * New upstream release (Closes: #204288) + * Build .udeb packages for debian-installer (Closes: #203002) + * Superblock check behavior seems to be fixed upstream + * -y option incorporated upstream + + -- Ed Boraas Tue, 12 Aug 2003 21:40:35 -0600 + +reiserfsprogs (1:3.6.6-3) unstable; urgency=low + + * Fix typo in superblock fix + + -- Ed Boraas Wed, 30 Apr 2003 11:01:23 -0600 + +reiserfsprogs (1:3.6.6-2) unstable; urgency=low + + * Do not check superblock journal parameters unless + they're expected to be correct (Closes: #191050) + + -- Ed Boraas Wed, 30 Apr 2003 06:51:26 -0600 + +reiserfsprogs (1:3.6.6-1) unstable; urgency=low + + * New upstream release (Closes: #187611) + * Upstream now includes a "proper" replacement for + David Kimdon's patches + * Update HTML "man" pages + + -- Ed Boraas Fri, 25 Apr 2003 22:55:17 -0600 + +reiserfsprogs (1:3.6.4-5) unstable; urgency=low + + * Include upstream README + * Output sponsorship message once again, if + mkreiserfs is invoked without --quiet + * Refer to licensing clarifications from 'copyright' + * -V exits returning 0 (Closes: #183868) + + -- Ed Boraas Wed, 23 Apr 2003 16:16:16 -0600 + +reiserfsprogs (1:3.6.4-4) unstable; urgency=low + + * Rebuild as non-native package (oops) + (Closes: #185723) + + -- Ed Boraas Sat, 22 Mar 2003 16:29:14 -0700 + +reiserfsprogs (1:3.6.4-3) unstable; urgency=low + + * Add -y option [Thanks, Tommy Pettersson!] + (Closes: #130075) + + -- Ed Boraas Sun, 16 Mar 2003 11:21:03 -0700 + +reiserfsprogs (1:3.6.4-2) unstable; urgency=low + + * Apply patches from David Kimdon to allow build on + hppa and sparc -- thanks, David! + (Closes: #170619) + * Remove over-verbose startup warning in reiserfsck + (Closes: #171121) + * Adjust reiserfsck banner to fit on one line, instead of + three (Closes: #119033) + * mkreiserfs advertising removed + (Closes: #152547) + * Build as non-native package (oops) + * Update to policy 3.5.8 + * Refer to /usr/share/common-licenses in debian/copyright + + -- Ed Boraas Mon, 6 Jan 2003 19:31:47 -0700 + +reiserfsprogs (1:3.6.4-1) unstable; urgency=low + + * New upstream release + * Corruption on cancelled reiserfsck reported fixed + (Closes: #155241) + + -- Ed Boraas Tue, 19 Nov 2002 07:10:14 -0700 + +reiserfsprogs (1:3.6.3-1) unstable; urgency=low + + * New upstream release (Closes: #159861) + + -- Ed Boraas Sun, 8 Sep 2002 15:20:51 -0600 + +reiserfsprogs (1:3.6.2-1) unstable; urgency=low + + * New upstream release (Closes: #153709) + * Included many more html docs from the ReiserFS website + * New (saner) version numbering scheme requires an epoch + + -- Ed Boraas Mon, 29 Jul 2002 07:18:54 -0600 + +reiserfsprogs (3.x.1b-1) unstable; urgency=low + + * New upstream release (Closes: #139315) + * Last version built fine on ia64, assuming this one will as well + (Closes: #124121) + * Make reiserfsck -y do nothing (upstream explicitly ignores -y) + (Closes: #140014) + + -- Ed Boraas Sat, 23 Mar 2002 15:00:37 -0700 + +reiserfsprogs (3.x.1a-2) unstable; urgency=high + + * Reinstate mkreiserfs options "-v" and "-q" (Closes: #137755) + * Urgency=high because this bug breaks boot floppies + + -- Ed Boraas Sun, 10 Mar 2002 15:10:56 -0700 + +reiserfsprogs (3.x.1a-1) unstable; urgency=medium + + * New upstream release (Closes: #128512) + * Appears not to suffer from spurious 'device to small' errors + (Closes: #110902) + * Verified able to create filesystems on loopbacks >= 2GB + (Closes: #120966) + * reiserfsck is much more robust in error-handling (Closes: #122230) + * mkreiserfs correctly makes filesystems in files, when forced + to do so (Closes: #128801) + * New reiserfsck is clear about when to use options other than + --check (Closes: #128803) + * user_confirmed() calls fixed in mkreiserfs.c to account for + newlines (Closes: #130149) + + -- Ed Boraas Sat, 9 Feb 2002 13:48:17 -0700 + +reiserfsprogs (3.x.0j-7) unstable; urgency=low + + * Set "Architecture: any" (Closes: #114824) + + -- Ed Boraas Tue, 9 Oct 2001 06:40:42 -0600 + +reiserfsprogs (3.x.0j-6) unstable; urgency=low + + * reiserfsck now recorgnizes (and ignores) a "-f" option + as in 3.x.0k-pre (Closes: #96397) + + -- Ed Boraas Mon, 30 Jul 2001 21:23:11 -0600 + +reiserfsprogs (3.x.0j-5) unstable; urgency=low + + * Fix typo in resize_reiserfs(8) manpage (Closes: #106972) + + -- Ed Boraas Mon, 30 Jul 2001 20:47:54 -0600 + +reiserfsprogs (3.x.0j-4) unstable; urgency=low + + * Restrict arch to i386/alpha, as no other ports + have kernel support for ReiserFS (Closes: #103792) + + -- Ed Boraas Wed, 11 Jul 2001 20:13:19 -0600 + +reiserfsprogs (3.x.0j-3) unstable; urgency=low + + * Included fs.html and mount-options.html documents from + the ReiserFS website (Closes: #97706) + + -- Ed Boraas Tue, 19 Jun 2001 16:51:34 -0600 + +reiserfsprogs (3.x.0j-2) unstable; urgency=low + + * Include information on creating 2.2-mountable (ReiserFS + 3.5) filesystems in the README.Debian (Closes: #95990) + * Happy May Day! + + -- Ed Boraas Tue, 1 May 2001 23:10:40 -0600 + +reiserfsprogs (3.x.0j-1) unstable; urgency=low + + * New upstream release + + -- Ed Boraas Wed, 4 Apr 2001 18:44:14 -0600 + +reiserfsprogs (3.x.0h-3) unstable; urgency=low + + * Added support for double-force on mkreiserfs, for boot + floppies (Closes: #90163) + + -- Ed Boraas Tue, 27 Mar 2001 18:29:15 -0700 + +reiserfsprogs (3.x.0h-2) unstable; urgency=low + + * Updated to policy v3.5.2 + * Included Build-Depends (Closes: #90439) + + -- Ed Boraas Tue, 20 Mar 2001 06:34:10 -0700 + +reiserfsprogs (3.x.0h-1) unstable; urgency=low + + * New upstream release + + -- Ed Boraas Tue, 13 Mar 2001 15:33:48 -0700 + +reiserfsprogs (3.x.0d-3) unstable; urgency=low + + * '-y' now does nothing, instead of forcing a check on each boot + + -- Ed Boraas Tue, 13 Mar 2001 15:06:41 -0700 + +reiserfsprogs (3.x.0d-2) unstable; urgency=low + + * Basic support for -y option in reiserfsck, based on patch submitted + by Eduard Bloch (Closes: #87215) + + -- Ed Boraas Tue, 6 Mar 2001 06:15:23 -0700 + +reiserfsprogs (3.x.0d-1) unstable; urgency=low + + * New upstream release + * Last of Alpha problems (should be) fixed (Closes: #83941) + * Upstream now includes manpages (Closes: #74650) + + -- Ed Boraas Sun, 25 Feb 2001 11:52:47 -0700 + +reiserfsprogs (3.x.0a-2) unstable; urgency=low + + * lib/misc.c now #includes io.h; I assume this (Closes: #76008) + * lib/misc.c again #includes sys/mount.h (Not yet folded upstream) + * Updated README.Debian and package info to reflect the fact that Linux + 2.4.1 and up have built-in reiserfs support. + + -- Ed Boraas Fri, 09 Feb 2001 18:35:14 -0700 + +reiserfsprogs (3.x.0a-1) unstable; urgency=low + + * New upstream release + * Updated to policy version 3.2.1 + + -- Ed Boraas Sun, 21 Jan 2001 20:18:34 -0700 + +reiserfsprogs (3.0.20001019-3) unstable; urgency=low + + * Paper-bag bugfix: shebang missing from postinst + * Added prerm script to clean up after postinst + * postinst will no longer bail if the hardlinks already exist + + -- Ed Boraas Mon, 30 Oct 2000 19:56:23 -0700 + +reiserfsprogs (3.0.20001019-2) unstable; urgency=low + + * Added LDFLAGS = -lm in fsck/ for x-platform compliance (Closes: #74943) + * Now installs to /sbin instead of /usr/sbin + * lib/misc.c '#include's (Closes: #74833) + * Created mkfs.reiserfs and fsck.reiserfs hardlinks (Closes: #59833) + + -- Ed Boraas Sat, 28 Oct 2000 15:24:54 -0600 + +reiserfsprogs (3.0.20001019-1) unstable; urgency=low + + * New upstream snapshot + + -- Ed Boraas Thu, 19 Oct 2000 17:16:26 -0600 + +reiserfsprogs (3.0.20001007-1) unstable; urgency=low + + * New upstream release + * Version number updated to reflect snapshot date, as upstream + is not versioning new releases + + -- Ed Boraas Sat, 8 Oct 2000 00:17:37 -0600 + +reiserfsprogs (3.0-1) unstable; urgency=low + + * Initial Release. + + -- Ed Boraas Sat, 30 Sep 2000 18:41:46 -0600 --- reiserfsprogs-3.6.19.orig/debian/mkreiserfs-udeb.dirs +++ reiserfsprogs-3.6.19/debian/mkreiserfs-udeb.dirs @@ -0,0 +1 @@ +sbin --- reiserfsprogs-3.6.19.orig/debian/journal_params_autofix.patch.nolongerapplied +++ reiserfsprogs-3.6.19/debian/journal_params_autofix.patch.nolongerapplied @@ -0,0 +1,46 @@ +===== reiserfscore/journal.c 1.19 vs edited ===== +--- 1.19/reiserfsprogs/reiserfscore/journal.c Thu Apr 24 17:25:56 2003 ++++ edited/reiserfscore/journal.c Tue Apr 29 19:58:48 2003 +@@ -481,21 +481,6 @@ + } + + if (check) { +- +- j_head = (struct reiserfs_journal_header *)(bh->b_data); +- +- if (get_jp_journal_1st_block (&j_head->jh_journal) != get_jp_journal_1st_block (sb_jp (sb)) || +- get_jp_journal_dev (&j_head->jh_journal) != get_jp_journal_dev (sb_jp (sb)) || +- get_jp_journal_size (&j_head->jh_journal) != get_jp_journal_size (sb_jp (sb))) +- { +- reiserfs_warning (stderr, +- "\nreiserfs_open_journal: journal parameters from the super block does not match \n" +- "to journal parameters from the journal. It is expected if you created your fs \n" +- "with old reiserfsprogs. In this case rebuild-sb will fix it all for you.\n", j_filename); +- brelse (bh); +- return 0; +- } +- + /* Check the superblock's journal parameters. */ + if (!is_reiserfs_jr_magic_string (sb)) { + if (get_jp_journal_dev (sb_jp(sb)) != 0 || +@@ -506,6 +491,20 @@ + brelse (bh); + return 0; + } ++ } else { ++ j_head = (struct reiserfs_journal_header *)(bh->b_data); ++ ++ if (get_jp_journal_1st_block (&j_head->jh_journal) != get_jp_journal_1st_block (sb_jp (sb)) || ++ get_jp_journal_dev (&j_head->jh_journal) != get_jp_journal_dev (sb_jp (sb)) || ++ get_jp_journal_size (&j_head->jh_journal) != get_jp_journal_size (sb_jp (sb))) ++ { ++ reiserfs_warning (stderr, ++ "\nreiserfs_open_journal: journal parameters from the super block does not match \n" ++ "to journal parameters from the journal. It is expected if you created your fs \n" ++ "with old reiserfsprogs. In this case rebuild-sb will fix it all for you.\n", j_filename); ++ brelse (bh); ++ return 0; ++ } + } + } + --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs.manpages +++ reiserfsprogs-3.6.19/debian/reiserfsprogs.manpages @@ -0,0 +1,5 @@ +mkreiserfs/mkreiserfs.8 +fsck/reiserfsck.8 +resize_reiserfs/resize_reiserfs.8 +tune/reiserfstune.8 +debugreiserfs/debugreiserfs.8 --- reiserfsprogs-3.6.19.orig/debian/yesopt.diff.nolongerapplied +++ reiserfsprogs-3.6.19/debian/yesopt.diff.nolongerapplied @@ -0,0 +1,103 @@ +diff -ru reiserfsprogs-3.6.4/fsck/fsck.h new_reiserfsprogs-3.6.4/fsck/fsck.h +--- reiserfsprogs-3.6.4/fsck/fsck.h Mon Sep 23 18:03:51 2002 ++++ new_reiserfsprogs-3.6.4/fsck/fsck.h Sat Mar 15 02:59:59 2003 +@@ -57,6 +57,7 @@ + #define OPT_SAVE_PASSES_DUMP 0x200 + #define BADBLOCKS_FILE 0x400 + #define OPT_SAVE_ROLLBACK 0x800 ++#define OPT_YES 0x1000 + + + /* pass0.c */ +@@ -455,6 +456,7 @@ + + #define fsck_deallocate_bitmap(fs) fsck_data(fs)->check.deallocate_bitmap + ++#define fsck_yes(fs) (fsck_data(fs)->options & OPT_YES) + #define fsck_interactive(fs) (fsck_data(fs)->options & OPT_INTERACTIVE) + //#define fsck_fix_fixable(fs) (fsck_data(fs)->options & OPT_FIX_FIXABLE) + +diff -ru reiserfsprogs-3.6.4/fsck/main.c new_reiserfsprogs-3.6.4/fsck/main.c +--- reiserfsprogs-3.6.4/fsck/main.c Sat Mar 15 02:55:11 2003 ++++ new_reiserfsprogs-3.6.4/fsck/main.c Sat Mar 15 02:50:41 2003 +@@ -37,9 +37,10 @@ + " \t\t\tfix file sizes to real size\n"\ + " \t\t\tlist of all bad blocks on the fs\n"\ + " -q | --quiet\t\tno speed info\n"\ ++" -y | --yes\t\trun without confirmation\n"\ + " -V\t\t\tprints version and exits\n"\ + " -a and -p\t\tprint fs info and exits\n"\ +-" -f, -r and -y\t\tignored\n"\ ++" -f and -r\t\tignored\n"\ + "Expert options:\n"\ + " --no-journal-available\n"\ + " \t\t\tdo not open nor replay journal\n"\ +@@ -103,6 +104,7 @@ + {"interactive", no_argument, 0, 'i'}, + {"adjust-file-size", no_argument, 0, 'z'}, + {"quiet", no_argument, 0, 'q'}, ++ {"yes", no_argument, 0, 'y'}, + {"nolog", no_argument, 0, 'n'}, + + /* if file exists ad reiserfs can be load of it - only +@@ -154,6 +156,10 @@ + data->options |= OPT_QUIET; + break; + ++ case 'y': /* --yes */ ++ data->options |= OPT_YES; ++ break; ++ + case 'l': /* --logfile */ + data->log_file_name = optarg; + /*asprintf (&data->log_file_name, "%s", optarg);*/ +@@ -228,7 +234,6 @@ + + case 'f': + case 'r': /* ignored */ +- case 'y': + break; + + case 'V': /* cause fsck to do nothing */ +@@ -414,7 +419,9 @@ + "Will put log info to '%s'\n", + (data->log == stdout) ? "stdout" : (data->log_file_name ?: "fsck.run")); + +- if (!user_confirmed (warn_to, ++ if (data->mode == FSCK_CHECK && (data->options & OPT_YES)) ++ /* inhibit confirmation */; ++ else if (!user_confirmed (warn_to, + "\nDo you want to run this program?[N/Yes] (note need to type Yes if you do):", "Yes\n")) + exit (0); + } +diff -ru reiserfsprogs-3.6.4/fsck/reiserfsck.8 new_reiserfsprogs-3.6.4/fsck/reiserfsck.8 +--- reiserfsprogs-3.6.4/fsck/reiserfsck.8 Fri Oct 25 14:51:54 2002 ++++ new_reiserfsprogs-3.6.4/fsck/reiserfsck.8 Sat Mar 15 02:24:08 2003 +@@ -89,6 +89,11 @@ + .B --quiet, -q + This option prevents \fBreiserfsck\fR from reporting its rate of progress. + .TP ++.B --yes, -y ++This option inhibits \fBreiserfsck\fR from asking you for confirmation after ++telling you what it is going to do, assuming yes. For safety, it only works ++together with the --check option. ++.TP + \fB-a\fR, \fB-p\fR + These options are usually passed by fsck -A during the automatic + checking of /etc/fstab partitions. For compatibility, these options +@@ -100,11 +105,8 @@ + .B -V + This option prints the reiserfsprogs version and exit. + .TP +-\fB-r\fR, \fB-p\fR, \fB-y\fR ++\fB-r\fR, \fB-f\fR + These options are ignored. +-.TP +-.B -V\fR, \fB-f\fR +-prints version and exits + .SH EXPERT OPTIONS + DO NOT USE THESE OPTIONS UNLESS YOU KNOW WHAT YOU ARE DOING. + WE ARE NOT RESPONSIBLE IF YOU LOSE DATA AS A RESULT OF THESE + + + --- reiserfsprogs-3.6.19.orig/debian/fsck.reiserfs +++ reiserfsprogs-3.6.19/debian/fsck.reiserfs @@ -0,0 +1,4 @@ +#! /bin/sh + +# Be sure to invoke reiserfsck quitely for booting over slow consoles +exec /sbin/reiserfsck -q "$@" --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs-udeb.install +++ reiserfsprogs-3.6.19/debian/reiserfsprogs-udeb.install @@ -0,0 +1,3 @@ +sbin/reiserfsck sbin/ +sbin/resize_reiserfs sbin/ +sbin/debugreiserfs sbin/ --- reiserfsprogs-3.6.19.orig/debian/README.Debian +++ reiserfsprogs-3.6.19/debian/README.Debian @@ -0,0 +1,14 @@ +reiserfsprogs for Debian +------------------------ + +Releases of Linux prior to 2.4.1 do not support ReiserFS on their own. Thus, +these tools will only be useful with Linux 2.4.1 or later, or if your kernel +has been built with the ReiserFS patch applied. This patch can be found in the +appropriate kernel-patch--reiserfs packages. + +NOTE: mkreiserfs builds version 3.6 filesystems by default. In order to create +a 3.5 filesystem (i.e., a Linux 2.2-mountable filesystem), you must provide +the -v1 option when invoking mkreiserfs. To reiterate, version 3.6 filesystems +are not mountable under Linux 2.2. + + -- Ed Boraas , Fri, 09 Feb 2001 18:41:46 -0700 --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs-udeb.dirs +++ reiserfsprogs-3.6.19/debian/reiserfsprogs-udeb.dirs @@ -0,0 +1 @@ +sbin --- reiserfsprogs-3.6.19.orig/debian/copyright +++ reiserfsprogs-3.6.19/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Ed Boraas on +Sat, 30 Sep 2000 18:41:46 -0600. + +It was downloaded from http://www.namesys.com/ + +Upstream Authors: Hans Reiser , et al. + + For a more extensive listing of authors and contributors, see + /usr/share/doc/reiserfsprogs/README. + +Copyright: + + GNU General Public License, version 2, found in + /usr/share/common-licenses on Debian systems. + + Furthermore, licensing clarifications have been provided by the + upstream authors within /usr/share/doc/reiserfsprogs/README. --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs.dirs +++ reiserfsprogs-3.6.19/debian/reiserfsprogs.dirs @@ -0,0 +1,2 @@ +sbin +usr/share/lintian/overrides --- reiserfsprogs-3.6.19.orig/debian/reiserfsprogs.docs +++ reiserfsprogs-3.6.19/debian/reiserfsprogs.docs @@ -0,0 +1,2 @@ +README +debian/html --- reiserfsprogs-3.6.19.orig/debian/mkreiserfs-udeb.install +++ reiserfsprogs-3.6.19/debian/mkreiserfs-udeb.install @@ -0,0 +1 @@ +sbin/mkreiserfs sbin --- reiserfsprogs-3.6.19.orig/debugreiserfs/debugreiserfs.8 +++ reiserfsprogs-3.6.19/debugreiserfs/debugreiserfs.8 @@ -64,7 +64,7 @@ extracts the filesystem's metadata with \fBdebugreiserfs\fR -p /dev/xxx | gzip -c > xxx.gz. None of your data are packed unless a filesystem corruption presents when the whole block having this corruption is packed. You send us the output, and we use -it to create a filesystem with the same strucure as yours using \fBdebugreiserfs -u\fR. +it to create a filesystem with the same structure as yours using \fBdebugreiserfs -u\fR. When the data file is not too large, this usually allows us to quickly reproduce and debug the problem. .TP --- reiserfsprogs-3.6.19.orig/include/reiserfs_fs.h +++ reiserfsprogs-3.6.19/include/reiserfs_fs.h @@ -38,15 +38,10 @@ # define extern_inline #endif -#include - #ifndef get_unaligned -#if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ - defined(__PPC) || defined(powerpc) || defined(__powerpc__) # define get_unaligned(ptr) (*(ptr)) # define put_unaligned(val,ptr) ((void)(*(ptr) = (val))) #endif -#endif #define get_leXX(xx,p,field) (le##xx##_to_cpu ((p)->field)) #define set_leXX(xx,p,field,val) do { (p)->field = cpu_to_le##xx(val); } while (0) --- reiserfsprogs-3.6.19.orig/mkreiserfs/mkreiserfs.8 +++ reiserfsprogs-3.6.19/mkreiserfs/mkreiserfs.8 @@ -34,14 +34,15 @@ .TP \fB-b\fR | \fB--block-size \fIN\fR \fIN\fR is block size in bytes. It may only be set to a power of 2 within the -512-8192 interval. +512-8192 interval. Note that current versions of the kernel ( 2.6.19 ) do +NOT support any size other than 4096. .TP \fB-h\fR | \fB--hash \fIHASH\fR \fIHASH\fR specifies which hash function will sort the names in the directories. Choose from r5, rupasov, or tea. r5 is the default one. .TP \fB--format \fIFORMAT\fR -\fIFORMAT\fR specifies the format for the new filsystem. Choose format 3.5 or +\fIFORMAT\fR specifies the format for the new filesystem. Choose format 3.5 or 3.6. If none is specified \fBmkreiserfs\fR will create format 3.6 if running kernel is 2.4 or higher, and format 3.5 if kernel 2.2 is running, and will refuse creation under all other kernels. @@ -49,7 +50,7 @@ \fB-u\fR | \fB--uuid \fIUUID\fR Sets the Universally Unique IDentifier of the filesystem to \fIUUID\fR (see also \fBuuidgen(8)\fR). The format of the \fIUUID\fR is a series -of hex digits separated by hypthens, e.g.: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". +of hex digits separated by hyphens, e.g.: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". If the option is skipped, \fBmkreiserfs\fR will by default generate a new \fIUUID\fR. .TP