diff options
author | Bob Copeland <me@bobcopeland.com> | 2006-01-17 07:14:20 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-17 08:15:29 +0100 |
commit | 0e6e1db4ac7acfe3e38bbef9eba59233ba7f6b9a (patch) | |
tree | c65c54b53ccfc110dac42e29a4094304e0a575dd /fs/partitions/karma.h | |
parent | [PATCH] sh: Move CPU subtype configuration to its own Kconfig (diff) | |
download | linux-0e6e1db4ac7acfe3e38bbef9eba59233ba7f6b9a.tar.xz linux-0e6e1db4ac7acfe3e38bbef9eba59233ba7f6b9a.zip |
[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.h | 8 |
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); + |