Changeset 2cada66 in mainline for uspace/app/mkminix/mkminix.c
- Timestamp:
- 2011-04-02T08:07:34Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9cd199c
- Parents:
- bd64680
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkminix/mkminix.c
rbd64680 r2cada66 137 137 138 138 for (c = 0, optind = 0, opt_ind = 0; c != -1;) { 139 c = getopt_long(argc, argv, "lh12 3b:i:", long_options, &opt_ind);139 c = getopt_long(argc, argv, "lh12b:i:", long_options, &opt_ind); 140 140 switch (c) { 141 141 case 'h': … … 156 156 sb.dirsize = MFS_DIRSIZE; 157 157 break; 158 case '3':159 sb.magic = MFS_MAGIC_V3;160 sb.fs_version = 3;161 sb.block_size = MFS_MAX_BLOCKSIZE;162 sb.dirsize = MFS3_DIRSIZE;163 sb.ino_per_block = V3_INODES_PER_BLOCK(sb.block_size);164 break;165 158 case 'b': 166 159 sb.block_size = (uint32_t) strtol(optarg, NULL, 10);
Note:
See TracChangeset
for help on using the changeset viewer.