root@Ubuntu32:/home/zhangbin# gedit /etc/exports
加入/nfsboot *(rw,insecure,sync,no_wdelay,insecure_locks,no_root_squash)
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# sudo /etc/init.d/portmap restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop portmap ; start portmap. The restart(8) utility is also available.
portmap stop/waiting
portmap start/running, process 5862
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES#
bash: ./etc/init.d/nfs-kernel-server: No such file or directory
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032# cd /etc/init.d/ & ./nfs-kernel-server restart
[1] 5330
bash: ./nfs-kernel-server: No such file or directory
[1]+ Done cd /etc/init.d/
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032# /etc/init.d/nfs-kernel-server restart
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
* Exporting directories for NFS kernel daemon... exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/nfsboot".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
[ OK ]
* Starting NFS kernel daemon [ OK ]
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032#
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# showmount -e
Export list for Ubuntu32:
/nfsboot *
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES#
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES# service --status-all
[ ? ] acpi-support
[ ? ] acpid
[ ? ] alsa-restore
[ ? ] alsa-store
[ ? ] anacron
[ + ] apache2
[ + ] apparmor
[ ? ] apport
[ ? ] atd
[ ? ] avahi-daemon
[ ? ] binfmt-support
[ ? ] bluetooth
[ - ] bootlogd
[ - ] brltty
[ ? ] console-setup
[ ? ] cron
[ ? ] cups
[ ? ] dbus
[ ? ] dmesg
[ ? ] dns-clean
[ ? ] failsafe-x
[ ? ] friendly-recovery
[ - ] grub-common
[ ? ] gssd
[ ? ] hostname
[ ? ] hwclock
[ ? ] hwclock-save
[ ? ] idmapd
[ ? ] irqbalance
[ - ] kerneloops
[ ? ] killprocs
[ ? ] lightdm
[ ? ] modemmanager
[ ? ] module-init-tools
[ ? ] network-interface
[ ? ] network-interface-container
[ ? ] network-interface-security
[ ? ] network-manager
[ ? ] networking
[ + ] nfs-kernel-server
[ ? ] nmbd
[ ? ] ondemand
[ ? ] passwd
[ ? ] plymouth
[ ? ] plymouth-log
[ ? ] plymouth-ready
[ ? ] plymouth-splash
[ ? ] plymouth-stop
[ ? ] plymouth-upstart-bridge
[ ? ] portmap
[ ? ] portmap-wait
[ ? ] pppd-dns
[ ? ] procps
[ - ] pulseaudio
[ ? ] rc.local
[ ? ] resolvconf
[ ? ] rfkill-restore
[ ? ] rfkill-store
[ ? ] rpcbind-boot
[ - ] rsync
[ ? ] rsyslog
[ + ] saned
[ ? ] sendsigs
[ ? ] setvtrgb
[ ? ] smbd
[ ? ] speech-dispatcher
[ + ] ssh
[ ? ] statd
[ ? ] statd-mounting
[ - ] stop-bootlogd
[ - ] stop-bootlogd-single
[ ? ] sudo
[ ? ] udev
[ ? ] udev-fallback-graphics
[ ? ] udev-finish
[ ? ] udevmonitor
[ ? ] udevtrigger
[ ? ] ufw
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ - ] unattended-upgrades
[ - ] urandom
[ ? ] whoopsie
[ + ] winbind
[ - ] x11-common
[ ? ] xinetd
root@Ubuntu32:/home/zhangbin/STM/hiandroid240/v200/es032/out/target/product/Hi3716CV200ES#