8000 filesystem · Issue #11 · Roupiye/hacker-place · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

filesystem #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 of 15 tasks
Roupiye opened this issue Jul 21, 2024 · 0 comments
Open
3 of 15 tasks

filesystem #11

Roupiye opened this issue Jul 21, 2024 · 0 comments

Comments

@Roupiye
Copy link
Owner
Roupiye commented Jul 21, 2024

the file system should have the following features

  • partitions
  • multiple hard-drives in the same machine
  • encrypted partitions
    • ask password before mount
    • save password into partition
    • require password to disable encryption and to change password
  • bootable partitions
  • different speed configurations
    • delete should not be affected
    • creating and editing files should also not be affected
    • moving files should be affected
  • different durability configurations
    • passive loss / loss when managing files
    • block all operations if condition is too low
  • different sockets types
    • prevent hard-drive from being associated with mother-board if socket type differs
      • find a way to associate the hardware with the socket not directly with mother board
  • different partition types (ext4 ntfs fat)
    • partition type should restrict the max size of the partition

functions

  • format hard-drive (remove all partitions)
  • rename hard-drive
  • get hard-drive partition stats
  • get hard-drive stats (free space and condition)
  • resize partition
  • move partition
  • free partition
  • set partition as bootable
  • mount partition (add it on mount_path table of machine boot hard-drive hardware)

restrictions

partitions can only be mounted in one place at the time

if you mount sda2 to /foo and sda3 to /foo/bar then unmount sda2 making the path /foo/bar/ not exist anymore. You won't be able to access the partition until it does again

partition table should be store in the bootable harddrive

things not covered

raids

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0