Ps3sed

From PS3 Developer wiki
Jump to navigation Jump to search

Introduction[edit | edit source]

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

Source Code[edit | edit source]

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

List Supported Commands[edit | edit source]

$ 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[edit | edit source]

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 sector  total sectors total acls
   0                0        488397168    1
   2           524304         60459821    8
   3         60984133          4194296    8
   4         65178438        423218700    8

Print details about a region of a storage device:

$ sudo ./ps3sed print_region 3 4
   4         65178438        423218700    8

Print details about ACL entries of a region:

$ sudo ./ps3sed print_acl_entry 3 4
1070000002000001                   rw
               0                 none
               0                 none
               0                 none
               0                 none
               0                 none
               0                 none
               0                 none

Create New Region[edit | edit source]

Delete Region[edit | edit source]