Vladimir 'phcoder' Serbinenko
9959c6a70b
Fix AFFS rootblock detection
2010-12-11 21:15:25 +01:00
Vladimir 'phcoder' Serbinenko
81ecffbfc1
Add missing packed attribute
2010-12-11 18:42:44 +01:00
Vladimir 'phcoder' Serbinenko
5e96cb4452
Extend few other fields
2010-12-11 18:41:42 +01:00
Vladimir 'phcoder' Serbinenko
ea17ec49ae
Extend fields in dirent header
2010-12-11 18:32:08 +01:00
Vladimir 'phcoder' Serbinenko
80113a6258
declare AFFS, CPIO, TAR and XFS as non-installable explicitly
2010-12-11 18:21:39 +01:00
Vladimir 'phcoder' Serbinenko
4aab263130
SquashFS mtime support
2010-12-11 18:20:45 +01:00
Vladimir 'phcoder' Serbinenko
f5ff296240
minix mtime support
2010-12-11 17:46:16 +01:00
Vladimir 'phcoder' Serbinenko
ea0df4e953
ZFS mtime support
2010-12-11 15:01:33 +01:00
Vladimir 'phcoder' Serbinenko
eb03b55271
fix ZFS label handling in non-single disk configs
2010-12-11 14:56:02 +01:00
Vladimir 'phcoder' Serbinenko
7ac6c4842d
JFS mtime support
2010-12-11 14:26:34 +01:00
Vladimir 'phcoder' Serbinenko
58fa13fc7c
HFS mtime support
2010-12-11 07:15:44 +01:00
Vladimir 'phcoder' Serbinenko
ebec6850b9
HFS filesystem mtime support
2010-12-11 07:00:31 +01:00
Vladimir 'phcoder' Serbinenko
88db5b694a
file mtime support for reiserfs
2010-12-11 06:23:33 +01:00
Vladimir 'phcoder' Serbinenko
591baceb34
UDF symlink support
2010-12-11 06:04:21 +01:00
Vladimir 'phcoder' Serbinenko
f8e2e451e6
handle UTF16 UDF label
2010-12-10 18:34:46 +01:00
Vladimir 'phcoder' Serbinenko
f22c12e852
mtime for UDF support
2010-12-10 17:37:32 +01:00
Vladimir 'phcoder' Serbinenko
5706da0443
mtime support for xfs
2010-12-10 16:19:24 +01:00
Vladimir 'phcoder' Serbinenko
3b95531920
fix unix range
2010-12-10 15:04:12 +01:00
Vladimir 'phcoder' Serbinenko
d6f07b29fc
mtime btrfs support
2010-12-10 14:38:16 +01:00
Vladimir 'phcoder' Serbinenko
c50d99c5e5
file mtime support for iso9660
2010-12-10 11:12:59 +01:00
Vladimir 'phcoder' Serbinenko
a2de6bf6ed
filesystem mtime support for iso9660
2010-12-10 10:32:50 +01:00
Vladimir 'phcoder' Serbinenko
db64f5b167
mtime support for cpio and tar
2010-12-10 08:42:40 +01:00
Vladimir 'phcoder' Serbinenko
4a91cd8220
symlink support
2010-12-09 22:29:36 +01:00
Vladimir 'phcoder' Serbinenko
e330e4f383
support file mtime
2010-12-09 21:17:27 +01:00
Vladimir 'phcoder' Serbinenko
627a62fc70
Make type-dependent portion of inode an union
2010-12-09 21:14:42 +01:00
Vladimir 'phcoder' Serbinenko
1fc7203971
Split grub_squash_read_data
2010-12-09 20:48:03 +01:00
Vladimir 'phcoder' Serbinenko
8eef1f8244
Compressed fragments and compressed data support
2010-12-09 20:41:41 +01:00
Vladimir 'phcoder' Serbinenko
e4eaf62555
Small restructuring of squash_read
2010-12-09 19:40:11 +01:00
Vladimir 'phcoder' Serbinenko
76e39dc871
Compressed metadata support
2010-12-09 19:23:35 +01:00
Vladimir 'phcoder' Serbinenko
99f0735fb8
Support multi-header directories
2010-12-09 18:22:38 +01:00
Vladimir 'phcoder' Serbinenko
948ebd7e91
Support fragments and chunks for data
2010-12-09 17:06:49 +01:00
Vladimir 'phcoder' Serbinenko
7ed6c3e85f
Honor chunk number for directories
2010-12-09 02:48:59 +01:00
Vladimir 'phcoder' Serbinenko
0a040470e5
determine root inode on squash4fs
2010-12-09 00:04:36 +01:00
Vladimir 'phcoder' Serbinenko
1deadc83f5
extend size to 32-bit and handle file->offset
2010-12-08 23:03:59 +01:00
Vladimir 'phcoder' Serbinenko
332fa36887
some squash4 code. Works only in very easy cases.
2010-12-08 21:22:46 +01:00
Vladimir 'phcoder' Serbinenko
bfff320cdf
Apparently functioning raidz. Still mostly a guesswork so may break
2010-12-07 11:45:37 +01:00
Vladimir 'phcoder' Serbinenko
39db1a3f75
First attempt on RAIDZ. Right now works only with right phase of the moon.
2010-12-06 23:46:01 +01:00
Vladimir 'phcoder' Serbinenko
c3b87afcd4
Recognize vdev file
2010-12-06 20:28:02 +01:00
Vladimir 'phcoder' Serbinenko
79282228ec
use anopther RAID1(0) copy if main one fails
2010-12-06 20:26:49 +01:00
Vladimir 'phcoder' Serbinenko
925d998e6f
Fix a warining
2010-12-06 07:03:58 +01:00
Vladimir 'phcoder' Serbinenko
8ff84951c5
ZFS mirror support
2010-12-06 02:31:22 +01:00
Vladimir 'phcoder' Serbinenko
fdfde32aa4
striped zpool support
2010-12-05 21:17:24 +01:00
Vladimir 'phcoder' Serbinenko
e5c63d9d41
Fix handling of nvlist array
2010-12-05 18:13:32 +01:00
Vladimir 'phcoder' Serbinenko
069142f4c2
Support long symlinks
2010-12-05 16:08:26 +01:00
Vladimir 'phcoder' Serbinenko
47c3603cc8
Add missing endianness conversions in fzap code
2010-12-05 15:41:17 +01:00
Vladimir 'phcoder' Serbinenko
fe79a8ad9d
Fix fzap handling
2010-12-05 15:35:08 +01:00
Vladimir 'phcoder' Serbinenko
c5cf9f53a8
Fix short symlinks
2010-12-04 01:59:06 +01:00
Vladimir 'phcoder' Serbinenko
7a6e93788c
ZFS zlib compression support
2010-12-04 00:40:44 +01:00
Vladimir 'phcoder' Serbinenko
78ab87f61d
merge mainline into ZFS
2010-12-04 00:40:20 +01:00
Vladimir 'phcoder' Serbinenko
3be8e5ea96
BtrFS zlib compression support
2010-12-03 21:42:13 +01:00
Vladimir 'phcoder' Serbinenko
6333f1e9b6
Add RAID10 support
2010-12-03 18:11:10 +01:00
Vladimir 'phcoder' Serbinenko
db51e201fc
symlink loop detection. btrfs-raid0 and raid1 support
2010-12-03 16:56:49 +01:00
Vladimir 'phcoder' Serbinenko
0e761d3dbd
Rename some btrfs variables for more uniformity
2010-12-03 11:30:24 +01:00
Vladimir 'phcoder' Serbinenko
34018a7d1f
symlink support
2010-12-03 10:44:47 +01:00
Vladimir 'phcoder' Serbinenko
a43c4bc55f
buffer extent for performance
2010-12-02 15:28:29 +01:00
Vladimir 'phcoder' Serbinenko
8006f6779e
Fix in-extent reading
2010-12-02 15:08:46 +01:00
Vladimir 'phcoder' Serbinenko
98042add0c
Fix handling of non-leaf next
2010-12-02 13:57:07 +01:00
Vladimir 'phcoder' Serbinenko
eb82b8569a
Remove leftover unused attribute
2010-12-02 13:32:24 +01:00
Vladimir 'phcoder' Serbinenko
d9865a25f7
Implicitly skip /default prefix
2010-12-02 13:31:50 +01:00
Vladimir 'phcoder' Serbinenko
93e0c7a7c2
Fix subvolume handling
2010-12-02 13:23:20 +01:00
Vladimir 'phcoder' Serbinenko
9b4cb862f8
handle directories correctly
2010-12-02 00:11:14 +01:00
Vladimir 'phcoder' Serbinenko
1f60e35331
initialise the type of search for root
2010-12-02 00:03:19 +01:00
Vladimir 'phcoder' Serbinenko
ac5dcabe67
Fix incorrect statement from previous commit
2010-12-01 23:16:19 +01:00
Vladimir 'phcoder' Serbinenko
a3d1fcfb10
Fix 2 warnings
2010-12-01 22:59:51 +01:00
Robert Millan
54207d4b6c
Update GPL for ZFS code to version 3, move copyright lines for Vladimir and me to FSF (covered by our assignments)
2010-12-01 22:55:26 +01:00
Robert Millan
bf78d5b251
2010-12-01 Robert Millan <rmh@gnu.org>
...
* grub-core/fs/zfs/zfs.c: New file.
* grub-core/fs/zfs/zfs_fletcher.c: Likewise.
* grub-core/fs/zfs/zfs_lzjb.c: Likewise.
* grub-core/fs/zfs/zfs_sha256.c: Likewise.
* grub-core/fs/zfs/zfsinfo.c: Likewise.
* include/grub/zfs/dmu.h: Likewise.
* include/grub/zfs/dmu_objset.h: Likewise.
* include/grub/zfs/dnode.h: Likewise.
* include/grub/zfs/dsl_dataset.h: Likewise.
* include/grub/zfs/dsl_dir.h: Likewise.
* include/grub/zfs/sa_impl.h: Likewise.
* include/grub/zfs/spa.h: Likewise.
* include/grub/zfs/uberblock_impl.h: Likewise.
* include/grub/zfs/vdev_impl.h: Likewise.
* include/grub/zfs/zap_impl.h: Likewise.
* include/grub/zfs/zap_leaf.h: Likewise.
* include/grub/zfs/zfs.h: Likewise.
* include/grub/zfs/zfs_acl.h: Likewise.
* include/grub/zfs/zfs_znode.h: Likewise.
* include/grub/zfs/zil.h: Likewise.
* include/grub/zfs/zio.h: Likewise.
* include/grub/zfs/zio_checksum.h: Likewise.
* Makefile.util.def: Build ZFS into libgrubmods.
* grub-core/Makefile.core.def: Build zfs.mod.
2010-12-01 22:42:11 +01:00
Vladimir 'phcoder' Serbinenko
d980826df2
Remove \n from error message
2010-12-01 16:45:12 +01:00
Vladimir 'phcoder' Serbinenko
df80cd06fb
Check file type
2010-12-01 16:36:05 +01:00
Vladimir 'phcoder' Serbinenko
355b3eed0f
support trees
2010-12-01 16:22:51 +01:00
Vladimir 'phcoder' Serbinenko
b18610feb5
partial btrfs support. Now able to list and access files as long as all trees are flat
2010-12-01 01:23:47 +01:00
Robert Millan
9dfe92d07a
2010-11-18 Robert Millan <rmh@gnu.org>
...
* grub-core/fs/btrfs.c (grub_btrfs_mount): Replace grub_strncmp()
with grub_memcmp().
2010-11-18 16:52:27 +01:00
Giuseppe Caizzone
69c4feebb1
Add generic logical block size support for UDF.
...
* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.
2010-11-14 17:03:49 +01:00
Giuseppe Caizzone
e53609331b
Add generic logical block size support for UDF.
...
* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.
2010-11-14 16:58:50 +01:00
Giuseppe Caizzone
cb0229c587
Properly handle deleted files on UDF.
...
* grub-core/fs/udf.c (grub_udf_iterate_dir): Skip directory entries
whose "characteristics" field has the bit GRUB_UDF_FID_CHAR_DELETED
set.
2010-11-14 16:51:45 +01:00
Giuseppe Caizzone
406858a8a9
Support reading files larger than 2 GiB.
...
* grub-core/fs/udf.c (grub_udf_iterate_dir): Change type of variable
"offset" to grub_off_t.
(grub_udf_read_file): Likewise for parameter "pos".
2010-11-14 16:48:17 +01:00
Vladimir 'phcoder' Serbinenko
58c184be7b
Support big ext2 files.
...
* grub-core/fs/ext2.c (grub_ext2_inode): Rename dir_acl to size_high.
(grub_ext2_read_block): Support triple indirect blocks.
(grub_ext2_read_file): Use 64-bit types and read size_high.
(grub_ext2_open): Read size_high.
Reported by: Ximin Luo.
Tested by: Manoel Rebelo Abranches.
2010-11-13 16:11:24 +01:00
Vladimir 'phcoder' Serbinenko
34706ddc06
* grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.
2010-11-06 21:54:24 +01:00
Vladimir 'phcoder' Serbinenko
dc5aeea5b9
merge mainline into net
2010-10-25 13:19:10 +02:00
Szymon Janc
6bdda8f877
* grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel):
...
Set-but-not-used variable ifdef'ed.
* grub-core/lib/legacy_parse.c (grub_legacy_parse): Likewise.
* grub-core/bus/usb/ohci.c (grub_ohci_pci_iter): Set-but-not-used
variable removed.
* grub-core/disk/lvm.c (grub_lvm_scan_device): Likewise.
* grub-core/fs/jfs.c (grub_jfs_find_file): Likewise.
* grub-core/fs/minix.c (grub_minix_dir): Likewise.
* grub-core/fs/sfs.c (grub_sfs_read_extent): Likewise.
* grub-core/fs/ufs.c (grub_ufs_dir): Likewise.
* grub-core/gfxmenu/gui_list.c (grub_gui_list_new): Likewise.
* grub-core/gfxmenu/view.c (redraw_menu_visit): Likewise.
* grub-core/gfxmenu/widget-box.c (draw): Likewise.
* grub-core/lib/relocator.c (malloc_in_range): Likewise.
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta): Likewise.
* grub-core/loader/i386/bsd_pagetable.c (fill_bsd64_pagetable):
Likewise.
2010-10-16 22:16:52 +02:00
Vladimir 'phcoder' Serbinenko
760a7e5aed
Merge mainline into net
2010-09-22 20:13:00 +02:00
Vladimir 'phcoder' Serbinenko
d2ea455141
* grub-core/partmap/sun.c (sun_partition_map_iterate): Don't needlesly
...
allocate p.
2010-09-14 21:07:39 +02:00
Vladimir 'phcoder' Serbinenko
94564f81a8
* include/grub/disk.h (grub_disk): Remove has_partitions.
...
All users updated.
* disk/loopback.c (grub_loopback): Remove has_partitions.
All users updated.
(options): Remove partitions. All users updated.
* util/grub-fstest.c (fstest): Don't pass "-p" to loopback.
* util/i386/pc/grub-setup.c (setup): copy partition table only when
actual partition table is found.
2010-09-13 23:59:22 +02:00
Robert Millan
4dfbc57428
2010-09-09 Robert Millan <rmh@gnu.org>
...
Basic Btrfs support (detection and UUID).
* grub-core/fs/btrfs.c: New file.
* Makefile.util.def (library): Register btrfs.c.
* grub-core/Makefile.core.def: Likewise.
2010-09-09 01:12:10 +02:00
Vladimir 'phcoder' Serbinenko
b4a0c9154b
Split minix.mod into minix.mod and minix2.mod.
...
* Makefile.util.def (libgrub.a): Add grub-core/fs/minix2.c.
* grub-core/Makefile.core.def (minix2): New module.
* grub-core/fs/minix.c: Use definitions instead of runtime version
checking.
* grub-core/fs/minix2.c: New file.
2010-09-08 19:13:48 +02:00
Szymon Janc
3759a35f75
* include/grub/file.h (grub_file): New member not_easly_seekable.
...
(grub_file_seekable): New inline function.
* grub-core/io/gzio.c (test_header): Don't test end magic if file isn't
easily seekable.
(grub_gzio_open): Set not_easly_seekable.
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_open): Set not_easily_seekable.
* grub-core/io/bufio.c (grub_bufio_open): Propagate not_easily_seekable.
2010-09-04 18:28:42 +02:00
Ian Turner
ef8e0ec8ed
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_read): Keep the blocksize
...
constant for the same file.
2010-09-02 23:59:27 +02:00
Vladimir 'phcoder' Serbinenko
c042567715
Create directory net and move all net files there
2010-09-02 22:20:48 +02:00
Vladimir 'phcoder' Serbinenko
9daa203944
Reintroduce pxe: syntax
2010-09-02 22:12:37 +02:00
Vladimir 'phcoder' Serbinenko
308fad6dc8
Move DHCP parsing to net module and reintroduce most variables
2010-09-02 22:10:55 +02:00
Vladimir 'phcoder' Serbinenko
0f37e49365
Implement few variables
2010-09-02 20:00:56 +02:00
Vladimir 'phcoder' Serbinenko
e571f2332e
Fix regressions by previous commits
2010-09-02 18:15:59 +02:00
Vladimir 'phcoder' Serbinenko
a9deb976dd
Merge mainline into net
2010-09-02 17:18:21 +02:00
Vladimir 'phcoder' Serbinenko
03b170647d
Restructure pxe
2010-09-02 17:18:02 +02:00
Vladimir 'phcoder' Serbinenko
9a09392057
Fix grub_pxe_scan.
...
* grub-core/fs/i386/pc/pxe.c (grub_pxe_pxenv): Put correct type bangpxe.
(grub_pxe_scan): Fix types and pxe_rm_entry computation.
All users updated.
* include/grub/i386/pc/pxe.h (grub_pxe_bangpxe): New struct.
(grub_pxe_pxenv): Correct type.
2010-09-02 15:47:03 +02:00
Vladimir 'phcoder' Serbinenko
069c9c5fda
merge mainline into intwrap
2010-08-29 23:21:21 +02:00
Vladimir 'phcoder' Serbinenko
b17540cbd9
* grub-core/fs/nilfs2.c (grub_nilfs2_load_sb): Handle grub_disk_read
...
errors.
2010-08-28 15:25:12 +02:00
Vladimir 'phcoder' Serbinenko
afba9f98ec
MErge mainline into intwrap
2010-08-25 23:39:42 +02:00
BVK Chaitanya
16c7cb32c8
merge with mainline
2010-08-19 16:54:00 +05:30
BVK Chaitanya
297f0c2b6e
merge with mainline
2010-07-13 00:43:28 +05:30
BVK Chaitanya
a762e3c335
merge with mainline
2010-06-01 17:52:31 +05:30
BVK Chaitanya
8c41176882
automake commit without merge history
2010-05-06 11:34:04 +05:30