在mount里看到哪个设备文件的一些笔记
筆記:這個(gè)管理界面還是比較方便的。接下來(lái)我測(cè)試出一個(gè)問(wèn)題,就是默認(rèn)用xp上格式化好的FAT32格式的盤(pán),在這個(gè)BT上操作不是很正常,當(dāng)BT下載到數(shù)據(jù)開(kāi)始創(chuàng)建文件的時(shí)候,如果刷新控制臺(tái),會(huì)不斷創(chuàng)建文件,每秒4M左右的速度,占滿整個(gè)存儲(chǔ)空間,其實(shí)這個(gè)時(shí)候下載已經(jīng)中斷,整個(gè)環(huán)境已經(jīng)不正常了。只有拔下整個(gè)上網(wǎng)卡,重新格式化。
查看日志發(fā)現(xiàn)是在報(bào)塊錯(cuò)誤,然后就用telnet進(jìn)入設(shè)備,想用EXT3格式,這個(gè)是linux的格式,應(yīng)該兼容自家的系統(tǒng)比較好。先格式化TF卡,這是為了插入路由器后能在mount里看到哪個(gè)設(shè)備文件:(下面顯示的例子是后來(lái)編輯的,內(nèi)容只是舉例和前述設(shè)備可能不符)
輸入mountroot@RT-00904cc00451:/tmp/home/root# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda4 on /tmp/mnt/sda4 type fat32 (rw,nodev,noatime,data=ordered)
可以看到最后一個(gè),驅(qū)動(dòng)設(shè)備是/dev/sda4,掛載點(diǎn)是/tmp/mnt/sda4。
如果要格式化,那么用mkfs.ext3 /dev/sda4。前提要umount掉先。
格式化過(guò)程大概如下:
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1226400 inodes, 2451912 blocks
122595 blocks (5.00%) reserved for the super user
First data block=0
75 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Writing inode tables: done
Creating journal (32768 blocks): done
by http://www.openeim.com/
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.? Use tune2fs -c or -i to override.
完成后就可以正常使用了。
總結(jié)
以上是生活随笔為你收集整理的在mount里看到哪个设备文件的一些笔记的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: ·必须《飞鸽~飞鸽传书》
- 下一篇: 遵循学术写作的九步骤,让写论文变成一件简