パーティション

TS-WXL

HDD のパーティションを見る

fdisk で見る

-sh-3.2$ fdisk /dev/sda
-sh: fdisk: command not found
-sh-3.2$ /sbin/!!
/sbin/fdisk /dev/sda
You will not be able to write the partition table

The number of cylinders for this disk is set to 60801.
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/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1       60802   488386583+ ee EFI GPT

Command (m for help): q

-sh-3.2$
やはり GPT

parted で見る

-sh-3.2$ /usr/local/sbin/parted -s /dev/sda print
Warning: Unable to open /dev/sda read-write (Permission denied).  /dev/sda has been opened read-only.
Warning: Unable to open /dev/sda read-write (Permission denied).  /dev/sda has been opened read-only.
Model: SAMSUNG HD502HI (scsi)
Disk /dev/sda: 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  ext3         primary
 3      6144MB  6144MB  512B                 primary
 4      6144MB  6144MB  512B                 primary
 5      6144MB  7168MB  1024MB  linux-swap   primary
 6      7168MB  492GB   485GB   xfs          primary

-sh-3.2$
LS-XHL 等と同じ構成、、、と思ったら、sda2 が ext3(LS-XHL は xfs)

TS-WXL
楽天市場
amazon
Yahoo ショッピング
Livedoor デパート


まっさらにする
ハックの記録
LinkStation/玄箱 をハックしよう

まっさらにする(2)

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

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