我有一个红火,我喜欢将它插入我的Mac充电(也可以做一些开发。)它可以正常工作,但每次都必须卸下它很烦人。
如果将其插入USB时,是否有任何方法可以防止它自动安装?
我有一个红火,我喜欢将它插入我的Mac充电(也可以做一些开发。)它可以正常工作,但每次都必须卸下它很烦人。
如果将其插入USB时,是否有任何方法可以防止它自动安装?
I've got a Kindle Fire and I like to plug it in to my Mac to charge up (and also to do some development.) It works fine but it is annoying to have to unmount it every time.
Is there any way to prevent it from auto-mounting when you plug it into USB?
检查您的手机应显示某些名为"Connect To PC" 的设置。将"默认连接类型" 更改为"仅收取" 。
Check Your Phone it should show some setting named 'Connect to PC'. Change the "Default connection type" to "Charge only".
我认为这个。
这与我的第1根科尔德火和我的Mac运行OS X有用。
首先,请注意,Kindle Fire安装为卷"Kindle" 。第二,意识到您的OS X安装上有一个名为/ etc / private / fstab的文件,它控制文件系统安装。
第三,使用命令 sudo vifs
在终端中或以否则编辑/ etc / private / fstab文件并插入以下行:
# Kindle Fire LABEL=KINDLE none msdos rw,noauto
第四,请尝试通过USB插入Kindle Fire。它不应再自动安装。
奖金:这适用于插入时自动安装的任何Android设备。我的新HTC One(Verizon 32GB)自动安装HTC Sync Manager。它使用标签"CDROM" 。我上面添加了类似的一行,但是用"CDROM" 代替"Kindle" ,现在它停止提示我安装HTC Sync Manager。在这种情况下,我将这些行插入/ etc / private / fstab
# HTC One LABEL=CDROM none hfs rw,noauto
I figured this out.
This works with my 1st gen Kindle Fire and my Mac running OS X.
First, notice that the Kindle Fire mounts as the volume "KINDLE".
Second, realize that there is a file on your OS X installation called /etc/private/fstab which controls filesystem mounting.
Third, use the command sudo vifs
in Terminal or otherwise edit the /etc/private/fstab file and insert the following lines:
# Kindle Fire LABEL=KINDLE none msdos rw,noauto
Fourth, try plugging in your Kindle Fire via USB. It should not auto-mount anymore.
Bonus: this works for any Android device that auto-mounts when you plug it in. My new HTC One (Verizon 32GB) auto-mounts HTC Sync Manager. It uses the label "CDROM". I added a similar line above, but substituting "CDROM" for "KINDLE" and now it stops prompting me to install HTC Sync Manager. In this case, I inserted these lines into /etc/private/fstab
# HTC One LABEL=CDROM none hfs rw,noauto
有一些USB有关不支持足够的电源来改变数据,因此他们只是充电并没有安装。但我不知道你如何找到它们。尝试谷歌。
There are some USB Cabes that don't support enough power to change data, so they just charge and don't mount. But I don't know how you could find them. Try google for it.
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有