Advertisement
Guest User

Untitled

a guest
Dec 29th, 2017
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. root@OpenWrt:~# mount
  2. rootfs on / type rootfs (rw)
  3. /dev/root on / type yaffs (rw,noatime)
  4. proc on /proc type proc (rw,noatime)
  5. sysfs on /sys type sysfs (rw,noatime)
  6. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
  7. tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
  8. devpts on /dev/pts type devpts (rw,relatime,mode=600)
  9. debugfs on /sys/kernel/debug type debugfs (rw,noatime)
  10.  
  11.  
  12. root@OpenWrt:~# dd if=/dev/zero of=/swap1 bs=1k count=16000
  13. 16000+0 records in
  14. 16000+0 records out
  15. root@OpenWrt:~# chmod 0600 /swap1
  16. root@OpenWrt:~# mkswap /swap1
  17. Setting up swapspace version 1, size = 15996 KiB
  18. no label, UUID=459b47e4-928e-44e7-9810-3d38d239b195
  19. root@OpenWrt:~# swapon /swap1
  20. block: failed to swapon /swap1 (-1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement