問題タブ [unmount]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Windowsや電話で直接表示できるプログラムでsdcardにフォルダーを作成する方法
データを保存するフォルダを作成するAndroidアプリケーションを作成しましたが、USBが接続されているときにすぐにウィンドウに表示されるようにしたいです。現在、モバイル デバイスを再起動するか、SD カードをマウントしてマウント解除した後にのみ表示されます。または、デバイスをプログラムでマウントおよびアンマウントする方法さえありますか?
誰かが私にこのスニペットを勧めます
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://" + Environment.getExternalStorageDirectory())));
しかし、このコードを適用する方法、またはこれが私の懸念に当てはまるかどうかを理解できないようです。
android - Failed to unmount /mnt/secure/staging
android Unable to access files in SD card ####Android无法访问SD卡中的文件</p>
I am working on application where it create text files in the SD card.
I have a receiver which will execute logic to create files in SD card from that point I will keep on store some data into that .
So far it is working properly , but suddenly I stopped working.
I checked logcat output , I found some logs related to SD card mounting.
But do not have an idea to how to resolve this issue.
below are the log statements:
I have added permission android.permission.WRITE_EXTERNAL_STORAGE
bash - 外付けハード ドライブを bash でアンマウントする
したがって、これは明らかに非常に単純なはずですが、オンラインで適切な回答を見つけるのに苦労しました.
マウントされた外付けUSBハードドライブがあります。
bashを使用してアンマウントしたいと思います。(基本的に、nautilusで外付けハードドライブを右クリックして「マウント解除」を選択するための同等のbashコマンドを探しています)
どうすればこれを達成できますか?
java - 強制的にアンマウントする必要がありますか?
フラッシュドライブから実行するプログラムを設計しました。私のアイデアは、ドライブを簡単に「安全に取り外す」ことができるように、プログラムにイジェクト ボタンを配置することでした。ただし、Mac では、強制的にアンマウントしない限り、アプリケーションの実行中にドライブをアンマウントすることはできません。私の質問は、これを行うべきですか?
強制アンマウントは、ドライブを引き抜くのと似ていませんか? このオプションを簡単に利用できるようにしても安全ですか?
また、代替手段はありますか?
linux - Is this Possible to know device Mounting and Unmounting Time in Ubuntu?
from dmesg
we can know that particular device has been mounted or unmounted.
But I want to know on which time the device has been mounted or unmounted.