[root@host root]# cd /dev
[root@host dev]# dd if=/dev/zero of=tmpMnt bs=1024 count=100000
100000+0 records in
100000+0 records out
[root@host dev]# /sbin/mke2fs /dev/tmpMnt
mke2fs 1.34 (25-Jul-2003)
/dev/tmpMnt is not a block special device. Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
25064 inodes, 100000 blocks
5000 blocks (5.00%) reserved for the super user
First data block=1
13 block groups
8192 blocks per group, 8192 fragments per group
1928 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@host dev]# cd /
[root@host /]# cp -R /tmp /tmp_backup
[root@host /]# mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp
[root@host /]# chmod 0777 /tmp
[root@host /]# cp -R /tmp_backup/* /tmp/
[root@host /]# rm -rf /tmp_backup
Warning: Unknown(): open(/tmp/sess_226f67c958a014a82e8445dadb10c22f, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
mySQL error: Can’t create/write to file ‘/tmp/#sqlff6_15939_0.MYI’ (Errcode: 13)
mySQL error code:
ถ้า smf มันขึ้น
Please try again. If you come back to this error screen, report the error to an administrator.