Blog型メモ帳 Ver.2019.08.20

ダラダラとそこはかとなく。Webメモ帳。日記。内容無し駄文。Wired思考アーカイブ。(1999/1/7~)

usbドライブのntfs領域のマウント

以下でマウントできた
>mount -t ntfs-3g /dev/sda6 /mnt -o force

で、その前にforce付けずにマウントしようとしたらできなかった。で、以下のようなエラーを吐いた。
どうも、windowsが使用を予約しているようで、それではじかれたらしい。で、forceは強制的にマウントする時のスイッチのようだ。

マウントされているドライブ類を調べる
>more /etc/fstab

ハードウェアの情報を表示する。
>dmesg


<エラー内容>
$LogFile indicates unclean shutdown (0, 1)
Failed to mount '/dev/sda6': サポートされていない操作です
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sda6 /mnt -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sda6 /mnt ntfs-3g force 0 0