Ps3sed: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:OtherOS]] | |||
=Introduction= | =Introduction= | ||
* A user-space application for creating/deleting/modifying storage regions on PS3 Linux. | * 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. | * It requires the Linux kernel character driver ps3strgmngr. | ||
Line 27: | Line 29: | ||
<pre> | <pre> | ||
$ sudo ./ps3sed print_device | $ sudo ./ps3sed print_device | ||
# 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 37: | Line 40: | ||
$ 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 sector total sectors total acls | |||
0 0 488397168 1 | |||
2 524304 60459821 8 | |||
3 60984133 4194296 8 | |||
4 65178438 423218700 8 | |||
</pre> | |||
Print details about a region of a storage device: | |||
<pre> | |||
$ sudo ./ps3sed print_region 3 4 | |||
4 65178438 423218700 8 | |||
</pre> | |||
Print details about ACL entries of a region: | |||
<pre> | |||
$ sudo ./ps3sed print_acl_entry 3 4 | |||
1070000002000001 rw | |||
0 none | |||
0 none | |||
0 none | |||
0 none | |||
0 none | |||
0 none | |||
0 none | |||
</pre> | </pre> | ||
Line 42: | Line 74: | ||
=Delete Region= | =Delete Region= | ||
{{Linux}}<noinclude>[[Category:Main]]</noinclude> |
Latest revision as of 01:59, 3 February 2014
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