diff options
author | Thomas Maier <balagi@justmail.de> | 2006-12-08 05:36:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:38 -0500 |
commit | 32694850a91bd4fedcdd4a46292f870588be81d1 (patch) | |
tree | 370e1f97c9dff8f4feb71b8a1cf03cfe37b15d8b /Documentation/cdrom/packet-writing.txt | |
parent | 0a0fc9601dd1024ec7171993bf075a789246e1ed (diff) |
[PATCH] pktcdvd: add sysfs and debugfs interface
Add a sysfs and debugfs interface to the pktcdvd driver.
Look into the Documentation/ABI/testing/* files in the patch for more info.
Signed-off-by: Thomas Maier <balagi@justmail.de>
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/cdrom/packet-writing.txt')
-rw-r--r-- | Documentation/cdrom/packet-writing.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/cdrom/packet-writing.txt b/Documentation/cdrom/packet-writing.txt index 3d44c561fe6d..7715d2247c4d 100644 --- a/Documentation/cdrom/packet-writing.txt +++ b/Documentation/cdrom/packet-writing.txt | |||
@@ -90,6 +90,41 @@ Notes | |||
90 | to create an ext2 filesystem on the disc. | 90 | to create an ext2 filesystem on the disc. |
91 | 91 | ||
92 | 92 | ||
93 | Using the pktcdvd sysfs interface | ||
94 | --------------------------------- | ||
95 | |||
96 | Since Linux 2.6.19, the pktcdvd module has a sysfs interface | ||
97 | and can be controlled by it. For example the "pktcdvd" tool uses | ||
98 | this interface. (see http://people.freenet.de/BalaGi#pktcdvd ) | ||
99 | |||
100 | "pktcdvd" works similar to "pktsetup", e.g.: | ||
101 | |||
102 | # pktcdvd -a dev_name /dev/hdc | ||
103 | # mkudffs /dev/pktcdvd/dev_name | ||
104 | # mount -t udf -o rw,noatime /dev/pktcdvd/dev_name /dvdram | ||
105 | # cp files /dvdram | ||
106 | # umount /dvdram | ||
107 | # pktcdvd -r dev_name | ||
108 | |||
109 | |||
110 | For a description of the sysfs interface look into the file: | ||
111 | |||
112 | Documentation/ABI/testing/sysfs-block-pktcdvd | ||
113 | |||
114 | |||
115 | Using the pktcdvd debugfs interface | ||
116 | ----------------------------------- | ||
117 | |||
118 | To read pktcdvd device infos in human readable form, do: | ||
119 | |||
120 | # cat /debug/pktcdvd/pktcdvd[0-7]/info | ||
121 | |||
122 | For a description of the debugfs interface look into the file: | ||
123 | |||
124 | Documentation/ABI/testing/debugfs-pktcdvd | ||
125 | |||
126 | |||
127 | |||
93 | Links | 128 | Links |
94 | ----- | 129 | ----- |
95 | 130 | ||