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

where are HDs mounted? #9

Open
UKenGB opened this issue Mar 16, 2023 · 2 comments
Open

where are HDs mounted? #9

UKenGB opened this issue Mar 16, 2023 · 2 comments

Comments

@UKenGB
Copy link

UKenGB commented Mar 16, 2023

Successfully used node-acp to allow ssh access into my Time Capsule, but how can I access the actual drive containing the Time Machine sparse bundles?

I realise I can mount the drive on a Mac, but I want to set file ownership and permissions which I cannot do over the network. So now, logged in via SSH, I was expecting to find them mounted on /Volumes, or /mnt possibly, but nope, not there.

No 'find' command to help search, but is the disk never actually mounted and the 'sever' simply uses the raw device? Seems unlikely though. Is it even possible?

Anyone help? How can I now access the hard drive contents?

@UKenGB
Copy link
Author

UKenGB commented Mar 16, 2023

Needless to say, within seconds of posting the question, I discover the answer. Which is:-

They are NOT mounted within the Airport itself until remotely connected and then they appear in /Volumes on the Airport. Hence why I couldn't previously find them as nothing was remotely connecting to share the volume(s).

@krackers
Copy link

If it's not currently mounted, you need to mount it yourself. You can use mount -t hfs for hfs specific (probably /dev/dk2). See https://github.com/ipatch/theairportwiki/wiki/build-a-cross-compile-NetBSD-toolchain-armv6-Notes for general info.

You can try sysctl hw.disknames to get the partitions and raw disk drive. (latter can be used with atactl)

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