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

Find a way to auto-mount (instead of asking user to disconnect/reconnect) #4

Open
JElchison opened this issue Aug 27, 2014 · 4 comments

Comments

@JElchison
Copy link
Owner

sudo mount -a doesn't work

@IvanAnishchuk
Copy link

Some tool like partprobe that can work without an actual partition table?..

@marcinfalkiewicz
Copy link

You could try kpartx (from multipath-tools).

@JElchison
Copy link
Owner Author

Sadly, partprobe falls short, in that it only causes the kernel to re-inspect the partition table. It does not, however, go a step further and tell the OS to reattempt auto-mounting. This may be a pipe dream, especially in a POSIX-compliant fashion.

I don't mind using separate tools for Linux vs. OS X, but I have yet to find a tool that accomplishes what I'm looking for one on OS, let alone two.

@dwe11er: If i understand kpartx correctly, it's a manual mounting tool. Doesn't refresh the kernel's view of the partition table, also doesn't tell the OS to auto-mount again.

@biblicabeebli
Copy link

diskutil mount diskX works fine on Mac OS...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants