Skip to content

sv99/dosfstools-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dosfstools on OSX

OSX 10.9 Maveric not exist mkfs.vfat.

dosfstools - now orphaned Linux version utilities for making and checking MS-DOS FAT filesystems.

OSX users using diskfstool? hdutil and hdiutil.

Problems

  1. Not worked ioctl(dev, HDIO_GETGEO, &geometry) unable to get drive geometry
  2. geometry.sectors and geometry.heads you may get from nondirect calculation (sample in the [diskdev-cmds] (http://www.opensource.apple.com/source/diskdev_cmds/diskdev_cmds-557.3.1/)), but geometry.start needed for set hidden_sectros not available

Porting

  1. Based on last version dosfstools 3.0.26
  2. Add some linux headers
  3. Remove atari support
  4. Remove fatlabel utility
  5. mkfs.fat not worked on real drives - only with images -C option and loop devices

Install with homebrew

$brew create https://github.com/sv99/dosfstools-osx.git
require "formula"

class Dosfstools < Formula
  homepage "https://github.com/sv99/dosfstools-osx"
  url "https://github.com/sv99/dosfstools-osx.git"
  sha1 ""

  def install
    system "make", "install"   
  end

end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published