~ # ls /proc 1 162 37 708 buddyinfo execdomains locks scsi version 1015 175 38 751 buffalo filesystems meminfo self vmstat 1025 2 39 846 bus fs misc slabinfo 1034 3 4 865 cmdline interrupts modules stat 1039 32 5 9 cpu iomem mounts swaps 1065 33 633 942 cpuinfo ioports mtd sys 1073 338 637 946 devices kallsyms net sysvipc 1074 34 647 947 diskstats kmsg partitions tty 1076 35 657 969 driver loadavg pci uptime ~ # cd /proc /proc #めぼしいところを見ていく
/proc # ls buffalo/ PowerSWInt_en cpu_status fan_status hdd_control led cpu_reset enet firmware kernevnt power_sw /proc # cat buffalo/PowerSWInt_en PowerIntAct /proc # cat buffalo/cpu_status normal_state /proc # cat buffalo/enet MAC=00:16:01:D7:2F:F8 link=1000Mbps duplex=full jumboframe=enable mtu=1500 /proc #あれ?
/proc # cat buffalo/fan_status Fine /proc # cat buffalo/firmware PRODUCTNAME=LS-LGL(SUIZEI) VERSION=0.01 SUBVERSION=FLASH 0.00 PRODUCTID=0x0000000B BUILDDATE=2007/08/03 10:34:47 BOOTVER=1.02L /proc # cat buffalo/hdd_control on /proc # cat buffalo/kernevnt /proc # cat buffalo/led/ cat: Read Error: Is a directory /proc # ls buffalo/led/ alarm alarm_blink all eth info info_blink power power_blink /proc # ls buffalo/led/all buffalo/led/all /proc # cat !$ cat: !$: No such file or directory /proc # cat buffalo/led/all power led :on info led :off alarm led :off /proc #info とか alarm とかないんですけど。
/proc # cat buffalo/led/power_blink off /proc #on 書いたら点滅する?
/proc # echo on > buffalo/led/power_blink /proc #したぁ!
/proc # echo off > buffalo/led/power_blink /proc # cat buffalo/power_sw PowerStat=0 LedInfo=1 LedAlarm=1 HddPower=1 CpuReset=1 /proc #
/proc # cat cpu/alignment User: 0 System: 0 Skipped: 0 Half: 0 Word: 0 DWord: 0 Multi: 0 User faults: 0 (ignored) /proc #?
/proc # cat cpuinfo Processor : ARM926EJ-Sid(wb) rev 0 (v5l) BogoMIPS : 219.54 Features : swp half thumb fastmult CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 0 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format C Cache format : Harvard I size : 16384 I assoc : 1 I line length : 32 I sets : 512 D size : 16384 D assoc : 1 D line length : 32 D sets : 512 Hardware : Feroceon Revision : 0000 Serial : 0000000000000000 /proc #HS-DHGL の BogoMIPS が 266.24 それより遅い
/proc # cat devices Character devices: 1 mem 2 pty 3 ttyp 4 /dev/vc/0 4 tty 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 7 vcs 10 misc 13 input 21 sg 90 mtd 128 ptm 136 pts Block devices: 1 ramdisk 7 loop 8 sd 31 mtdblock 65 sd 66 sd 67 sd 68 sd 69 sd 70 sd 71 sd 128 sd 129 sd 130 sd 131 sd 132 sd 133 sd 134 sd 135 sd /proc #
/proc # cat diskstats 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 8 0 sda 1881 12308 63183 6830 2244 1721 8507 22400 0 5750 29230 8 1 sda1 8294 16654 30 110 8 2 sda2 5806 46288 3930 7860 8 4 sda4 0 0 0 0 8 5 sda5 1 8 3 24 8 6 sda6 65 155 1 512 31 0 mtdblock0 0 0 0 0 0 0 0 0 0 0 0 /proc #
/proc # ls driver/ rtc /proc # ls driver/rtc driver/rtc /proc # cat driver/rtc rtc_time : 04:42:39 rtc_date : 2082-02-03 rtc_epoch : 1900 /proc # date Thu Jan 1 09:20:47 JST 1970 /proc #?
/proc # cat filesystems nodev sysfs nodev rootfs nodev bdev nodev proc nodev sockfs nodev pipefs nodev futexfs nodev tmpfs nodev eventpollfs nodev devpts ext3 ext2 nodev ramfs nodev autofs xfs /proc #USB がないので、HDD 向け fs だけで十分
/proc # cat meminfo MemTotal: 13632 kB MemFree: 736 kB Buffers: 812 kB Cached: 5664 kB SwapCached: 12 kB Active: 7292 kB Inactive: 2104 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 13632 kB LowFree: 736 kB SwapTotal: 136512 kB SwapFree: 136488 kB Dirty: 36 kB Writeback: 0 kB Mapped: 5988 kB Slab: 2292 kB CommitLimit: 143328 kB Committed_AS: 17420 kB PageTables: 292 kB VmallocTotal: 491520 kB VmallocUsed: 464 kB VmallocChunk: 491056 kB /proc #
/proc # cat mtd dev: size erasesize name mtd0: 00040000 00001000 "marvell_flash" /proc #
/proc # cat tty/driver/serial serinfo:1.0 driver revision: 0: uart:16550A mmio:0x00000000 irq:3 tx:4531 rx:0 RTS|DTR|DSR|CD 1: uart:unknown port:00000000 irq:0 2: uart:unknown port:00000000 irq:0 3: uart:unknown port:00000000 irq:0 /proc #絶対にどこかにある。
こんなところかな。
|
← ps |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ HS-DGLシリーズ ファームウェア アップデータ Ver.1.64β |