早教吧作业答案频道 -->其他-->
vold.fstab怎么修改让他支持OTG?Copyright(c)2011,TheLinuxFoundation.Allrightsreserved.##Redistributionanduseinsourceandbinaryforms,withorwithout#modification,arepermittedprovidedthatthefollowingconditionsare#met:#
题目详情
vold.fstab怎么修改让他支持OTG?
Copyright (c)
2011, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must
retain the above copyright
# notice, this list of conditions
and the following disclaimer.
# * Redistributions in binary form
must reproduce the above
# copyright notice, this list of
conditions and the following
# disclaimer in the documentation
and/or other materials provided
# with the distribution.
# * Neither the name of The Linux
Foundation nor the names of its
# contributors may be used to
endorse or promote products derived
# from this software without
specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
# modified by songxh For UMS Partiton begain
dev_mount sdcard /storage/sdcard0 29
/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0
dev_mount sda /storage/UDiskA auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdb /storage/UDiskB auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdc /storage/UDiskC auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdd /storage/UDiskD auto /devices/platform/msm_hsusb_host/usb2
dev_mount sde /storage/UDiskE auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdf /storage/UDiskF auto /devices/platform/msm_hsusb_host/usb2
# modified by songxh For UMS Partiton end
Copyright (c)
2011, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must
retain the above copyright
# notice, this list of conditions
and the following disclaimer.
# * Redistributions in binary form
must reproduce the above
# copyright notice, this list of
conditions and the following
# disclaimer in the documentation
and/or other materials provided
# with the distribution.
# * Neither the name of The Linux
Foundation nor the names of its
# contributors may be used to
endorse or promote products derived
# from this software without
specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
# modified by songxh For UMS Partiton begain
dev_mount sdcard /storage/sdcard0 29
/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0
dev_mount sda /storage/UDiskA auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdb /storage/UDiskB auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdc /storage/UDiskC auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdd /storage/UDiskD auto /devices/platform/msm_hsusb_host/usb2
dev_mount sde /storage/UDiskE auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdf /storage/UDiskF auto /devices/platform/msm_hsusb_host/usb2
# modified by songxh For UMS Partiton end
▼优质解答
答案和解析
在vold.fstab的末尾添加如下代码:
# usb otg diskdev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
# usb otg diskdev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
看了vold.fstab怎么修改让...的网友还看了以下:
小华要买些铅笔,由于铅笔减价20%,用同样的钱可以多卖6支,他原计划要买几支? 2020-05-13 …
蜘蛛8条腿,蜻蜓6条腿,现在有蜘蛛蜻蜓若干支,他们共120条腿,且蜻蜓的只数是蜘蛛的2倍,它们各有 2020-05-14 …
商业银行的主要职能包括( )。 A.信用创造 B.信用中介 C.制定货币政策 D.支他中介 E.宏观 2020-05-30 …
小民和小红共有58支笔,如果小民给小红9支,他们的笔一样多,小民和小红原来各有多少支? 2020-06-14 …
小东和胖胖共有10支铅笔,如果小东给了胖胖2支,他们所拥有铅笔数量就一样多.小东和胖胖原来各有几铅 2020-06-19 …
天干地支天干:甲、乙、丙、丁、戊、己、庚、辛、壬、癸地支:子、丑、寅、卯、辰、巳、午、未、申、酉、 2020-06-21 …
小李买了若干支铅笔和圆珠笔,铅笔1.2元一支,圆珠笔1.7元一支,他总共花了16.4元,则他买了几 2020-07-08 …
豆豆有8支铅笔,他比丫丫少2支,他们一共有多少支铅笔? 2020-07-08 …
作定语的成分不定式作定语:Theboytowritethisletterneedsapen./写这封 2020-12-26 …
英语翻译1.为了应付家庭的各项开支,他只得在晚上做额外的工作.(meet)2.茶杯上的指纹已向警察证 2021-01-01 …