Package: hfsprogs Version: 332.25-8 Severity: minor Tags: patch The manpage for the hfs/hfsplus mkfs and fsck tools are taken more or less directly from MacOS X and do not reflect the actual situation on Linux systems.
The patch below corrects the spelling of the tools from fsck_hfs to fsck.hfs and newfs_hfs to mkfs.hfs respectively and fixes a few other minor issues: - stop mentioning rc.boot as the caller of fsck during boot time. The actual caller depends on the init system used and is not of any importance to the user, so just remove this detail. - remove a warning the fsck needs to be run on the raw device, this is not true for Linux which provides a cache coheren block device node. - do not mention MacOS-specific tools for partitioning disks. We have quite a few tools on Linux, but at least under Linux a partition table is not required anyway. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.36-rc2+ (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/bash Versions of packages hfsprogs depends on: ii libbsd0 0.2.0-1 utility functions from BSD systems ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libssl0.9.8 0.9.8o-2 SSL shared libraries hfsprogs recommends no packages. hfsprogs suggests no packages. -- no debconf information
Index: hfsprogs-332.25/fsck_hfs.tproj/fsck_hfs.8 =================================================================== --- hfsprogs-332.25.orig/fsck_hfs.tproj/fsck_hfs.8 2010-10-01 11:52:44.854842978 +0200 +++ hfsprogs-332.25/fsck_hfs.tproj/fsck_hfs.8 2010-10-01 11:57:08.073842985 +0200 @@ -19,18 +19,18 @@ .Dt FSCK_HFS 8 .Os "Mac OS X" .Sh NAME -.Nm fsck_hfs +.Nm fsck.hfs .Nd HFS file system consistency check .Sh SYNOPSIS -.Nm fsck_hfs +.Nm fsck.hfs .Fl q .Op Fl df .Ar special ... -.Nm fsck_hfs +.Nm fsck.hfs .Fl p .Op Fl df .Ar special ... -.Nm fsck_hfs +.Nm fsck.hfs .Op Fl n | y | r .Op Fl dfgl .Op Fl m Ar mode @@ -52,9 +52,7 @@ The second form of preens the specified file systems. It is normally started by .Xr fsck 8 -run from -.Pa /etc/rc.boot -during automatic reboot, when a HFS file system is detected. +during systen boot, when a HFS file system is detected. When preening file systems, .Nm will fix common inconsistencies for file systems that were not @@ -144,8 +142,6 @@ specified file system for a new catalog to the leaf nodes in the existing catalog file. .El .Pp -Because of inconsistencies between the block device and the buffer cache, -the raw device should always be used. .Sh SEE ALSO .Xr fsck 8 .Sh BUGS Index: hfsprogs-332.25/newfs_hfs.tproj/newfs_hfs.8 =================================================================== --- hfsprogs-332.25.orig/newfs_hfs.tproj/newfs_hfs.8 2010-10-01 11:59:56.025842978 +0200 +++ hfsprogs-332.25/newfs_hfs.tproj/newfs_hfs.8 2010-10-01 12:02:22.967842979 +0200 @@ -19,10 +19,10 @@ .Dt NEWFS_HFS 8 .Os "Mac OS X" .Sh NAME -.Nm newfs_hfs +.Nm mkfs.hfs .Nd construct a new HFS Plus file system .Sh SYNOPSIS -.Nm newfs_hfs +.Nm mkfs.hfs .Op Fl N Ar [partition-size] .Op Fl U Ar uid .Op Fl G Ar gid @@ -37,19 +37,13 @@ .Op Fl v Ar volume-name .Ar special .Sh DESCRIPTION -.Nm Newfs_hfs +.Nm mkfs.hfs builds an HFS Plus file system on the specified special device. -Before running -.Nm newfs_hfs -the disk should be partitioned using the -.Em Disk Utility -application or -.Xr pdisk 8 . .Pp The file system default parameters are calculated based on the size of the disk partition. Typically the defaults are reasonable, however -.Nm newfs_hfs +.Nm mkfs.hfs has several options to allow the defaults to be selectively overridden. The options are as follows: .Bl -tag -width Fl