mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
add reiserfs support.
This commit is contained in:
1 parent
cf37f79b94
commit
3792b0a01e
21 files changed
+406
-192
No files matched your search
+20
-1
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 1996 Erich Boleyn <erich@uruk.org>
|
||||
* Copyright (C) 1996 Erich Boleyn <erich@uruk.org>
|
||||
* Copyright (C) 2000 Free Software Foundation, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -293,4 +294,22 @@ loop:
|
||||
goto loop;
|
||||
}
|
||||
|
||||
int
|
||||
ffs_embed (int *start_sector, int needed_sectors)
|
||||
{
|
||||
/* XXX: I don't know if this is really correct. Someone who is
|
||||
familiar with BSD should check for this. */
|
||||
if (needed_sectors > 14)
|
||||
return 0;
|
||||
|
||||
*start_sector = 1;
|
||||
#if 1
|
||||
/* FIXME: Disable the embedding in FFS until someone checks if
|
||||
the code above is correct. */
|
||||
return 0;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* FSYS_FFS */
|
||||
Reference in new issue
Block a user