Jan 10

SmartQ V7折腾记 第二篇 所谓的128M用户可用空间 不指定

felix021 @ 2010-1-10 14:57 [IT » 硬件] 评论(0) , 引用(0) , 阅读(5324) | Via 本站原创 | |
(这篇文章已经在bbs.zhiqi.com.cn发出去了,在这里润色一下再贴出来)

前面已经把openssh-server搞定了,接下来看看里头的东西。智器官方的介绍说的是2G的空间,其中用户可用128MB,听起来太少了。那其他的空间都哪里去了呢,看看先。

#df -lh 可以看到
引用

Filesystem Size Used Avail Use% Mounted on
/dev/ndda1 1.1G 579M 450M 57% / #这个是Ubuntu的根分区,用了579M,还有450M可用
/dev/ndda2 124M 13M 106M 11% /home #这个是用户分区,124(其实是128M,其中4M文件系统用了吧)
/dev/ndda3 99M 2.1M 97M 3% /media/tmp/ndda3 #这个是我自己挂载的,里面有Windows等内容,可以判断出来是WinCE的分区
/dev/mmcblk1p1 3.8G 2.7G 1.2G 71%
/media/MY FLASH DI #这个是SD卡 /dev/sda4 3.8G 2.5G 1.4G 66%
/media/WIN7 #这个是额外插上去的U盘,之所以识别成4,我想是因为前面已经有了123。

另外, # ls /dev 可以看到有个ndda,再 #fdisk -l /dev/ndda,可以看到
引用
root@SmartQ:/media/tmp# fdisk -l /dev/ndda Disk
/dev/ndda: 1883 MB, 1883242496 bytes
1 heads, 64 sectors/track, 57472 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x3079ae40
Device Boot Start End Blocks Id System
/dev/ndda1 33 35232 1126400 b W95 FAT32 (Ubuntu /)
Partition 1 does not end on cylinder boundary.
/dev/ndda2 35233 39328 131072 6 FAT16 (Ubuntu /home)
Partition 2 does not end on cylinder boundary.
/dev/ndda3 39329 42528 102400 6 FAT16 (WinCE)
Partition 3 does not end on cylinder boundary.
/dev/ndda4 42529 57472 478208 5 Extended (扩展分区,肯定是Andoid的了)
Partition 4 does not end on cylinder boundary.
/dev/ndda5 42530 46436 125024 83 Linux
/dev/ndda6 46438 51321 156288 83 Linux
/dev/ndda7 51323 53154 58624 83 Linux
/dev/ndda8 53156 57472 138144 83 Linux

每个Block的大小是1024B,也就是1K,换算过来,从1~8共8个分区的大小是(MB)
1126400/1024=1100
131072/1024=128
102400/1024=100
478208/1024=467
125024/1024=122
156288/1024=152
58624/1024=57.25
138144/1024=134.91
其中第四个是扩展分区,其实就是后面四个逻辑分区的"合体",
很明显可以看出来各个分区的作用,已经标注在上面的引用里面了。

结论:
1. 第一个分区是Ubuntu的根分区,有450MB可用空间,多安一点软件其实没问题
2. 第二个分区是Ubuntu的/home分区,其实就是桌面上的我的文档,可用空间124MB,这就是官方宣称的128MB可用空间了
3. 第三个分区是Windows分区,有97MB的可用空间
4. 第四个分区的Andoid的,有467MB, 鉴于我觉得那个Andoid很鸡肋,完全可以拿来玩。
5. 综上所述,各个系统之间的可用空间是独立的。

下一步,准备拿/dev/ndda4开刀。



欢迎扫码关注:




转载请注明出自 ,如是转载文则注明原出处,谢谢:)
RSS订阅地址: https://www.felix021.com/blog/feed.php
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   *非必须
网址   电邮   [注册]