• HFS+

    From peter@easthope.ca@21:1/5 to All on Tue Jan 21 04:20:01 2025
    Hi,

    # cat /etc/deb*n
    12.9
    # uname -a
    Linux imager 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux
    # dpkg -l | grep hfs
    ii hfsplus 1.0.4-17amd64 Tools to access HFS+ formatted volumes
    ii hfsutils 3.2.6-15amd64 Tools for reading and writing Macintosh volumes
    ii libfshfs-utils 20201104-1+b4amd64 library to access the Mac OS Hierarchical File System -- Utilities
    ii libfshfs1:amd64 20201104-1+b4amd64 library to access the Mac OS Hierarchical File System
    ii libguestfs-hfsplus:amd64 1:1.48.6-2amd64 guest disk image management system - HFS+ support
    ii libhfsp0 1.0.4-17amd64 Shared library to access HFS+ formatted volumes
    ii squashfs-tools 1:4.5.1-1amd64 Tool to create and append to squashfs filesystems
    # which fsck.hfs
    # which fsck.hfsplus
    # which fsck_hfs
    # which fsck_hfsplus
    #

    Can HFS+ be checked or formatted in this system?

    Thx, ... P.



    --
    VoIP: +1 604 670 0140
    work: https://en.wikibooks.org/wiki/User:PeterEasthope

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to peter@easthope.ca on Tue Jan 21 05:00:02 2025
    On Mon, Jan 20, 2025 at 18:18:19 -0700, peter@easthope.ca wrote:
    ii hfsplus 1.0.4-17amd64 Tools to access HFS+ formatted volumes
    ii hfsutils 3.2.6-15amd64 Tools for reading and writing Macintosh volumes

    # which fsck.hfs
    # which fsck.hfsplus
    # which fsck_hfs
    # which fsck_hfsplus

    Can HFS+ be checked or formatted in this system?

    I looked at the package file lists for those two packages, and one of
    the things that looked interesting was "hpfsck".

    Here's its man page: <https://manpages.debian.org/bookworm/hfsplus/hpfsck.1.en.html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to Greg Wooledge on Tue Jan 21 06:10:01 2025
    On 1/20/25 22:58, Greg Wooledge wrote:
    On Mon, Jan 20, 2025 at 18:18:19 -0700, peter@easthope.ca wrote:
    ii hfsplus 1.0.4-17amd64 Tools to access HFS+ formatted volumes
    ii hfsutils 3.2.6-15amd64 Tools for reading and writing Macintosh volumes

    # which fsck.hfs
    # which fsck.hfsplus
    # which fsck_hfs
    # which fsck_hfsplus

    Can HFS+ be checked or formatted in this system?

    I looked at the package file lists for those two packages, and one of
    the things that looked interesting was "hpfsck".

    Here's its man page: <https://manpages.debian.org/bookworm/hfsplus/hpfsck.1.en.html

    Indeed. Based on the name I would have guessed that it's for OS/2's HPFS.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From peter@easthope.ca@21:1/5 to All on Tue Jan 21 15:50:01 2025
    From: didier gaumet <didier.gaumet@gmail.com>
    Date: Tue, 21 Jan 2025 10:25:10 +0100
    I would look at theses packages:
    ...
    hfsplus/stable 1.0.4-17 amd64
    ...
    hfsprogs/stable 540.1.linux3-5+b1 amd64
    ...
    hfsutils/stable 3.2.6-15 amd64
    ...
    hfsutils-tcltk/stable 3.2.6-15 amd64

    # apt-get install hfsprogs
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package hfsprogs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'hfsprogs' has no installation candidate

    The others you mentioned are installed.
    Ref. <20250121030050.9C3C420C19@bendel.debian.org>

    Thanks, ... P.


    --
    VoIP: +1 604 670 0140
    work: https://en.wikibooks.org/wiki/User:PeterEasthope

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From peter@easthope.ca@21:1/5 to All on Tue Jan 21 15:30:01 2025
    Greg,

    From: Greg Wooledge <greg@wooledge.org>
    Date: Mon, 20 Jan 2025 22:58:51 -0500
    I looked at the package file lists for those two packages, and one of
    the things that looked interesting was "hpfsck".

    Thanks for the reply.

    # hpfsck -v /dev/sdc2
    *** Checking Volume Header:
    hpfsck: hpfsck: error writing to medium (Bad file descriptor)

    Nothing further. The Mac system where this drive was used is
    similarly baffled and offers no progress.

    Lacking of knowledge of HFS, I wonder whether the file system
    directory is broken.

    If the drive is left in this state, the owner will "recycle"; meaning
    it will go to a smelting furnace. https://en.wikipedia.org/wiki/Smelting

    The next obvious step for me is attempt reformatting with FAT or ext. Otherwise, wipe, partition and then format.

    Thx, ... P.





    --
    VoIP: +1 604 670 0140
    work: https://en.wikibooks.org/wiki/User:PeterEasthope

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to peter@easthope.ca on Tue Jan 21 15:50:01 2025
    On Tue 21 Jan 2025 at 06:26:17 (-0700), peter@easthope.ca wrote:
    From: didier gaumet <didier.gaumet@gmail.com>
    Date: Tue, 21 Jan 2025 10:25:10 +0100
    I would look at theses packages:
    ...
    hfsplus/stable 1.0.4-17 amd64
    ...
    hfsprogs/stable 540.1.linux3-5+b1 amd64
    ...
    hfsutils/stable 3.2.6-15 amd64
    ...
    hfsutils-tcltk/stable 3.2.6-15 amd64

    # apt-get install hfsprogs
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package hfsprogs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'hfsprogs' has no installation candidate

    The others you mentioned are installed.
    Ref. <20250121030050.9C3C420C19@bendel.debian.org>

    You need non-free. I think buster was the last time it
    was in the main distribution.

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)