Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2008 21:05:03 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/newfs_msdos newfs_msdos.c
Message-ID:  <200811262105.mAQL5Egj095834@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2008-11-26 21:05:03 UTC

  FreeBSD src repository

  Modified files:
    sbin/newfs_msdos     newfs_msdos.c 
  Log:
  SVN rev 185345 on 2008-11-26 21:05:03Z by luigi
  
  Create a fake geometry (16 heads, 64 sectors) when dealing with
  a plain file and a geometry is not explicitly supplied through
  command line or disktab entry.
  
  This way you can a FAT image on a file as simply as this:
  
          newfs_msdos ./some/file
  
  (right now you need a much longer command
  
          newfs_msdos -h 32 -u 64 -S 512 -s $total_blocks -o 0 ./some/file
  
  Will be merged after 7.1 and 6.4 are released.
  See also the related PR which suggests a similar change.
  
  PR:             bin/121182
  MFC after:      4 weeks
  
  Revision  Changes    Path
  1.23      +14 -3     src/sbin/newfs_msdos/newfs_msdos.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811262105.mAQL5Egj095834>