Changeset 8f6c7785 in mainline for uspace/app/hdisk/hdisk.c


Ignore:
Timestamp:
2013-04-26T02:55:32Z (11 years ago)
Author:
Dominik Taborsky (AT DOT) <brembyseznamcz>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
700f89e
Parents:
d617050
Message:

logical write functional

File:
1 edited

Legend:

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

    rd617050 r8f6c7785  
    7373                return -1;
    7474        }
    75        
     75
    7676        init_table();
    77        
     77
    7878        mbr_t * mbr = mbr_read_mbr(dev_handle);
    7979        if(mbr == NULL) {
     
    9898                mbr_free_mbr(mbr);
    9999                gpt_t * gpt = gpt_read_gpt_header(dev_handle);
     100                printf("here3\n");
    100101                if(gpt == NULL) {
    101102                        printf("Failed to read and parse GPT header. Exiting.\n");
     
    103104                }
    104105                set_table_gpt(gpt);
     106                printf("here4\n");
    105107                gpt_partitions_t * parts = gpt_read_partitions(gpt);
     108                printf("here5\n");
    106109                if(parts == NULL) {
    107110                        printf("Failed to read and parse partitions.\n" \
     
    114117
    115118        rc = interact(dev_handle);
    116 
     119       
    117120        free_table();
    118 
     121       
    119122        return rc;
    120123}
     
    188191                input = getchar();
    189192                printf("%c\n", input);
    190                
     193
    191194
    192195                //rc = tinput_read(in, &str);
Note: See TracChangeset for help on using the changeset viewer.