Ps3sed: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 27: Line 27:
<pre>
<pre>
$ sudo ./ps3sed print_device
$ sudo ./ps3sed print_device
# name       id   start sector total sectors    total regions
# name   device id start sector total sectors    total regions
  nor_flash    1      512            32768        4
  nor_flash    1      512            32768        4
     cdrom    2    2048      2147483647        1
     cdrom    2    2048      2147483647        1
Line 38: Line 38:
$ sudo ./ps3sed print_device 3
$ sudo ./ps3sed print_device 3
       disk    3      512        488397168        4
       disk    3      512        488397168        4
</pre>
Print details about all regions of a storage device:
<pre>
$ sudo ./ps3sed print_region 3
# region id  start sectortotal sectors total acls
  0                0        488397168    1
  2          524304        60459821    8
  3        60984133          4194296    8
  4        65178438        423218700    8
</pre>
</pre>



Revision as of 18:28, 27 August 2012

Introduction

  • A user-space application for creating/deleting/modifying storage regions on PS3 Linux.
  • It requires the Linux kernel character driver ps3strgmngr.

Source Code

See my GIT repo: http://gitorious.ps3dev.net/ps3linux/ps3sed

List Supported Commands

$ sudo ./ps3sed list
create_region
delete_region
help
list
print_acl_entry
print_device
print_region
set_acl_entry

Print Details About Storage Devices and Regions

Print all storage devices:

$ sudo ./ps3sed print_device
# name   device id start sector total sectors    total regions
 nor_flash    1      512            32768        4
     cdrom    2     2048       2147483647        1
      disk    3      512        488397168        4
     flash    4      512           524288        7

Print details about a storage device:

$ sudo ./ps3sed print_device 3
      disk    3      512        488397168        4

Print details about all regions of a storage device:

$ sudo ./ps3sed print_region 3
# region id   start sectortotal sectors total acls
   0                0        488397168    1
   2           524304         60459821    8
   3         60984133          4194296    8
   4         65178438        423218700    8

Create New Region

Delete Region