add an extra option into the command install, and allow to mount extended partitions.

This commit is contained in:
okuji committed 1999-11-02 12:54:19 +00:00
1 parent 8fb66b3a69
commit c6ec01220b
8 files changed
+160 -95

No files matched your search

+11 -21
View File
@@ -19,10 +19,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "shared.h"
void
print_error (void)
{
@@ -35,7 +33,6 @@ print_error (void)
#endif /* STAGE1_5 */
}
char *
convert_to_ascii (char *buf, int c,...)
{
@@ -78,7 +75,6 @@ convert_to_ascii (char *buf, int c,...)
return ptr;
}
void
grub_printf (const char *format,...)
{
@@ -123,7 +119,6 @@ grub_printf (const char *format,...)
}
}
#ifndef STAGE1_5
int
grub_sprintf (char *buffer, const char *format, ...)
@@ -168,10 +163,6 @@ grub_sprintf (char *buffer, const char *format, ...)
*bp = 0;
return bp - buffer;
}
#endif /* ! STAGE1_5 */
#ifndef STAGE1_5
void
init_page (void)
@@ -611,10 +602,8 @@ get_cmdline (char *prompt, char *cmdline, int maxlen,
return 0;
}
#endif /* STAGE1_5 */
int
safe_parse_maxint (char **str_ptr, int *myint_ptr)
{
@@ -669,7 +658,6 @@ safe_parse_maxint (char **str_ptr, int *myint_ptr)
return 1;
}
int
grub_tolower (int c)
{
@@ -679,7 +667,6 @@ grub_tolower (int c)
return c;
}
int
grub_isspace (int c)
{
@@ -706,9 +693,7 @@ grub_memcmp (const char *s1, const char *s2, int n)
return 0;
}
#endif /* ! STAGE1_5 */
#ifndef STAGE1_5
int
grub_strncat (char *s1, const char *s2, int n)
{
@@ -727,9 +712,7 @@ grub_strncat (char *s1, const char *s2, int n)
return 1;
}
#endif /* ! STAGE1_5 */
#ifndef STAGE1_5
int
grub_strcmp (const char *s1, const char *s2)
{
@@ -766,8 +749,18 @@ substring (char *s1, char *s2)
return 1;
}
#ifndef STAGE1_5
/* Terminate the string STR with NUL. */
char *
nul_terminate (char *str)
{
while (*str && ! grub_isspace (*str))
str++;
*str++ = 0;
return str;
}
char *
grub_strstr (const char *s1, const char *s2)
{
@@ -799,7 +792,6 @@ grub_strlen (const char *str)
}
#endif /* ! STAGE1_5 */
int
memcheck (int addr, int len)
{
@@ -840,7 +832,6 @@ memcheck (int addr, int len)
return ! errnum;
}
char *
grub_memmove (char *to, const char *from, int len)
{
@@ -877,7 +868,6 @@ grub_memmove (char *to, const char *from, int len)
return errnum ? NULL : to;
}
#ifndef STAGE1_5
void *
grub_memset (void *start, int c, int len)