找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5489|回复: 10

DD-wrt 挂U盘问题

[复制链接]

刷了最新版dd-drt后 发现U盘能识别。但是无法自动挂载了。请问是什么原因?

同时求 自动挂硬盘的命令

(EXT3文件格式的U盘刷新固件前可自动挂载的。)





我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
Disk Info--- /dev/sda
Block device, size 7.492 GiB (8044675072 bytes)
DOS/MBR partition map
Partition 1: 7.492 GiB (8044642816 bytes, 15712193 sectors from 63, bootable)
Type 0x83 (Linux)
Ext3 file system
Volume name "ext3_8G"
UUID 6368746F-2074-616B-6F65-207575696400 (NCS)
Volume size 7.492 GiB (8044642304 bytes, 7856096 blocks of 1 KiB)
Status: Not mounted
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
  关于拔U盘之前执行的命令。(问题解决,附自动执行的批处理文件) https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=18919
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
奇怪了

换了个硬盘 倒是可以认出来
又谁知道什么原因??? ext3格式的在别的版本的dd-wrt是可以自动挂载的



--- /dev/sda
Block device, size 232.9 GiB (250059350016 bytes)
DOS/MBR partition map
Partition 1: 30.27 GiB (32506274304 bytes, 63488817 sectors from 63)
Type 0x0C (Win95 FAT32 (LBA))
Windows NTLDR boot loader
FAT32 file system (hints score 4 of 5)
Volume size 30.26 GiB (32490389504 bytes, 1983056 clusters of 16 KiB)
Partition 2: 202.6 GiB (217550430720 bytes, 424903185 sectors from 63488880)
Type 0x0F (Win95 Ext'd (LBA))
Partition 5: 202.6 GiB (217550398464 bytes, 424903122 sectors from 63488880+63)
Type 0x07 (HPFS/NTFS)
XFS file system, version 4
Volume name ""
UUID C1BBB3A6-E135-45A6-B6E9-56E3AA3E103D (DCE, v4)
Volume size 202.6 GiB (217550356480 bytes, 53112880 blocks of 4 KiB)
Status: Mounted on /mnt
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/mnt/sda_part1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)
root@DD-WRT:~#
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层



为什么   umount /mnt  硬盘没有被卸载掉????
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
最后总算是卸载了


/dev/sda1 on /tmp/mnt/sda_part1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)

umount -l /dev/sda1   成功卸载
umount /dev/sda1  无法卸载掉 ,为什么? yin
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 buypro2 于 2012-3-31 14:26 编辑

mount /dev/sda1 /tmp/mnt/sda_part1    成功加载

mount -o iocharset=utf8 /dev/sda1 /mnt/   成功加载


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
mount -o iocharset=utf8 /dev/sda1 /tmp/mnt/sda_part1   (文件名正确显示中文)
没有指明  iocharset=utf8 会有乱码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
/dev/sda是磁盘块,/dev/sda1是第一分区
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

路过,看看。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 06:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表