disk: implement Entity interface
Implement the base type of the new entity system, i.e. `Entity`, for all relevant components: - PartitionTable - Partition - Filesystem Co-Authored-By: Achilleas Koutsou <achilleas@koutsou.net>
This commit is contained in:
parent
37e6fa8b95
commit
51a396e3f1
3 changed files with 12 additions and 0 deletions
|
|
@ -18,6 +18,10 @@ type Filesystem struct {
|
|||
FSTabPassNo uint64
|
||||
}
|
||||
|
||||
func (fs *Filesystem) IsContainer() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Clone the filesystem structure
|
||||
func (fs *Filesystem) Clone() *Filesystem {
|
||||
if fs == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue