[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/15: gnu: system: Add Linux container file systems.
From: |
David Thompson |
Subject: |
12/15: gnu: system: Add Linux container file systems. |
Date: |
Thu, 02 Jul 2015 00:59:01 +0000 |
davexunit pushed a commit to branch wip-container
in repository guix.
commit da75fa4c42229173fc26a801dea30cc1a01f9247
Author: David Thompson <address@hidden>
Date: Sun Jun 28 00:42:16 2015 -0400
gnu: system: Add Linux container file systems.
* gnu/system/file-systems.scm (%container-file-systems): New variable.
---
gnu/system/file-systems.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index b33f826..23998dd 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -45,6 +45,7 @@
%control-groups
%base-file-systems
+ %container-file-systems
mapped-device
mapped-device?
@@ -198,6 +199,35 @@ initrd code."
%immutable-store)
%control-groups))
+(define %container-file-systems
+ (list
+ ;; Psuedo-terminal file system.
+ (file-system
+ (device "none")
+ (mount-point "/dev/pts")
+ (type "devpts")
+ (flags '(no-exec no-suid))
+ (needed-for-boot? #t)
+ (create-mount-point? #t)
+ (options "newinstance,ptmxmode=0666,mode=620"))
+ ;; Shared memory file system.
+ (file-system
+ (device "tmpfs")
+ (mount-point "/dev/shm")
+ (type "tmpfs")
+ (flags '(no-exec no-suid no-dev))
+ (options "mode=1777,size=65536k")
+ (needed-for-boot? #t)
+ (create-mount-point? #t))
+ ;; Message queue file system.
+ (file-system
+ (device "mqueue")
+ (mount-point "/dev/mqueue")
+ (type "mqueue")
+ (flags '(no-exec no-suid no-dev))
+ (needed-for-boot? #t)
+ (create-mount-point? #t))))
+
;;;
- branch wip-container created (now a3cbf11), David Thompson, 2015/07/01
- 02/15: build: syscalls: Add setns syscall wrapper., David Thompson, 2015/07/01
- 03/15: build: syscalls: Add additional mount flags., David Thompson, 2015/07/01
- 04/15: build: syscalls: Add unmount flags., David Thompson, 2015/07/01
- 05/15: build: syscalls: Add pivot-root., David Thompson, 2015/07/01
- 06/15: build: syscalls: Add mkdtemp!, David Thompson, 2015/07/01
- 07/15: utils: Add call-with-temporary-directory., David Thompson, 2015/07/01
- 01/15: build: syscalls: Add clone syscall wrapper., David Thompson, 2015/07/01
- 10/15: gnu: system: Move file-system->spec to (gnu system file-systems)., David Thompson, 2015/07/01
- 09/15: gnu: system: Move <file-system-mapping> into (gnu system file-systems)., David Thompson, 2015/07/01
- 12/15: gnu: system: Add Linux container file systems.,
David Thompson <=
- 11/15: gnu: system: Add Linux container module., David Thompson, 2015/07/01
- 14/15: scripts: environment: Add --container option., David Thompson, 2015/07/01
- 08/15: gnu: build: Add Linux container module., David Thompson, 2015/07/01
- 15/15: scripts: Add 'container' subcommand., David Thompson, 2015/07/01
- 13/15: scripts: system: Add 'container' subcommand., David Thompson, 2015/07/01