format-udf
format-udf copied to clipboard
Find a way to auto-mount (instead of asking user to disconnect/reconnect)
sudo mount -a
doesn't work
Some tool like partprobe
that can work without an actual partition table?..
You could try kpartx (from multipath-tools).
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.
diskutil mount diskX
works fine on Mac OS...