]> git.ipfire.org Git - thirdparty/util-linux.git/commit
minix: add common functionality
authorDavidlohr Bueso <dave@gnu.org>
Wed, 1 Jun 2011 22:32:56 +0000 (18:32 -0400)
committerKarel Zak <kzak@redhat.com>
Thu, 2 Jun 2011 11:27:18 +0000 (13:27 +0200)
commit7bf1425a6302c054dc86e23151072f8c69006fc9
tree2ac213b2bede09eeccff233b1198b3229263cc2f
parentc4c6635582fb7ae9f68a58492e4bfb1f382ddd06
minix: add common functionality

Unite common features and code present in mkfs.minix and fsck.minix into a
single minix.h header. This eases the reading and modification of both
programs.

Futhermore:
    - Replace version2 variable with fs_version (handy when v3 support
      comes along)
    - For superblock attributes and inode information, use small inline
      functions instead of ugly macros.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
disk-utils/minix.h