flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Did I enter protected mode right?

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 21055
Location: In your JS exploiting you and your system
revolution 20 Aug 2026, 22:08
bzt wrote:
... a UNIX clone like Linux usually needs multiple partitions (root, home, usr, var, etc.).
My Linux system has a single partition, root.
Post 20 Aug 2026, 22:08
View user's profile Send private message Visit poster's website Reply with quote
bzt



Joined: 09 Nov 2018
Posts: 107
bzt 21 Aug 2026, 15:31
revolution wrote:
bzt wrote:
... a UNIX clone like Linux usually needs multiple partitions (root, home, usr, var, etc.).
My Linux system has a single partition, root.
Possible, but extremely inefficient and highly risky. Using different partitions allows you to tweak the file systems according to their usage: usr usually has rarely-changing static larger files, var has lots of often-changing small files for example; you probably want to only allow device files in dev nowhere else; no access time and execution right on files in tmp, etc. If home is separated then you can reinstall the system without losing your own files etc. etc. etc.

(ps. see tune2fs, a typical distro installer calls this automatically, it only asks you what are you going to use the partition for, the tweaking is taken care for you.)
Post 21 Aug 2026, 15:31
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 21055
Location: In your JS exploiting you and your system
revolution 21 Aug 2026, 21:23
bzt wrote:
Possible, but extremely inefficient and highly risky. Using different partitions allows you to tweak the file systems according to their usage: usr usually has rarely-changing static larger files, var has lots of often-changing small files for example; you probably want to only allow device files in dev nowhere else; no access time and execution right on files in tmp, etc. If home is separated then you can reinstall the system without losing your own files etc. etc. etc.
I wonder if that is conflating mount points with partitions.

I have many mount points, on a single partition

For example tmp is mounted as a ram disk, dev is mounted udev etc.
Code:
udev on /dev type devtmpfs (rw,nosuid,relatime,size=7931608k,nr_inodes=1982902,mode=755,inode64)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=7970804k,nr_inodes=1048576,inode64)    
Post 21 Aug 2026, 21:23
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.