Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/usr/kinit/do_mounts_mtd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 532 by niro, Sat Sep 1 22:45:15 2007 UTC revision 1122 by niro, Wed Aug 18 21:11:40 2010 UTC
# Line 23  int mount_mtd_root(int argc, char *argv[ Line 23  int mount_mtd_root(int argc, char *argv[
23   if (!type)   if (!type)
24   type = "jffs2";   type = "jffs2";
25    
26   DEBUG(("Trying to mount MTD %s as root (%s filesystem)\n",   printf("Trying to mount MTD %s as root (%s filesystem)\n",
27         root_dev_name, type));   root_dev_name, type);
28    
29   if (mount(root_dev_name, "/root", type, flags, data)) {   if (mount(root_dev_name, "/root", type, flags, data)) {
30   int err = errno;   int err = errno;

Legend:
Removed from v.532  
changed lines
  Added in v.1122