December 11, 2014

树莓派挂载U盘

树莓派用的是8g的TF卡,想作为小型NAS有点小,存不了多少东西,于是将一个闲置的32G U盘挂载上,当作存储分区 以下为操作过程: 查看磁盘信息 pi@raspberrypi ~ $ sudo fdisk -l Disk /dev/mmcblk0: 7990 MB, 7990149120 bytes 4 heads, 16 sectors/track, 243840 cylinders, total 15605760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000981cb Device Boot Start End Blocks Id System /dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA) /dev/mmcblk0p2 122880 15605759 7741440 83 Linux Disk /dev/sda: 32. Read more

August 10, 2014

Centos7下安装NTFS-3G

Centos7安装指南 安装NTFS-3G 下载ntfs-3g_ntfsprogs-2014.2.15.tgz http://cdn.lyq.wiki/res/ntfs-3g_ntfsprogs-2014.2.15.tgz #tar zxf ntfs-3g_ntfsprogs-2014.2.15.tgz #cd ntfs-3g_ntfsprogs-2014.2.15 #make #make install 如果make无法成功的话,请重新安装gcc yum install gcc 使用NTFS-3G 临时挂载window分区: #mkdir /mnt/windowsc/ #mount -t ntfs-3g /dev/sda1 /mnt/windosc/ 编辑fstab开机挂载分区,可以参考通过fstab自动挂载分区 /dev/sda1 /mnt/windowsc ntfs-3g defaults 0 0 NTFS-3G主页

© unixetc.com 2012 - 2019
README