Skip to content

Commit

Permalink
Add 'fsck' and 'more' back onto 360k distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Aug 26, 2023
1 parent da0cab6 commit cb3a322
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions elkscmd/Applications
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ file_utils/md5sum :fileutil
file_utils/mkdir :fileutil :360k
file_utils/mknod :fileutil :360k
#file_utils/mkfifo :fileutil :1200k :1440k
file_utils/more :fileutil :720k :128k
file_utils/more :fileutil :360k :128k
file_utils/mv :fileutil :360k
file_utils/ln :fileutil :720k
file_utils/ls :fileutil :360k :128k
Expand Down Expand Up @@ -157,7 +157,7 @@ minix3/cal :be-minix3 :1200k :1440k
minix3/diff :be-minix3 :720k
minix3/find :be-minix3 :720k
minix3/mail :minix3 :other
disk_utils/fsck :diskutil :1200k :1440k
disk_utils/fsck :diskutil :360k :1200k :1440k
disk_utils/mkfs :diskutil :360k
disk_utils/mkfat :diskutil :360k
disk_utils/partype :diskutil :1200k :1440k
Expand Down
3 changes: 2 additions & 1 deletion elkscmd/disk_utils/fsck.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ void inode_dump(struct minix_inode * ptr)
printf(" %5ld %d/%d Z", ptr->i_size, ptr->i_uid, ptr->i_gid);
for (i = 0; i < 9; i++) {
if (ptr->i_zone[i] || verbose > 2)
printf(" %u", ptr->i_zone[i]);
printf(S_ISBLK(ptr->i_mode) || S_ISCHR(ptr->i_mode)? " 0x%04x": " %u",
ptr->i_zone[i]);
else break;
}
}
Expand Down

0 comments on commit cb3a322

Please sign in to comment.