Switched drive setup add-on to use new recognition functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5241 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "UdfDebug.h"
|
#include "UdfDebug.h"
|
||||||
#include "Volume.h"
|
#include "Recognition.h"
|
||||||
|
|
||||||
struct partition_data {
|
struct partition_data {
|
||||||
char partition_name[B_FILE_NAME_LENGTH];
|
char partition_name[B_FILE_NAME_LENGTH];
|
||||||
@@ -50,7 +50,7 @@ ds_fs_id(partition_data *data, int32 device, uint64 sessionOffset,
|
|||||||
// Udf volume names are at most 63 2-byte unicode chars, so 256 UTF-8
|
// Udf volume names are at most 63 2-byte unicode chars, so 256 UTF-8
|
||||||
// chars should cover us.
|
// chars should cover us.
|
||||||
|
|
||||||
status_t err = Udf::Volume::Identify(device, (data->offset + sessionOffset), data->blocks, blockSize, name);
|
status_t err = Udf::udf_recognize(device, (data->offset + sessionOffset), data->blocks, blockSize, name);
|
||||||
if (!err) {
|
if (!err) {
|
||||||
strcpy(data->file_system_short_name, "udf");
|
strcpy(data->file_system_short_name, "udf");
|
||||||
strcpy(data->file_system_long_name, "Universal Disk Format");
|
strcpy(data->file_system_long_name, "Universal Disk Format");
|
||||||
|
|||||||
Reference in New Issue
Block a user