yasunari@kup:~$ dmesg |less : : Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter Vendor: Seagate Model: ST3120026AS Rev: 3.18 Type: Direct-Access ANSI SCSI revision: 03 Vendor: SAMSUNG Model: HD250HJ Rev: FH10 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb4 < sdb5 sdb6 > Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0 : :
kup:~# fdisk /dev/sdb The number of cylinders for this disk is set to 30401. 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: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 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 30401 238187722+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap / Solaris /dev/sdb6 874 30401 237183628+ 83 Linux Command (m for help): q kup:~#
kup:~# mkdir /tmp/sdb1 kup:~# mount /dev/sdb1 /tmp/sdb1 kup:~# ls /tmp/sdb1 initrd.buffalo lost+found u-boot.buffalo uImage.buffalo kup:~# grep sdb1 /proc/mounts /dev/sdb1 /tmp/sdb1 ext3 rw 0 0 kup:~# umount /tmp/sdb1 kup:~#It is a /boot(ext3).
kup:~# mkdir /tmp/sdb2 kup:~# mount /dev/sdb2 /tmp/sdb2 kup:~# ls /tmp/sdb2 bin boot dev etc home initrd lib libexec lost+found mnt modules proc root sbin sys tmp usr var www kup:~# grep sdb2 /proc/mounts /dev/sdb2 /tmp/sdb2 xfs rw 0 0 kup:~# umount /tmp/sdb2 kup:~#It is a root file system(xfs).
kup:~# mkdir /tmp/sdb6 kup:~# mount /dev/sdb6 /tmp/sdb6 kup:~# ls /tmp/sdb6 share spool kup:~# grep sdb6 /proc/mounts /dev/sdb6 /tmp/sdb6 xfs rw 0 0 kup:~# umount /tmp/sdb6 kup:~#It is a /mnt/disk1(xfs).
|
← 記念写真 / complete view |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 電源入りっ放し? |