Commit Graph
13 Commits
Author SHA1 Message Date
jochen 3793b1777b * stage2/fsys_reiserfs.c (reiserfs_super_block): Updated
to better match recent reiserfs versions.
(reiserfs_mount): Handle cases where journal can't be found,
e.g. journal on another disk or unexpected journal parameters.
In that case the journal isn't used.
2001-10-11 11:14:29 +00:00
jochen 62e7ed8b60 * stage2/fsys_reiserfs.c (reiserfs_mount): Don't look at
the superblock field s_journal_block_count anymore.  It used
to contain 0, it never contained a valid value, and now I
have a report that it can contain an invalid value.
2001-10-10 09:23:57 +00:00
jochen 49312f5981 * stage2/fsys_reiserfs.c (reiserfs_dir): Set errnum to
ERR_FSYS_CORRUPT if a symlink can't be read for some reason,
but no error is set by read.
2001-09-24 08:43:38 +00:00
okuji 00865a8027 fix the problem that savedefault doesn't work with Stage 1.5. 2001-02-02 13:31:03 +00:00
jochen 8eff936f97 Handle items with old version key on new version reiserfs partition. 2000-11-27 12:06:25 +00:00
okuji 5b956a8ac8 merge the changes on the branch prepare_0_5_96 to the main trunk. 2000-10-07 07:19:12 +00:00
okuji 225b464978 add new commands, partnew and parttype, add one more sanity check for reiserfs. 2000-09-29 18:55:27 +00:00
jochen 028049bbd4 * stage2/fsys_fat.c (fat_superblock): clust_eof_marker added.
(fat_mount): Initialize clust_eof_marker to 0xff8, 0xfff8, or
0xffffff8, depending on fat size.  Support for single active FAT
added (FAT32 extension). Changed the boundary between FAT12 and
FAT16, again.  The Microsoft KB article Q65541 seems to be wrong
here, I go with mtools and the previous behaviour of grub: FAT12
iff number of clusters (without counting the two nonexisting
clusters) is less or equal 4095.
(fat_read): Report error if cluster number is too big, but not
greater or equal clust_eof_marker.
* stage2/fsys_reiserfs.c (journal_init): Fixed calculation of
journal_transaction.
2000-08-04 09:11:28 +00:00
jochen bef3d7d863 * stage2/fsys_reiserfs.c: Symlink support added.
(S_ISLNK): New macro.
(PATH_MAX): Likewise.
(MAX_LINK_COUNT): Likewise.
(reiserfs_dir): Check for symlink and handle them.
(read_tree_node): Take a block number and check if tree node was
already read in.  If not update the INFO->blocks field.
(next_key): Changed call of read_tree_node.
(search_stat): Likewise.
(journal_init): Fixed a small bug.  Some debugging messages added.
2000-08-01 08:46:17 +00:00
jochen 77219c6e56 * stage2/fsys_reiserfs.c (block_read): Changed the variable "len"
to "j_len" (it shadowed a parameter).
2000-07-29 12:50:15 +00:00
okuji 952982deb9 fix shadowed variable bugs and undefined cpp macro bugs. 2000-07-28 16:51:16 +00:00
jochen e4f6307b46 Added journaling to fsys_reiserfs. 2000-06-06 13:55:54 +00:00
okuji 32f9590f2a I forgot to add stage2/fsys_reiserfs.c. 2000-04-15 13:40:22 +00:00