mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	 dcd47655d0
			
		
	
	
		dcd47655d0
		
	
	
	
	
		
			
			To keep track of ongoing terminal sessions, we now have a sort-of traditional /var/run/utmp file, like other Unix systems. Unlike other Unix systems however, ours is of course JSON. :^) The /bin/utmpupdate program is used to update the file, which is not writable by regular user accounts. This helper program is set-GID "utmp".
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			527 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			527 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # Root file system. This is a fake entry which gets ignored by `mount -a`;
 | |
| # the actual logic for mounting root is in the kernel.
 | |
| /dev/hda	/	ext2	nodev,nosuid,ro
 | |
| # Remount /bin, /dev, /root, and /home while adding the appropriate permissions.
 | |
| /dev	/dev	bind	bind,nosuid,ro
 | |
| /bin	/bin	bind	bind,nodev,ro
 | |
| /etc	/etc	bind	bind,nodev,nosuid
 | |
| /home	/home	bind	bind,nodev,nosuid
 | |
| /root	/root	bind	bind,nodev,nosuid
 | |
| /var	/var	bind	bind,nodev,nosuid
 | |
| 
 | |
| none	/proc	proc	nosuid
 | |
| none	/dev/pts	devpts	noexec,nosuid,ro
 | |
| none	/tmp	tmp	nodev,nosuid
 |