kup:~# mkdir /tmp/root kup:~# mount /dev/sdb2 /tmp/root kup:~#
kup:~# cd /tmp/root kup:/tmp/root# cd var/log/ kup:/tmp/root/var/log# ls -ltr total 448 -rw-rw-r-- 1 root utmp 0 Nov 21 17:52 wtmp -rw-rw-r-- 1 root utmp 0 Nov 21 17:52 btmp drwxr-xr-x 2 root root 36 Nov 21 17:56 fsck -rw-r----- 1 root adm 31 Nov 21 17:56 dmesg -rw-r----- 1 root adm 31 Nov 21 17:56 boot -rw-r--r-- 1 root root 32113 Nov 21 18:00 bootstrap.log drwxr-xr-x 2 root root 21 Nov 21 18:41 apt -rw-rw-r-- 1 root utmp 292292 Nov 21 19:00 lastlog -rw-r--r-- 1 root root 24024 Nov 21 19:00 faillog -rw-r----- 1 root adm 0 Dec 9 23:04 user.log -rw-r----- 1 root adm 215 Dec 9 23:04 syslog drw-r--r-- 2 root root 55 Dec 9 23:04 news -rw-r----- 1 root adm 215 Dec 9 23:04 messages -rw-r----- 1 root adm 0 Dec 9 23:04 mail.warn -rw-r----- 1 root adm 0 Dec 9 23:04 mail.log -rw-r----- 1 root adm 0 Dec 9 23:04 mail.info -rw-r----- 1 root adm 0 Dec 9 23:04 mail.err -rw-r----- 1 root adm 0 Dec 9 23:04 lpr.log -rw-r----- 1 root adm 78 Dec 9 23:04 kern.log -rw-r----- 1 root adm 0 Dec 9 23:04 debug -rw-r----- 1 root adm 0 Dec 9 23:04 daemon.log -rw-r----- 1 root adm 0 Dec 9 23:04 auth.log -rw-r----- 1 root adm 84933 Dec 9 23:06 dpkg.log kup:/tmp/root/var/log#残念。何も更新されていない。
kup:/tmp/root/var/log# cd / kup:/# umount /tmp/root kup:/#
kup:/# fdisk /dev/sdb The number of cylinders for this disk is set to 19929. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/sdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 125 1004031 83 Linux /dev/sdb2 126 748 5004247+ 83 Linux /dev/sdb4 749 19929 154071382+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap / Solaris /dev/sdb6 874 19354 148448601 83 Linux Command (m for help): d Partition number (1-6): 6 Command (m for help): d Partition number (1-5): 5 Command (m for help): d Partition number (1-5): 4 Command (m for help): d Partition number (1-4): 2 Command (m for help): d Selected partition 1 Command (m for help): p Disk /dev/sdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. kup:/#
|
← fstab の修正 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ RamRoot モード |