forked from Bananymous/banan-os
Kernel: Shell can now mount partitions
This commit is contained in:
@@ -42,6 +42,8 @@ namespace Kernel
|
||||
char m_label[36 * 4 + 1];
|
||||
|
||||
public:
|
||||
virtual DeviceType device_type() const override { return DeviceType::Partition; }
|
||||
|
||||
virtual ino_t ino() const override { return m_index; }
|
||||
virtual Mode mode() const override { return { Mode::IFBLK | Mode::IRUSR | Mode::IRGRP }; }
|
||||
virtual nlink_t nlink() const override { return 1; }
|
||||
|
||||
Reference in New Issue
Block a user