Changes in uspace/app/init/init.c [31e9fe0:a63d216] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r31e9fe0 ra63d216  
    5959#define TMPFS_FS_TYPE      "tmpfs"
    6060#define TMPFS_MOUNT_POINT  "/tmp"
    61 
    62 #define DATA_FS_TYPE      "fat"
    63 #define DATA_DEVICE       "bd/ata1disk0"
    64 #define DATA_MOUNT_POINT  "/data"
    6561
    6662#define SRV_CONSOLE  "/srv/console"
     
    316312}
    317313
    318 static bool mount_data(void)
    319 {
    320         int rc = mount(DATA_FS_TYPE, DATA_MOUNT_POINT, DATA_DEVICE, "wtcache", 0, 0);
    321         return mount_report("Data filesystem", DATA_MOUNT_POINT, DATA_FS_TYPE,
    322             DATA_DEVICE, rc);
    323 }
    324 
    325314int main(int argc, char *argv[])
    326315{
     
    336325                srv_start("/srv/tmpfs");
    337326       
     327        srv_start("/srv/klog");
    338328        srv_start("/srv/locfs");
    339329        srv_start("/srv/taskmon");
     
    360350        srv_start("/srv/udp");
    361351        srv_start("/srv/dnsrsrv");
     352        srv_start("/srv/dhcp");
     353        srv_start("/srv/nconfsrv");
    362354       
    363355        srv_start("/srv/clipboard");
    364356        srv_start("/srv/remcons");
    365357       
    366         /*
    367          * Start these synchronously so that mount_data() can be
    368          * non-blocking.
    369          */
    370 #ifdef CONFIG_START_BD
    371         srv_start("/srv/ata_bd");
    372 #endif
    373        
    374 #ifdef CONFIG_MOUNT_DATA
    375         /* Make sure fat is running. */
    376         if (str_cmp(STRING(RDFMT), "fat") != 0)
    377                 srv_start("/srv/fat");
    378        
    379         mount_data();
    380 #else
    381         (void) mount_data;
    382 #endif
    383        
    384358        srv_start("/srv/input", HID_INPUT);
    385359        srv_start("/srv/output", HID_OUTPUT);
     360        srv_start("/srv/hound");
    386361       
    387362        int rc = compositor(HID_INPUT, HID_COMPOSITOR_SERVER);
Note: See TracChangeset for help on using the changeset viewer.