パーティション / partitions

LS-AVL/A

LS-QL に USB で接続してパーティションを見る

接続

qube:~# tail -f /var/log/messages
	:
	:

Jun 11 23:21:53 qube kernel: usb 2-1: new high speed USB device using ehci_marvell and address 2
Jun 11 23:21:53 qube kernel: usb 2-1: configuration #1 chosen from 1 choice
Jun 11 23:21:53 qube kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jun 11 23:21:58 qube kernel: scsi 2:0:0:0: Direct-Access     ViPowER  VP-89118(SD1)    2.10 PQ: 0 ANSI: 4
Jun 11 23:21:58 qube kernel: sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
Jun 11 23:21:58 qube kernel: sd 2:0:0:0: [sdb] Write Protect is off
Jun 11 23:21:58 qube kernel: sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
Jun 11 23:21:58 qube kernel: sd 2:0:0:0: [sdb] Write Protect is off
Jun 11 23:21:58 qube kernel: sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
Jun 11 23:21:58 qube kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
Jun 11 23:21:58 qube kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0

fdisk で見る

qube:~# fdisk -l /dev/sdb

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       60802   488386583+  ee  EFI GPT
qube:~#
予想通りというか、当たり前と言うか GPT

parted で見る

qube:~# parted -s /dev/sdb print
Model: ViPowER VP-89118(SD1) (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      17.4kB  1024MB  1024MB  ext3         primary
 2      1024MB  6144MB  5120MB  xfs          primary
 3      6144MB  6144MB  512B                 primary
 4      6144MB  6144MB  512B                 primary
 5      6144MB  7168MB  1024MB  linux-swap   primary
 6      7168MB  492GB   485GB   xfs          primary

qube:~#
いつも通り。

マウントしてみてみる

sdb1

qube:~# mkdir /tmp/sdb
qube:~# mount /dev/sdb1 /tmp/sdb
qube:~# ls /tmp/sdb
hddrootfs.buffalo.updated.done  initrd.buffalo  lost+found  uImage.buffalo
qube:~# umount /tmp/sdb
qube:~#
/boot

sdb2

qube:~# mount /dev/sdb2 /tmp/sdb
qube:~# ls /tmp/sdb
bin  boot  dev  etc  home  initrd  lib  mnt  proc  root  sbin  sys  tmp  usr  var  www
qube:~# umount /tmp/sdb
qube:~#
/

sdb6

qube:~# mount /dev/sdb6 /tmp/sdb
qube:~# ls /tmp/sdb
mt-daapd  share  spool
qube:~# !umount
umount /tmp/sdb
qube:~#
/mnt/disk1

と言うことで、これまで通り。
新鮮味無し




LS-AVL/A
楽天市場
Amazon
uWorks
ValuMore
Yahoo!ショッピング


分解 / disassemble
ハックの記録
LinkStation/玄箱 をハックしよう

記念撮影

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市