summaryrefslogtreecommitdiff
path: root/fs/partitions/karma.h
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2006-01-16 22:14:20 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-16 23:15:29 -0800
commit0e6e1db4ac7acfe3e38bbef9eba59233ba7f6b9a (patch)
treec65c54b53ccfc110dac42e29a4094304e0a575dd /fs/partitions/karma.h
parentcad8244840d1a148f638925758afd1cdf81fc839 (diff)
[PATCH] partitions: Read Rio Karma partition table
The Rio Karma portable MP3 player has its own proprietary partition table. The partition layout is similar to a DOS boot sector but it begins at a different offset and uses a different magic number (0xAB56 instead of 0xAA55). Add support for it to enable mounting the device. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/partitions/karma.h')
-rw-r--r--fs/partitions/karma.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/partitions/karma.h b/fs/partitions/karma.h
new file mode 100644
index 000000000000..ecf7d3f2a3d8
--- /dev/null
+++ b/fs/partitions/karma.h
@@ -0,0 +1,8 @@
+/*
+ * fs/partitions/karma.h
+ */
+
+#define KARMA_LABEL_MAGIC 0xAB56
+
+int karma_partition(struct parsed_partitions *state, struct block_device *bdev);
+