mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
1bc8de83ff
commit
72bb821990
@ -84,6 +84,11 @@ class Vfs::Terminal_file_system : public Single_file_system
|
||||
return READ_OK;
|
||||
}
|
||||
|
||||
Ftruncate_result ftruncate(Vfs_handle *vfs_handle, size_t) override
|
||||
{
|
||||
return FTRUNCATE_OK;
|
||||
}
|
||||
|
||||
bool check_unblock(Vfs_handle *vfs_handle, bool rd, bool wr, bool ex) override
|
||||
{
|
||||
if (rd && (_terminal.avail() > 0))
|
||||
|
@ -157,7 +157,7 @@ append config {
|
||||
<if-arg key="label" value=""/><child name="terminal_noux"/>
|
||||
</service>
|
||||
<service name="Terminal">
|
||||
<if-arg key="label" value="noux(terminal_fs)"/><child name="terminal_test"/>
|
||||
<if-arg key="label" value="terminal_fs"/><child name="terminal_test"/>
|
||||
</service>
|
||||
<any-service><parent/><any-child/></any-service>
|
||||
</route>
|
||||
@ -167,7 +167,7 @@ append config {
|
||||
<tar name="bash.tar" />
|
||||
|
||||
<dir name="ram"> <fs label="root" /> </dir>
|
||||
<dir name="dev"> <terminal name="terminal" /> </dir>
|
||||
<dir name="dev"> <terminal name="terminal" label="terminal_fs" /> </dir>
|
||||
</fstab>
|
||||
<start name="/bin/bash">
|
||||
<env name="TERM" value="linux" />
|
||||
|
Loading…
Reference in New Issue
Block a user