操作远程目录文件---mount后就可以进入/mnt/smbtmp操作远端主机上的共享目录了。
2012-08-13 09:22
411 查看
mkdir /mnt/smbNufront ;为共享文件建立mount点
smbmount //192.168.4.238/nufront /mnt/smbNufront -o rhh ;mount共享目录,mount后就可以进入/mnt/smbtmp操作远端主机上的共享目录了。
smbumount /mnt/smbNufront ;umount共享目录
--------以下资料无关-----------------------------------------------------------------------------------------------------------------------------------------
在串口命令行启动烧写inand 或 sd 卡
fatload mmc 0:1 0x80007fc0 uImage;bootm
烧录卡烧录成自启动
set bootcmd 'fatload mmc 0:1 0x80007fc0 uImage;bootm';saveenv
set bootcmd 'ext4load mmc 0:2 0x80007fc0 uImage;bootm';saveenv
通过外部卡槽启动
ext4load mmc 0:2 0x80007fc0 uImage;bootm
set default_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait mem=776M video=nusmartfb:1024x768-${dispformat} init=/init'
set bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait mem=776M video=nusmartfb:1024x768-16 init=/init'
mmc init 1; ext4load mmc 1:2 0x80007fc0 uImage;bootm
ext4load mmc 0:2 0x80007fc0 uImage;bootm
fatload mmc 0:1 0x80007fc0 uImage;bootm
生成 bott.img.ext4
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/linux_kernel$ sudo cp arch/arm/boot/uImage ../android/out/target/product/nusmart3_pad_nw51/root/uImage
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/android$ ./out/host/linux-x86/bin/make_ext4fs -s -l 20971520 out/target/product/nusmart3_pad_nw51/boot.img out/target/product/nusmart3_pad_nw51/root
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/android$ ./out/host/linux-x86/bin/simg2img out/target/product/nusmart3_pad_nw51/boot.img out/target/product/nusmart3_pad_nw51/boot.img.ext4
smbmount //192.168.4.238/nufront /mnt/smbNufront -o rhh ;mount共享目录,mount后就可以进入/mnt/smbtmp操作远端主机上的共享目录了。
smbumount /mnt/smbNufront ;umount共享目录
--------以下资料无关-----------------------------------------------------------------------------------------------------------------------------------------
在串口命令行启动烧写inand 或 sd 卡
fatload mmc 0:1 0x80007fc0 uImage;bootm
烧录卡烧录成自启动
set bootcmd 'fatload mmc 0:1 0x80007fc0 uImage;bootm';saveenv
set bootcmd 'ext4load mmc 0:2 0x80007fc0 uImage;bootm';saveenv
通过外部卡槽启动
ext4load mmc 0:2 0x80007fc0 uImage;bootm
set default_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait mem=776M video=nusmartfb:1024x768-${dispformat} init=/init'
set bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait mem=776M video=nusmartfb:1024x768-16 init=/init'
mmc init 1; ext4load mmc 1:2 0x80007fc0 uImage;bootm
ext4load mmc 0:2 0x80007fc0 uImage;bootm
fatload mmc 0:1 0x80007fc0 uImage;bootm
生成 bott.img.ext4
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/linux_kernel$ sudo cp arch/arm/boot/uImage ../android/out/target/product/nusmart3_pad_nw51/root/uImage
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/android$ ./out/host/linux-x86/bin/make_ext4fs -s -l 20971520 out/target/product/nusmart3_pad_nw51/boot.img out/target/product/nusmart3_pad_nw51/root
ubuntu2@ubuntu2-desktop:/media/work/nufont/r4/android$ ./out/host/linux-x86/bin/simg2img out/target/product/nusmart3_pad_nw51/boot.img out/target/product/nusmart3_pad_nw51/boot.img.ext4
相关文章推荐
- 通过WMI实现了远程创建共享目录,远程拷贝文件等操作:
- linux通过sshfs把远程主机的文件系统映射到本地的目录中(构建文件共享目录)
- C# 远程创建共享目录及文件拷贝操作
- 通过WMI实现远程创建共享目录,远程拷贝文件等操作
- 通过WMI实现远程创建共享目录,远程拷贝文件等操作
- Java开源库JCIFS 操作网络上的共享目录和文件
- Shell脚本FTP获取远程主机文件的操作
- 在Ubuntu上通过ssh远程挂载数莓派的共享目录(也可以是根目录)
- var/log/目录下的messages文件是可以查看用户操作记录的
- [BAT] 以当前时间为名创建文件夹,将本地文件夹里的文件拷贝到远程共享目录
- 【嵌入式Linux学习七步曲之第一篇 Linux主机开发环境】虚拟机下Linux和windows的文件共享――mount方式
- asp.net 操作共享目录文件
- 无法通过机器名访问远程机器共享目录,但通过ip可以
- sshfs把远程主机的文件系统映射到本地的目录中(转载)
- 用iis虚拟目录和windows共享目录上传文件到远程
- windows 分布式访问共享目录,进行文件操作 小体会
- sumba 配置完全共享目录,即不用输入密码可以修改文件
- sshfs把远程主机的文件系统映射到本地的目录中