Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@OpenWrt:~# mount
- rootfs on / type rootfs (rw)
- /dev/root on / type yaffs (rw,noatime)
- proc on /proc type proc (rw,noatime)
- sysfs on /sys type sysfs (rw,noatime)
- tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
- tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
- devpts on /dev/pts type devpts (rw,relatime,mode=600)
- debugfs on /sys/kernel/debug type debugfs (rw,noatime)
- root@OpenWrt:~# dd if=/dev/zero of=/swap1 bs=1k count=16000
- 16000+0 records in
- 16000+0 records out
- root@OpenWrt:~# chmod 0600 /swap1
- root@OpenWrt:~# mkswap /swap1
- Setting up swapspace version 1, size = 15996 KiB
- no label, UUID=459b47e4-928e-44e7-9810-3d38d239b195
- root@OpenWrt:~# swapon /swap1
- block: failed to swapon /swap1 (-1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement