[BEGIN] 2017/5/4 10:06:49 rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ ll 总用量 196 drwxr-xr-x 23 rootroot rootroot 4096 5月 3 09:08 ./ drwxr-xr-x 18 root root 4096 12月 16 14:42 ../ -rw------- 1 rootroot rootroot 29306 5月 3 18:00 .bash_history -rw-r--r-- 1 rootroot rootroot 220 8月 10 2016 .bash_
logout -rw-r--r-- 1 rootroot rootroot 3840 2月 22 14:33 .bashrc drwx------ 15 rootroot rootroot 4096 12月 7 12:52 .cache/ drwxrwxr-x 3 rootroot rootroot 4096 4月 12 13:33 cb4-linux-sdk-card/ drwx------ 3 rootroot rootroot 4096 9月 20 2016 .compiz/ drwx------ 16 rootroot rootroot 4096 12月 7 12:52 .config/ drwx------ 3 rootroot rootroot 4096 10月 13 2016 .dbus/ -rw-r--r-- 1 rootroot rootroot 25 9月 20 2016 .dmrc -rw-r--r-- 1 rootroot rootroot 8980 8月 10 2016 examples.desktop drwx------ 3 rootroot rootroot 4096 5月 3 09:08 .gconf/ drwx------ 3 rootroot rootroot 4096 4月 7 21:36 .gnome2/ drwx------ 2 rootroot rootroot 4096 9月 20 2016 .gnome2_private/ -rw------- 1 rootroot rootroot 17652 5月 3 09:08 .ICEauthority -rw------- 1 rootroot rootroot 283 9月 28 2016 .jack -rwx------ 1 rootroot rootroot 3840 2月 22 12:51 jdk16.bashrc* -rwx------ 1 rootroot rootroot 3637 7月 28 2016 jdk17.bashrc* drwxr-xr-x 3 rootroot rootroot 4096 9月 20 2016 .local/ drwx------ 4 rootroot rootroot 4096 9月 20 2016 .mozilla/ -rw-r--r-- 1 rootroot rootroot 675 8月 10 2016 .profile drwxrwxr-x 2 rootroot rootroot 4096 3月 20 19:05 wyb/ -rw------- 1 rootroot rootroot 67 5月 3 09:08 .Xauthority -rw------- 1 rootroot rootroot 784 5月 3 19:30 .xsession-errors -rw------- 1 rootroot rootroot 1439 5月 2 19:43 .xsession-errors.old drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 公共的/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 模板/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 视频/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016
图片/ drwx------ 2 rootroot rootroot 4096 8月 10 2016 未命名
文件夹/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 文档/ drwxr-xr-x 2 rootroot rootroot 4096 10月 24 2016 下载/ drwx------ 2 rootroot rootroot 4096 2月 27 10:12 新建
文件夹/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 音乐/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 桌面/ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ df -h df: "/run/user/1000/gvfs": 权限不够
文件系统 容量 已用 可用 已用% 挂载点 /dev/sdd2 21G 6.2G 14G 32% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 7.8G 4.0K 7.8G 1% /dev tmpfs 1.6G 1.4M 1.6G 1% /run none 5.0M 0 5.0M 0% /run/lock none 7.9G 76K 7.9G 1% /run/shm none 100M 48K 100M 1% /run/user /dev/sdd5 233M 36M 182M 17% /boot /dev/sda5 1.8T 1.7T 19G 99% /home /dev/sdb 1.8T 1.5T 251G 86% /home/cb2t1651 /dev/sdd7 195G 123G 63G 67% /home/wwt rootroot@cm-System-Product-Name:~$ cd /home/cb2t1651/ rootroot@cm-System-Product-Name:/home/cb2t1651$ ll 总用量 28 drwxrwxrwx 7 root root 4096 3月 29 16:54 ./ drwxr-xr-x 18 root root 4096 12月 16 14:42 ../ drwxrwxrwx 2 root root 4096 12月 16 15:01 fengdongshou/ drwxr-xr-x 5 tanhualiang tanhualiang 4096 4月 12 16:25 tanhualiang/ drwx------ 4 tanhualiang tanhualiang 4096 3月 29 16:54 .Trash-1011/ drwxrwxrwx 20 root root 4096 4月 28 12:50 wenyuanbo/ drwxrwxrwx 2 root root 4096 12月 16 15:01 zhouxu/ rootroot@cm-System-Product-Name:/home/cb2t1651$ cd .. rootroot@cm-System-Product-Name:/home$ ll 总用量 84 drwxr-xr-x 18 root root 4096 12月 16 14:42 ./ drwxr-xr-x 25 root root 4096 8月 10 2016 ../ drwxrwxrwx 7 root root 4096 3月 29 16:54 cb2t1651/ drwxr-xr-x 31 cm cm 4096 5月 4 10:05 cm/ drwxr-xr-x 7 cm01 cm01 4096 4月 14 10:36 cm01/ drwxr-xr-x 2 cm02 cm02 4096 8月 10 2016 cm02/ drwxr-xr-x 2 cm03 cm03 4096 8月 10 2016 cm03/ drwxr-xr-x 2 cm04 cm04 4096 8月 10 2016 cm04/ drwxr-xr-x 2 cm05 cm05 4096 8月 10 2016 cm05/ drwxr-xr-x 2 cm06 cm06 4096 8月 10 2016 cm06/ drwxr-xr-x 19 fengdongshou fengdongshou 4096 1月 10 10:37 fengdongshou/ drwx------ 2 root root 16384 8月 10 2016 lost+found/ drwxr-xr-x 23 rootroot rootroot 4096 5月 3 09:08 rootroot/ drwxr-xr-x 20 tanhualiang tanhualiang 4096 5月 3 17:28 tanhualiang/ drwxr-xr-x 23 wenyuanbo wenyuanbo 4096 11月 22 16:13 wenyuanbo/ drwxrwxrwx 17 rootroot rootroot 4096 5月 3 16:02 wwt/ drwxr-xr-x 3 xiongrong xiongrong 4096 4月 12 16:28 xiongrong/ drwxr-xr-x 6 zhouxu zhouxu 4096 2月 6 15:29 zhouxu/ rootroot@cm-System-Product-Name:/home$ rootroot@cm-System-Product-Name:/home$ rootroot@cm-System-Product-Name:/home$ sudo fdisk -lu [sudo] password for rootroot: Disk /dev/sda: 2000.4 GB,2000398934016 bytes 255 heads,63 sectors/track,243201 cylinders,total 3907029168 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00027761 设备 启动 起点 终点 块数 Id 系统 /dev/sda1 2046 3907028991 1953513473 5 扩展 /dev/sda5 2048 3907028991 1953513472 83 Linux Disk /dev/sdb: 2000.4 GB,total 3907029168 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/sdb doesn't contain a valid partition table Disk /dev/sdc: 3000.6 GB,3000592982016 bytes 255 heads,364801 cylinders,total 5860533168 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/sdc doesn't contain a valid partition table Disk /dev/sdd: 240.1 GB,240057409536 bytes 255 heads,29185 cylinders,total 468862128 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00058aad 设备 启动 起点 终点 块数 Id 系统 /dev/sdd1 * 2046 423940095 211969025 5 扩展 /dev/sdd2 423940096 468860927 22460416 83 Linux /dev/sdd5 2048 501759 249856 83 Linux /dev/sdd6 503808 9879551 4687872 82 Linux 交换 / Solaris /dev/sdd7 9881600 423940095 207029248 83 Linux rootroot@cm-System-Product-Name:/home$ cd cb2t1651/ rootroot@cm-System-Product-Name:/home/cb2t1651$ ll 总用量 28 drwxrwxrwx 7 root root 4096 3月 29 16:54 ./ drwxr-xr-x 18 root root 4096 12月 16 14:42 ../ drwxrwxrwx 2 root root 4096 12月 16 15:01 fengdongshou/ drwxr-xr-x 5 tanhualiang tanhualiang 4096 4月 12 16:25 tanhualiang/ drwx------ 4 tanhualiang tanhualiang 4096 3月 29 16:54 .Trash-1011/ drwxrwxrwx 20 root root 4096 4月 28 12:50 wenyuanbo/ drwxrwxrwx 2 root root 4096 12月 16 15:01 zhouxu/ rootroot@cm-System-Product-Name:/home/cb2t1651$ cd wenyuanbo/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo$ ll 总用量 87865220 drwxrwxrwx 20 root root 4096 4月 28 12:50 ./ drwxrwxrwx 7 root root 4096 3月 29 16:54 ../ drwxrwxrwx 7 cm cm 4096 12月 29 22:39 back_android_os/ drwxrwxrwx 3 rootroot rootroot 4096 2月 9 18:49 back_data/ drwxrwxrwx 5 cm cm 4096 2月 21 09:01 cm/ drwxrwxrwx 6 cm cm 4096 2月 22 14:14 cm_sdk_wyb/ drwxrwxrwx 4 cm cm 4096 1月 3 18:14 DV/ drwx------ 4 rootroot rootroot 4096 3月 24 14:24 r16_tinav1.0/ drwx------ 2 rootroot rootroot 4096 3月 23 15:57 r16_tinav1.0_普得/ drwx------ 4 rootroot rootroot 4096 3月 24 13:43 r16_tinav2.0/ drwx------ 8 rootroot rootroot 4096 4月 24 11:05 r16_tinav2.1/ drwx------ 3 rootroot rootroot 4096 3月 24 13:45 r16v10/ drwx------ 8 rootroot rootroot 4096 3月 31 10:51 r16v11/ drwxrwxr-x 5 rootroot rootroot 4096 3月 27 09:54 r18/ drwx------ 3 rootroot rootroot 4096 3月 14 10:33 r58/ drwx------ 4 rootroot rootroot 4096 4月 1 12:29 r58m/ drwx------ 4 rootroot rootroot 4096 3月 27 09:33 r58_tianv2.1/ drwx------ 3 rootroot rootroot 4096 3月 2 15:29 r8/ drwxrwxr-x 4 rootroot rootroot 4096 3月 2 15:29 r8_ruoge_android/ -rwxrw-r-- 1 rootroot rootroot 89973891542 12月 16 19:58 ubuntu14.04_xiaoyu.tar.gz* drwxrwxrwx 10 cm cm 4096 1月 6 15:31 wyb!!!!/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo$ mkdir 1 rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo$ ll 总用量 87865224 drwxrwxrwx 21 root root 4096 5月 4 10:08 ./ drwxrwxrwx 7 root root 4096 3月 29 16:54 ../ drwxrwxr-x 2 rootroot rootroot 4096 5月 4 10:08 1/ drwxrwxrwx 7 cm cm 4096 12月 29 22:39 back_android_os/ drwxrwxrwx 3 rootroot rootroot 4096 2月 9 18:49 back_data/ drwxrwxrwx 5 cm cm 4096 2月 21 09:01 cm/ drwxrwxrwx 6 cm cm 4096 2月 22 14:14 cm_sdk_wyb/ drwxrwxrwx 4 cm cm 4096 1月 3 18:14 DV/ drwx------ 4 rootroot rootroot 4096 3月 24 14:24 r16_tinav1.0/ drwx------ 2 rootroot rootroot 4096 3月 23 15:57 r16_tinav1.0_普得/ drwx------ 4 rootroot rootroot 4096 3月 24 13:43 r16_tinav2.0/ drwx------ 8 rootroot rootroot 4096 4月 24 11:05 r16_tinav2.1/ drwx------ 3 rootroot rootroot 4096 3月 24 13:45 r16v10/ drwx------ 8 rootroot rootroot 4096 3月 31 10:51 r16v11/ drwxrwxr-x 5 rootroot rootroot 4096 3月 27 09:54 r18/ drwx------ 3 rootroot rootroot 4096 3月 14 10:33 r58/ drwx------ 4 rootroot rootroot 4096 4月 1 12:29 r58m/ drwx------ 4 rootroot rootroot 4096 3月 27 09:33 r58_tianv2.1/ drwx------ 3 rootroot rootroot 4096 3月 2 15:29 r8/ drwxrwxr-x 4 rootroot rootroot 4096 3月 2 15:29 r8_ruoge_android/ -rwxrw-r-- 1 rootroot rootroot 89973891542 12月 16 19:58 ubuntu14.04_xiaoyu.tar.gz* drwxrwxrwx 10 cm cm 4096 1月 6 15:31 wyb!!!!/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo$ cd - /home/cb2t1651 rootroot@cm-System-Product-Name:/home/cb2t1651$ ll 总用量 28 drwxrwxrwx 7 root root 4096 3月 29 16:54 ./ drwxr-xr-x 18 root root 4096 12月 16 14:42 ../ drwxrwxrwx 2 root root 4096 12月 16 15:01 fengdongshou/ drwxr-xr-x 5 tanhualiang tanhualiang 4096 4月 12 16:25 tanhualiang/ drwx------ 4 tanhualiang tanhualiang 4096 3月 29 16:54 .Trash-1011/ drwxrwxrwx 21 root root 4096 5月 4 10:08 wenyuanbo/ drwxrwxrwx 2 root root 4096 12月 16 15:01 zhouxu/ rootroot@cm-System-Product-Name:/home/cb2t1651$ rootroot@cm-System-Product-Name:/home/cb2t1651$ rootroot@cm-System-Product-Name:/home/cb2t1651$ cd ~ rootroot@cm-System-Product-Name:~$ ll 总用量 196 drwxr-xr-x 23 rootroot rootroot 4096 5月 3 09:08 ./ drwxr-xr-x 18 root root 4096 12月 16 14:42 ../ -rw------- 1 rootroot rootroot 29306 5月 3 18:00 .bash_history -rw-r--r-- 1 rootroot rootroot 220 8月 10 2016 .bash_
logout -rw-r--r-- 1 rootroot rootroot 3840 2月 22 14:33 .bashrc drwx------ 15 rootroot rootroot 4096 12月 7 12:52 .cache/ drwxrwxr-x 3 rootroot rootroot 4096 4月 12 13:33 cb4-linux-sdk-card/ drwx------ 3 rootroot rootroot 4096 9月 20 2016 .compiz/ drwx------ 16 rootroot rootroot 4096 12月 7 12:52 .config/ drwx------ 3 rootroot rootroot 4096 10月 13 2016 .dbus/ -rw-r--r-- 1 rootroot rootroot 25 9月 20 2016 .dmrc -rw-r--r-- 1 rootroot rootroot 8980 8月 10 2016 examples.desktop drwx------ 3 rootroot rootroot 4096 5月 3 09:08 .gconf/ drwx------ 3 rootroot rootroot 4096 4月 7 21:36 .gnome2/ drwx------ 2 rootroot rootroot 4096 9月 20 2016 .gnome2_private/ -rw------- 1 rootroot rootroot 17652 5月 3 09:08 .ICEauthority -rw------- 1 rootroot rootroot 283 9月 28 2016 .jack -rwx------ 1 rootroot rootroot 3840 2月 22 12:51 jdk16.bashrc* -rwx------ 1 rootroot rootroot 3637 7月 28 2016 jdk17.bashrc* drwxr-xr-x 3 rootroot rootroot 4096 9月 20 2016 .local/ drwx------ 4 rootroot rootroot 4096 9月 20 2016 .mozilla/ -rw-r--r-- 1 rootroot rootroot 675 8月 10 2016 .profile drwxrwxr-x 2 rootroot rootroot 4096 3月 20 19:05 wyb/ -rw------- 1 rootroot rootroot 67 5月 3 09:08 .Xauthority -rw------- 1 rootroot rootroot 784 5月 3 19:30 .xsession-errors -rw------- 1 rootroot rootroot 1439 5月 2 19:43 .xsession-errors.old drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 公共的/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 模板/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 视频/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016
图片/ drwx------ 2 rootroot rootroot 4096 8月 10 2016 未命名
文件夹/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 文档/ drwxr-xr-x 2 rootroot rootroot 4096 10月 24 2016 下载/ drwx------ 2 rootroot rootroot 4096 2月 27 10:12 新建
文件夹/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 音乐/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 桌面/ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo fdisk -lu Disk /dev/sda: 2000.4 GB,total 468862128 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00058aad 设备 启动 起点 终点 块数 Id 系统 /dev/sdd1 * 2046 423940095 211969025 5 扩展 /dev/sdd2 423940096 468860927 22460416 83 Linux /dev/sdd5 2048 501759 249856 83 Linux /dev/sdd6 503808 9879551 4687872 82 Linux 交换 / Solaris /dev/sdd7 9881600 423940095 207029248 83 Linux rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ cd - /home/cb2t1651 rootroot@cm-System-Product-Name:/home/cb2t1651$ cd wenyuanbo/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo$ ll 总用量 87865224 drwxrwxrwx 21 root root 4096 5月 4 10:08 ./ drwxrwxrwx 7 root root 4096 3月 29 16:54 ../ drwxrwxr-x 2 rootroot rootroot 4096 5月 4 10:08 1/ drwxrwxrwx 7 cm cm 4096 12月 29 22:39 back_android_os/ drwxrwxrwx 3 rootroot rootroot 4096 2月 9 18:49 back_data/ drwxrwxrwx 5 cm cm 4096 2月 21 09:01 cm/ drwxrwxrwx 6 cm cm 4096 2月 22 14:14 cm_sdk_wyb/ drwxrwxrwx 4 cm cm 4096 1月 3 18:14 DV/ drwx------ 4 rootroot rootroot 4096 3月 24 14:24 r16_tinav1.0/ drwx------ 2 rootroot rootroot 4096 3月 23 15:57 r16_tinav1.0_普得/ drwx------ 4 rootroot rootroot 4096 3月 24 13:43 r16_tinav2.0/ drwx------ 8 rootroot rootroot 4096 4月 24 11:05 r16_tinav2.1/ drwx------ 3 rootroot rootroot 4096 3月 24 13:45 r16v10/ drwx------ 8 rootroot rootroot 4096 3月 31 10:51 r16v11/ drwxrwxr-x 5 rootroot rootroot 4096 3月 27 09:54 r18/ drwx------ 3 rootroot rootroot 4096 3月 14 10:33 r58/ drwx------ 4 rootroot rootroot 4096 4月 1 12:29 r58m/ drwx------ 4 rootroot rootroot 4096 3月 27 09:33 r58_tianv2.1/ drwx------ 3 rootroot rootroot 4096 3月 2 15:29 r8/ drwxrwxr-x 4 rootroot rootroot 4096 3月 2 15:29 r8_ruoge_android/ -rwxrw-r-- 1 rootroot rootroot 89973891542 12月 16 19:58 ubuntu14.04_xiaoyu.tar.gz* drwxrwxrwx 10 cm cm 4096 1月 6 15:31 wyb!!!!/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo$ cd r58m/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo/r58m$ ll 总用量 16 drwx------ 4 rootroot rootroot 4096 4月 1 12:29 ./ drwxrwxrwx 21 root root 4096 5月 4 10:08 ../ drwx------ 4 rootroot rootroot 4096 4月 1 12:29 2222bma250_f1_r58m_lcd160_ov7725/ drwx------ 4 rootroot rootroot 4096 4月 1 12:46 bma250_f1_r58m_lcd160_ov7725/ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo/r58m$ rm 2222bma250_f1_r58m_lcd160_ov7725/ -rf rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo/r58m$ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo/r58m$ rootroot@cm-System-Product-Name:/home/cb2t1651/wenyuanbo/r58m$ cd ~ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo fdisk /dev/sdc Device contains neither a valid DOS partition table,nor Sun,SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x8aa85295. Changes will remain in memory only,until you decide to write them. After that,of course,the prev
IoUs content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) WARNING: The size of this disk is 3.0 TB (3000592982016 bytes). DOS partition table format can not be used on drives for volumes larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID partition table format (GPT). The device presents a logical sector size that is smaller than the physical sector size. Aligning to a physical sector (or optimal I/O) size boundary is recommended,or performance may be impacted. 命令(输入 m
获取帮助): m 命令操作 a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) 命令(输入 m
获取帮助): n Partition type: p primary (0 primary,0 extended,4 free) e extended Select (default p): e 分区号 (1-4,默认为 1): 1 起始 sector (2048-4294967295,默认为 2048): 将使用默认值 2048 Last sector,+扇区 or +size{K,M,G} (2048-4294967294,默认为 4294967294): 将使用默认值 4294967294 命令(输入 m
获取帮助): p Disk /dev/sdc: 3000.6 GB,total 5860533168 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x8aa85295 设备 启动 起点 终点 块数 Id 系统 /dev/sdc1 2048 4294967294 2147482623+ 5 扩展 命令(输入 m
获取帮助): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo fdisk -lu Disk /dev/sda: 2000.4 GB,3000592982016 bytes 90 heads,3 sectors/track,21705678 cylinders,total 5860533168 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x8aa85295 设备 启动 起点 终点 块数 Id 系统 /dev/sdc1 2048 4294967294 2147482623+ 5 扩展 Disk /dev/sdd: 240.1 GB,total 468862128 sectors Units = 扇区 of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00058aad 设备 启动 起点 终点 块数 Id 系统 /dev/sdd1 * 2046 423940095 211969025 5 扩展 /dev/sdd2 423940096 468860927 22460416 83 Linux /dev/sdd5 2048 501759 249856 83 Linux /dev/sdd6 503808 9879551 4687872 82 Linux 交换 / Solaris /dev/sdd7 9881600 423940095 207029248 83 Linux rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo mkfs -t ext4 /dev/sdc mke2fs 1.42.9 (4-Feb-2014) /dev/sdc is entire device,not just one partition! 无论如何也要继续? (y,n) y
文件系统
标签= OS type: Linux 块大小=4096 (log=2) 分块大小=4096 (log=2) Stride=0 blocks,Stripe width=0 blocks 183148544 inodes,732566646 blocks 36628332 blocks (5.00%) reserved for the super user 第一个数据块=0 Maximum filesystem blocks=4294967296 22357 block groups 32768 blocks per group,32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768,98304,163840,229376,294912,819200,884736,1605632,2654208,4096000,7962624,11239424,20480000,23887872,71663616,78675968,102400000,214990848,512000000,550731776,644972544 Allocating group tables: 完成 正在写入inode表: 完成 Creating journal (32768 blocks): 完成 Writing superblocks and filesystem accounting information: 完成 rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo df -l
文件系统 1K-blocks 已用 可用 已用% 挂载点 /dev/sdd2 21976268 6501312 14335552 32% / none 4 0 4 0% /sys/fs/cgroup udev 8175996 4 8175992 1% /dev tmpfs 1637348 1396 1635952 1% /run none 5120 0 5120 0% /run/lock none 8186732 76 8186656 1% /run/shm none 102400 48 102352 1% /run/user /dev/sdd5 237869 35858 185423 17% /boot /dev/sda5 1922728752 1805924332 19112364 99% /home /dev/sdb 1922729864 1536942996 288094756 85% /home/cb2t1651 /dev/sdd7 203648856 127989080 65291932 67% /home/wwt rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo mount -t ext4 /dev/sdc /home/rediron mount:挂载点 /home/rediron 不存在 rootroot@cm-System-Product-Name:~$ mkdir /home/rediron mkdir: 无法创建目录"/home/rediron": 权限不够 rootroot@cm-System-Product-Name:~$ sudo mkdir /home/rediron rootroot@cm-System-Product-Name:~$ sudo mount -t ext4 /dev/sdc /home/rediron rootroot@cm-System-Product-Name:~$ sudo df -l
文件系统 1K-blocks 已用 可用 已用% 挂载点 /dev/sdd2 21976268 6501340 14335524 32% / none 4 0 4 0% /sys/fs/cgroup udev 8175996 4 8175992 1% /dev tmpfs 1637348 1396 1635952 1% /run none 5120 0 5120 0% /run/lock none 8186732 76 8186656 1% /run/shm none 102400 48 102352 1% /run/user /dev/sdd5 237869 35858 185423 17% /boot /dev/sda5 1922728752 1805924336 19112360 99% /home /dev/sdb 1922729864 1536942996 288094756 85% /home/cb2t1651 /dev/sdd7 203648856 127989080 65291932 67% /home/wwt /dev/sdc 288415
4032 74736 2737549584 1% /home/rediron rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdb2 during installation UUID=ef4a9a3d-a8a7-476d-b85c-ebc1eaf7ec75 / ext4 errors=remount-ro 0 1 # /boot was on /dev/sdb5 during installation UUID=058b1b8d-16cd-4cd7-9009-50ebd95a87ba /boot ext4 defaults 0 2 # /home was on /dev/sda5 during installation UUID=fb2b6d90-9e78-420c-b02c-c94074f2df2e /home ext4 defaults 0 2 # /home/wwt was on /dev/sdb7 during installation UUID=5353d865-0eb1-4d39-88ea-cb7eb0135e0f /home/wwt ext4 defaults 0 2 # swap was on /dev/sdb6 during installation UUID=4a0354b9-2d36-4ae0-86d8-9d78da16771f none swap sw 0 0 # 2016-12-16 14:47 wenyuanbo add 2TB SeaGate HDD /dev/sdb /home/cb2t1651/ ext4 defaults 0 0 rootroot@cm-System-Product-Name:~$ ll /etc/fstab -rw-rw-r-- 1 root root 1129 12月 16 14:49 /etc/fstab rootroot@cm-System-Product-Name:~$ cp /etc/fstab /home/wwt/ rootroot@cm-System-Product-Name:~$ chmod 777 /home/wwt/fstab rootroot@cm-System-Product-Name:~$ cd /etc/ rootroot@cm-System-Product-Name:/etc$ ll fs* -rw-rw-r-- 1 root root 1129 12月 16 14:49 fstab -rw-rw-r-- 1 root root 1009 8月 10 2016 fstab~ -rw-r--r-- 1 root root 1009 12月 16 14:44 fstab.bak fstab.d: 总用量 16 drwxr-xr-x 2 root root 4096 4月 17 2014 ./ drwxr-xr-x 135 root root 12288 5月 4 10:21 ../ rootroot@cm-System-Product-Name:/etc$ sudo cp fstab fstab.bak2 rootroot@cm-System-Product-Name:/etc$ cd - /home/rootroot rootroot@cm-System-Product-Name:~$ sudo cp /home/wwt/fstab /etc/ rootroot@cm-System-Product-Name:~$ ll /etc/fstab -rw-rw-r-- 1 root root 1201 5月 4 10:26 /etc/fstab rootroot@cm-System-Product-Name:~$ sync rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdb2 during installation UUID=ef4a9a3d-a8a7-476d-b85c-ebc1eaf7ec75 / ext4 errors=remount-ro 0 1 # /boot was on /dev/sdb5 during installation UUID=058b1b8d-16cd-4cd7-9009-50ebd95a87ba /boot ext4 defaults 0 2 # /home was on /dev/sda5 during installation UUID=fb2b6d90-9e78-420c-b02c-c94074f2df2e /home ext4 defaults 0 2 # /home/wwt was on /dev/sdb7 during installation UUID=5353d865-0eb1-4d39-88ea-cb7eb0135e0f /home/wwt ext4 defaults 0 2 # swap was on /dev/sdb6 during installation UUID=4a0354b9-2d36-4ae0-86d8-9d78da16771f none swap sw 0 0 # 2016-12-16 14:47 wenyuanbo add 2TB SeaGate HDD /dev/sdb /home/cb2t1651/ ext4 defaults 0 0 /dev/sdc /home/rediron ext4 defaults 0 0 rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ ll 总用量 196 drwxr-xr-x 23 rootroot rootroot 4096 5月 3 09:08 ./ drwxr-xr-x 19 root root 4096 5月 4 10:21 ../ -rw------- 1 rootroot rootroot 29306 5月 3 18:00 .bash_history -rw-r--r-- 1 rootroot rootroot 220 8月 10 2016 .bash_
logout -rw-r--r-- 1 rootroot rootroot 3840 2月 22 14:33 .bashrc drwx------ 15 rootroot rootroot 4096 12月 7 12:52 .cache/ drwxrwxr-x 3 rootroot rootroot 4096 4月 12 13:33 cb4-linux-sdk-card/ drwx------ 3 rootroot rootroot 4096 9月 20 2016 .compiz/ drwx------ 16 rootroot rootroot 4096 12月 7 12:52 .config/ drwx------ 3 rootroot rootroot 4096 10月 13 2016 .dbus/ -rw-r--r-- 1 rootroot rootroot 25 9月 20 2016 .dmrc -rw-r--r-- 1 rootroot rootroot 8980 8月 10 2016 examples.desktop drwx------ 3 rootroot rootroot 4096 5月 3 09:08 .gconf/ drwx------ 3 rootroot rootroot 4096 4月 7 21:36 .gnome2/ drwx------ 2 rootroot rootroot 4096 9月 20 2016 .gnome2_private/ -rw------- 1 rootroot rootroot 17652 5月 3 09:08 .ICEauthority -rw------- 1 rootroot rootroot 283 9月 28 2016 .jack -rwx------ 1 rootroot rootroot 3840 2月 22 12:51 jdk16.bashrc* -rwx------ 1 rootroot rootroot 3637 7月 28 2016 jdk17.bashrc* drwxr-xr-x 3 rootroot rootroot 4096 9月 20 2016 .local/ drwx------ 4 rootroot rootroot 4096 9月 20 2016 .mozilla/ -rw-r--r-- 1 rootroot rootroot 675 8月 10 2016 .profile drwxrwxr-x 2 rootroot rootroot 4096 3月 20 19:05 wyb/ -rw------- 1 rootroot rootroot 67 5月 3 09:08 .Xauthority -rw------- 1 rootroot rootroot 784 5月 3 19:30 .xsession-errors -rw------- 1 rootroot rootroot 1439 5月 2 19:43 .xsession-errors.old drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 公共的/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 模板/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 视频/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016
图片/ drwx------ 2 rootroot rootroot 4096 8月 10 2016 未命名
文件夹/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 文档/ drwxr-xr-x 2 rootroot rootroot 4096 10月 24 2016 下载/ drwx------ 2 rootroot rootroot 4096 2月 27 10:12 新建
文件夹/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 音乐/ drwxr-xr-x 2 rootroot rootroot 4096 9月 20 2016 桌面/ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ rootroot@cm-System-Product-Name:~$ sudo chmod 777 /home/rediron/ -R rootroot@cm-System-Product-Name:~$ sudo shuddown -h now sudo:shuddown: command not found rootroot@cm-System-Product-Name:~$ sudo shutdown -h now 来自rootroot@cm-System-Product-Name的广播信息 (/dev/pts/9) 于 10:30 ... 现在,系统将
关闭(halt)。 rootroot@cm-System-Product-Name:~$ Connection closed by foreign host. Disconnected from remote host(rootroot 192.168.0.8) at 10:30:08. Type `help' to learn how to use Xshell prompt. [END] 2017/5/4 10:30:11