fixup! Add iso9660 filesystem implementation.
This commit is contained in:
parent
9578e30a93
commit
936ddeaca3
|
@ -530,7 +530,7 @@ void HandleTCGetBlob(int chl, struct fsm_req_tcgetblob* msg, Filesystem* fs)
|
|||
else if ( !strcmp(name, "device-path") )
|
||||
RespondTCGetBlob(chl, fs->device->path, strlen(fs->device->path));
|
||||
else if ( !strcmp(name, "filesystem-type") )
|
||||
RespondTCGetBlob(chl, "ext2", strlen("iso9660"));
|
||||
RespondTCGetBlob(chl, "iso9660", strlen("iso9660"));
|
||||
// TODO: Some kind of unique id.
|
||||
//else if ( !strcmp(name, "filesystem-uuid") )
|
||||
// RespondTCGetBlob(chl, fs->sb->s_uuid, sizeof(fs->sb->s_uuid));
|
||||
|
|
|
@ -466,7 +466,7 @@ ssize_t Inode::ReadLink(uint8_t* buf, size_t bufsize)
|
|||
break;
|
||||
const char* data = (const char*) (field + n + 2);
|
||||
size_t datalen = comp_len;
|
||||
// TDOO: How is a trailing slash encoded?
|
||||
// TODO: How is a trailing slash encoded?
|
||||
if ( !continued || (comp_flags & (1 << 3) /* root */) )
|
||||
{
|
||||
buf[result++] = '/';
|
||||
|
|
Loading…
Reference in New Issue