日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

在mount里看到哪个设备文件的一些笔记

發布時間:2025/3/15 编程问答 19 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在mount里看到哪个设备文件的一些笔记 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

筆記:這個管理界面還是比較方便的。接下來我測試出一個問題,就是默認用xp上格式化好的FAT32格式的盤,在這個BT上操作不是很正常,當BT下載到數據開始創建文件的時候,如果刷新控制臺,會不斷創建文件,每秒4M左右的速度,占滿整個存儲空間,其實這個時候下載已經中斷,整個環境已經不正常了。只有拔下整個上網卡,重新格式化。

查看日志發現是在報塊錯誤,然后就用telnet進入設備,想用EXT3格式,這個是linux的格式,應該兼容自家的系統比較好。先格式化TF卡,這是為了插入路由器后能在mount里看到哪個設備文件:(下面顯示的例子是后來編輯的,內容只是舉例和前述設備可能不符)

輸入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)

可以看到最后一個,驅動設備是/dev/sda4,掛載點是/tmp/mnt/sda4。

如果要格式化,那么用mkfs.ext3 /dev/sda4。前提要umount掉先。

格式化過程大概如下:

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.

完成后就可以正常使用了。

總結

以上是生活随笔為你收集整理的在mount里看到哪个设备文件的一些笔记的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。