[maemo-commits] [maemo-commits] r10725 - projects/haf/trunk/dosfstools

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Mar 22 18:02:09 EET 2007
Author: kihamala
Date: 2007-03-22 18:02:08 +0200 (Thu, 22 Mar 2007)
New Revision: 10725

Added:
   projects/haf/trunk/dosfstools/dosfstools_2.11.tar.gz
Removed:
   projects/haf/trunk/dosfstools/CHANGES
   projects/haf/trunk/dosfstools/Makefile
   projects/haf/trunk/dosfstools/README.Atari
   projects/haf/trunk/dosfstools/TODO
   projects/haf/trunk/dosfstools/debian/
   projects/haf/trunk/dosfstools/mkdosfs/
   projects/haf/trunk/dosfstools/version.h
Log:
puuh1


Deleted: projects/haf/trunk/dosfstools/CHANGES
===================================================================
--- projects/haf/trunk/dosfstools/CHANGES	2007-03-22 15:59:55 UTC (rev 10724)
+++ projects/haf/trunk/dosfstools/CHANGES	2007-03-22 16:02:08 UTC (rev 10725)
@@ -1,102 +0,0 @@
-
-version 2.8
-===========
-
- - dosfsck: Fixed endless loop whenever a volume label was present.
-
-version 2.7
-===========
-
- - dosfsck: Don't check volume label for bad characters, everything
-   seems to be allowed there... Also ignore duplicate names where one of
-   them is a volume label.
-
-version 2.6
-===========
-
- - mkdosfs: Added correct heads definition for 2.88M floppies if not
-   created via loopback.
- - dosfsck: If boot sector and its backup are different (FAT32), offer
-   to write the backup to sector 0. (tnx to Pavel Roskin for this)
- - For 64 bit alpha, struct bootsector in dosfsck.h must be defined
-   with __attribute__((packed)).
- - mkdosfs now actually accepts -R option. (tnx to David Kerrawn)
- - Fixed typo in dosfsck boot.c (recognition of boot signature in FSINFO)
- - Various compilation fixes for 2.4 kernel headers and for ia64.
-
-version 2.5
-===========
-
- - The llseek() implementation for alpha didn't really work; fixed it.
-
-version 2.4
-===========
-
- - Fix compiling problem on alpha (made a silly typo...)
-
-version 2.3
-===========
-
- - mkdosfs: Fixed usage message (printed only "bad address").
- - both: made man pages and usage statements more consistent.
- - both: fix llseek function for alpha.
- - dosfsck: fix reading of unaligned fields in boot sector for alpha.
- - dosfsck: fixed renaming of files (extension wasn't really written).
-
-version 2.2
-===========
-
- - Added dosfsck/COPYING, putting dosfsck officially under GPL (Werner
-   and I agree that it should be GPL).
- - mkdosfs: Allow creation of a 16 bit FAT on filesystems that are too
-   small for it if the user explicitly selected FAT16 (but a warning
-   is printed). Formerly, you got the misleading error message "make
-   the fs a bit smaller".
- - dosfsck: new option -y as synonym for -y; for compability with
-   other fs checkers, which also accept this option.
- - dosfsck: Now prints messages similar to e2fsck: at start version
-   and feature list; at end number of files (and directories) and
-   number of used/total clusters. This makes the printouts of *fsck at
-   boot time nicer.
- - dosfsck: -a (auto repair) now turns on -f (salvage files), too. -a
-   should act as non-destructive as possible, so lost clusters should
-   be assigned to files. Otherwise the data in them might be
-   overwritten later.
- - dosfsck: Don't drop a directory with lots of bad entries in
-   auto-repair mode for the same reason as above.
- - dosfsck: avoid deleting the whole FAT32 root dir if something is
-   wrong with it (bad start cluster or the like).
- - general: also create symlinks {mkfs,fsck}.vfat.8 to the respective
-   real man pages.
-
-version 2.1
-===========
-
- - Fix some forgotten loff_t's for filesystems > 4GB. (Thanks to
-   <ki at kretz.co.at>).
- - Fix typo in mkdosfs manpage.
- - Removed inclusion of <linux/loop.h> from mkdosfs.c; it's unnecessary and
-   caused problems in some environments.
- - Fix condition when to expect . and .. entries in a directory. (Was
-   wrong for non-FAT32 if first entry in root dir was a directory also.)
- - Also create mkfs.vfat and fsck.vfat symlinks, so that also
-   filesystems listed with type "vfat" in /etc/fstab can be
-   automatically checked.
-
-version 2.0
-===========
-
- - merge of mkdosfs and dosfstools in one package
- - new maintainer: Roman Hodek <Roman.Hodek at informatik.uni-erlangen.de>
- - FAT32 support in both mkdosfs and dosfsck
- - VFAT (long filename) support in dosfsck
- - Support for Atari variant of MS-DOS filesystem in both tools
- - Working support for big-endian systems in both tools
- - Better support for loop devices in mkdosfs: usual floppy sizes are
-   detected and media byte etc. set accordingly; if loop fs has no
-   standard floppy size, use hd params
-   (mainly by Giuliano Procida <gpp10 at cus.cam.ac.uk>)
- - Removed lots of gcc warnings
- - Fixed some minor calculation bugs in mkdosfs.
-
-For change logs previous to 2.0, see the CHANGES files in the subdirectories.

Deleted: projects/haf/trunk/dosfstools/Makefile
===================================================================
--- projects/haf/trunk/dosfstools/Makefile	2007-03-22 15:59:55 UTC (rev 10724)
+++ projects/haf/trunk/dosfstools/Makefile	2007-03-22 16:02:08 UTC (rev 10725)
@@ -1,90 +0,0 @@
-#
-# Makefile for dosfstools (mkdosfs and dosfsck)
-#
-
-CC = gcc
-CPP = $(CC) -E
-OPTFLAGS = -O2 -fomit-frame-pointer
-WARNFLAGS = -Wall
-DEBUGFLAGS = 
-CFLAGS = $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
-LDFLAGS =
-
-PREFIX = 
-SBINDIR = $(PREFIX)/sbin
-MANDIR = $(PREFIX)/usr/man/man8
-
-.PHONY: clean distclean install depend
-.EXPORT_ALL_VARIABLES:
-
-all dep clean install:
-	$(MAKE) -C mkdosfs $@
-
-distclean:
-	$(MAKE) -C mkdosfs $@
-	rm -f TAGS .#* .new* \#*# *~
-
-TAGS:
-	etags -d -T `find . -name '*.[ch]'`
-
-dist: binary tar
-
-tar: distclean
-	cd ..; \
-	name="$(notdir $(shell pwd))"; \
-	namev="$$name-$(shell perl -ne 'print "$$1\n" if /VERSION.*"(\S+)"/;' version.h)"; \
-	mv $$name $$namev; \
-	tar cf $$namev.src.tar `find $$namev \( -name CVS -o -path $$namev/debian \) -prune -o ! -type d -print`; \
-	gzip -9f $$namev.src.tar; \
-	mv $$namev $$name
-
-binary: all
-	doit=""; [ root = "`whoami`" ] || doit=sudo; $$doit $(MAKE) binary-sub
-	cd tmp; \
-	name="$(notdir $(shell pwd))"; \
-	namev="$$name-$(shell perl -ne 'print "$$1\n" if /VERSION.*"(\S+)"/;' version.h)"; \
-	arch=`uname -m | sed 's/i.86/i386/'`; \
-	nameva=$$namev.$$arch.tar; \
-	tar cf ../../$$nameva * ; \
-	gzip -9f ../../$$nameva
-	doit=""; [ root = "`whoami`" ] || doit=sudo; $$doit rm -rf tmp
-
-binary-sub:
-	@[ root = "`whoami`" ] || (echo "Must be root for this!"; exit 1)
-	mkdir -p tmp/$(SBINDIR) tmp/$(MANDIR)
-	$(MAKE) install PREFIX=$(shell pwd)/tmp
-
-# usage: make diff OLDVER=<last-release-number>
-diff:
-	@if [ "x$(OLDVER)" = "x" ]; then \
-		echo "Usage: make diff OLDVER=<last-release-number>"; \
-		exit 1; \
-	fi; \
-	name="$(notdir $(shell pwd))"; \
-	namev="$$name-$(shell perl -ne 'print "$$1\n" if /VERSION.*"(\S+)"/;' version.h)"; \
-	cvs diff -u -rRELEASE-$(OLDVER) >../$$namev.diff; \
-	gzip -9f ../$$namev.diff
-
-
-# usage: make release VER=<release-number>
-release:
-	@if [ "x$(VER)" = "x" ]; then \
-		echo "Usage: make release VER=<release-number>"; \
-		exit 1; \
-	fi
-	if [ -d CVS ]; then \
-		modified=`cvs status 2>/dev/null | awk '/Status:/ { if ($$4 != "Up-to-date") print $$2 }'`; \
-		if [ "x$$modified" != "x" ]; then \
-			echo "There are modified files: $$modified"; \
-			echo "Commit first"; \
-			exit 1; \
-		fi; \
-	fi
-	sed "/VERSION/s/\".*\"/\"$(VER)\"/" <version.h >version.h.tmp
-	date="`date +'%d %b %Y'`"; sed "/VERSION_DATE/s/\".*\"/\"$$date\"/" <version.h.tmp >version.h
-	rm version.h.tmp
-	if [ -d CVS ]; then \
-		cvs commit -m"Raised version to $(VER)" version.h; \
-		cvs tag RELEASE-`echo $(VER) | sed 's/\./-/g'`; \
-	fi
-

Deleted: projects/haf/trunk/dosfstools/README.Atari
===================================================================
--- projects/haf/trunk/dosfstools/README.Atari	2007-03-22 15:59:55 UTC (rev 10724)
+++ projects/haf/trunk/dosfstools/README.Atari	2007-03-22 16:02:08 UTC (rev 10725)
@@ -1,60 +0,0 @@
-
-Atari format support
-====================
-
-Both mkdosfs and dosfsck now can also handle the Atari variation of
-the MS-DOS filesystem format. The Atari format has some minor
-differences, some caused by the different machine architecture (m68k),
-some being "historic" (Atari didn't change some things that M$
-changed).
-
-Both tools automatically select Atari format if they run on an Atari.
-Additionally the -A switch toggles between Atari and MS-DOS format.
-I.e., on an Atari it selects plain DOS format, on any other machine it
-switches to Atari format.
-
-The differences are in detail:
-
- - Atari TOS doesn't like cluster sizes != 2, so the usual solution
-   for bigger partitions was to increase the logical sector size. So
-   mkdosfs can handle sector sizes != 512 now, you can also manually
-   select it with the -S option. On filesystems larger than approx. 32
-   MB, the sector size is automatically increased (stead of the
-   cluster size) to make the filesystem fit. mkdosfs will always use 2
-   sectors per cluster (also with the floppy standard configurations),
-   except when directed otherwise on the command line.
-
- - From the docs, all values between 0xfff8 and 0xffff in the FAT mark
-   an end-of-file. However, DOS usually uses 0xfff8 and Atari 0xffff.
-   This seems to be only an consmetic difference. At least TOS doesn't
-   complain about 0xffff EOF marks. Don't know what DOS thinks of
-   0xfff8 :-) Anyway, both tools use the EOF mark common to the
-   system (DOS/Atari).
-
- - Something similar of the bad cluster marks: On Atari the FAT values
-   0xfff0 to 0xfff7 are used for this, under DOS only 0xfff7 (the
-   others can be normal cluster numbers, allowing 7 more clusters :-)
-   However, both systems usually mark with 0xfff7. Just dosfsck has to
-   interpret 0xfff0...0xfff7 differently.
-
- - Some fields in the boot sector are interpreted differently. For
-   example, Atari has a disk serial number (used to aid disk change
-   detection) where DOS stores the system name; the 'hidden' field is
-   32 bit for DOS, but 16 bit for Atari, and there's no 'total_sect'
-   field; the 12/16 bit FAT decision is different: it's not based on
-   the number of clusters, but always FAT12 on floppies and FAT16 on
-   hard disks. mkdosfs nows about these differences and constructs the
-   boot sector accordingly.
-
- - In dosfsck, the boot sector differences also have to known, to not
-   warn about things that are no error on Atari. In addition, most
-   Atari formatting tools fill the 'tracks' and 'heads' fields with 0
-   for hard disks, because they're meaningless on SCSI disks (Atari
-   has/had no IDE). Due to this, the check that they should be
-   non-zero is switched off.
-
- - Under Atari TOS, some other characters are illegal in filenames:
-   '<', '>', '|', '"', and ':' are allowed, but all non-ASCII chars
-   (codes >= 128) are forbidden.
-
-- Roman <Roman.Hodek at informatik.uni-erlangen.de>

Deleted: projects/haf/trunk/dosfstools/TODO
===================================================================
--- projects/haf/trunk/dosfstools/TODO	2007-03-22 15:59:55 UTC (rev 10724)
+++ projects/haf/trunk/dosfstools/TODO	2007-03-22 16:02:08 UTC (rev 10725)
@@ -1,11 +0,0 @@
-                                                    -*- mode: indented-text -*-
-
- - dosfsck: Better checking of file times: ctime <= mtime <= atime
-
- - mkdosfs: If /etc/bootsect.dos (or similar) exists, use it as a
-   template for generating boot sectors. This way, you can, e.g., make
-   bootable DOS disks.
-
- - dosfsck: read-only sector test (-t without -a or -r); just print
-   out errors.
-

Added: projects/haf/trunk/dosfstools/dosfstools_2.11.tar.gz
===================================================================
(Binary files differ)


Property changes on: projects/haf/trunk/dosfstools/dosfstools_2.11.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Deleted: projects/haf/trunk/dosfstools/version.h
===================================================================
--- projects/haf/trunk/dosfstools/version.h	2007-03-22 15:59:55 UTC (rev 10724)
+++ projects/haf/trunk/dosfstools/version.h	2007-03-22 16:02:08 UTC (rev 10725)
@@ -1,8 +0,0 @@
-#ifndef _version_h
-#define _version_h
-
-#define	VERSION			"2.8"
-#define VERSION_DATE	"28 Feb 2001"
-
-#endif  /* _version_h */
-


More information about the maemo-commits mailing list