Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HFS+: not a block device (but mounting it manually works) #32

Open
probonopd opened this issue Oct 3, 2021 · 1 comment
Open

HFS+: not a block device (but mounting it manually works) #32

probonopd opened this issue Oct 3, 2021 · 1 comment

Comments

@probonopd
Copy link

Attaching a HFS+ formatted USB stick does not result in it being automounted.

FreeBSD% cat /var/log/automount.log
(...)
/dev/ugen4.7: attach
command 'simple-mtpfs' not found
/dev/da1: attach
/dev/da1: not a block device

Note that it says /dev/da1: not a block device yet doing this manually does the trick:

FreeBSD% hfsfuse --force /dev/da1 /mnt -o ro 

FreeBSD% ls /mnt
Install OS X Mavericks.app
System
usr
Library

This seems to be the culprit:

FreeBSD% sudo -E sh -x /usr/local/sbin/automount da1 attach
(...)
+ __wait_for_device /dev/da1
+ local 'COUNT=0'
+ dd 'if=/dev/da1' 'of=/dev/null' 'conv=sync' 'count=1' 'bs=8k'
+ __check_block_device /dev/da1
+ fstyp /dev/da1
+ __log '/dev/da1: not a block device'
+ date '+%Y-%m-%d %H:%M:%S'
+ echo 2021-10-04 00:46:48 '/dev/da1: not a block device'
+ exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants