From a5e33bdbc0d62f85ab6dba2fe0abc795d8089c0c Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Thu, 26 May 2011 13:58:15 +0200 Subject: [PATCH 01/17] version 1.5.28-vm --- version_vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_vm b/version_vm index f93a854..ac2f82c 100644 --- a/version_vm +++ b/version_vm @@ -1 +1 @@ -1.5.27 +1.5.28 From a7c679c6e7272b93662b317e830dd1aeabcf0720 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 24 Jun 2011 23:00:40 +0200 Subject: [PATCH 02/17] Makefile: automaically copy rpms to _all_ vm repos --- Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 881b6a4..aea9b2f 100644 --- a/Makefile +++ b/Makefile @@ -29,23 +29,28 @@ rpms-vaio-fixes: update-repo-current: ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*fc13*.rpm ../yum/current-release/current/dom0/rpm/ ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*fc13*.rpm ../yum/current-release/current/dom0/rpm/ - ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*fc13*.rpm ../yum/current-release/current/vm/f13/rpm/ - ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*fc14*.rpm ../yum/current-release/current/vm/f14/rpm/ + for vmrepo in ../yum/current-release/current/vm/* ; do \ + dist=$$(basename $$vmrepo) ;\ + ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*$$dist*.rpm $$vmrepo/rpm/ ;\ + done cd ../yum && ./update_repo.sh update-repo-current-testing: ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*fc13*.rpm ../yum/current-release/current-testing/dom0/rpm/ ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*fc13*.rpm ../yum/current-release/current-testing/dom0/rpm/ - ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*fc13*.rpm ../yum/current-release/current-testing/vm/f13/rpm/ - ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*fc14*.rpm ../yum/current-release/current-testing/vm/f14/rpm/ + for vmrepo in ../yum/current-release/current-testing/vm/* ; do \ + dist=$$(basename $$vmrepo) ;\ + ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*$$dist*.rpm $$vmrepo/rpm/ ;\ + done cd ../yum && ./update_repo.sh - update-repo-unstable: ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*fc13*.rpm ../yum/current-release/unstable/dom0/rpm/ ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-vaio-fixes-$(VERSION_VAIO_FIXES)*fc13*.rpm ../yum/current-release/unstable/dom0/rpm/ - ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*fc13*.rpm ../yum/current-release/unstable/vm/f13/rpm/ - ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*fc14*.rpm ../yum/current-release/unstable/vm/f14/rpm/ + for vmrepo in ../yum/current-release/unstable/vm/* ; do \ + dist=$$(basename $$vmrepo) ;\ + ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*$$dist*.rpm $$vmrepo/rpm/ ;\ + done cd ../yum && ./update_repo.sh update-repo-installer: From a62644bb4f9339f90a93c49197af656d381b8897 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 26 Jun 2011 18:57:46 +0200 Subject: [PATCH 03/17] vm: Run ntpd in FirewallVM as clock source for dom0 (#198) --- common/qubes_core | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/qubes_core b/common/qubes_core index 239a684..45d4b7f 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -71,6 +71,11 @@ start() success echo "" + + type=$(/usr/bin/xenstore-read qubes_vm_type) + if [ "$type" == "ProxyVM" ]; then + /sbin/service ntpd start + fi return 0 } From ae8a8229ee0d81d80bd051ec8173a169a558b76d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 26 Jun 2011 19:26:44 +0200 Subject: [PATCH 04/17] vm: Check for TemplateVM updates (#198) Just before dom0 updates check for TemplateVM updates and notify the user when there are some. --- common/qubes_download_dom0_updates.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/common/qubes_download_dom0_updates.sh b/common/qubes_download_dom0_updates.sh index 488eecb..cb771a3 100755 --- a/common/qubes_download_dom0_updates.sh +++ b/common/qubes_download_dom0_updates.sh @@ -21,7 +21,26 @@ fi mkdir -p $DOM0_UPDATES_DIR/etc cp /etc/yum.conf $DOM0_UPDATES_DIR/etc/ -echo "Checking for updates..." +# check also for template updates +echo "Checking for template updates..." +TEMPLATEPKGLIST=`yum check-update -q | cut -f 1 -d ' '` +if [ -n "$TEMPLATEPKGLIST" ] && [ "$GUI" = 1 ]; then + TEMPLATE_UPDATE_COUNT=`echo "$TEMPLATEPKGLIST" | wc -w` + NOTIFY_UPDATE_COUNT=`cat /var/run/qubes/template_update_last_notify_count 2> /dev/null` + if [ "$NOTIFY_UPDATE_COUNT" != "$TEMPLATE_UPDATE_COUNT" ]; then + echo -n $TEMPLATE_UPDATE_COUNT > /var/run/qubes/template_update_last_notify_count + NOTIFY_PID=`cat /var/run/qubes/template_update_notify.pid 2> /dev/null` + if [ -z "$NOTIFY_PID" ] || ! kill -0 $NOTIFY_PID; then + NOTIFY_TITLE="Template update" + NOTIFY_TEXT="There are $TEMPLATE_UPDATE_COUNT updates available for TemplateVM" + NOTIFY_INFO="$NOTIFY_TEXT. Start TemplateVM to update it." + ( zenity --notification --text "$NOTIFY_TEXT"; zenity --warning --title "$NOTIFY_TITLE" --text "$NOTIFY_INFO") & + echo $! > /var/run/qubes/template_update_notify.pid + fi + fi +fi + +echo "Checking for dom0 updates..." PKGLIST=`yum --installroot $DOM0_UPDATES_DIR check-update -q | cut -f 1 -d ' '` if [ -z $PKGLIST ]; then From b6f036caf2276b26a064156f4ee8ca7b026ecdc0 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 30 Jun 2011 01:07:47 +0200 Subject: [PATCH 05/17] dom0+vm: Update VM kernel mechanism (#242) Get kernel from global kernels dir (/var/lib/qubes/vm-kernels), not per-VM. Can be configured by qvm-prefs (kernel parameter). New tool: qvm-set-default-kernel For backward compatibility kernel=None means kernel in VM dir (kernels subdir). (possibly empty) modules.img should be created in it. --- common/fstab | 1 + rpm_spec/core-commonvm.spec | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/common/fstab b/common/fstab index 3bd3474..37b23a9 100644 --- a/common/fstab +++ b/common/fstab @@ -9,6 +9,7 @@ /dev/mapper/dmroot / ext4 defaults,noatime 1 1 /dev/xvdb /rw ext4 noauto,defaults 0 0 /dev/xvdc1 swap swap defaults 0 0 +/dev/xvdd /lib/modules ext3 defaults,ro 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 diff --git a/rpm_spec/core-commonvm.spec b/rpm_spec/core-commonvm.spec index d754c36..26d89b1 100644 --- a/rpm_spec/core-commonvm.spec +++ b/rpm_spec/core-commonvm.spec @@ -86,6 +86,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes cp qubes_trigger_sync_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/ mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dom0-updates +mkdir -p $RPM_BUILD_ROOT/lib/firmware +ln -s /lib/modules/firmware $RPM_BUILD_ROOT/lib/firmware/updates + %triggerin -- initscripts cp /var/lib/qubes/serial.conf /etc/init/serial.conf @@ -236,3 +239,4 @@ rm -rf $RPM_BUILD_ROOT /etc/yum/post-actions/qubes_trigger_sync_appmenus.action /usr/lib/qubes/qubes_trigger_sync_appmenus.sh /usr/lib/qubes/qubes_download_dom0_updates.sh +/lib/firmware/updates From 7abf507f6f75b009bf67f9d98d500fc94af958b0 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 30 Jun 2011 01:27:14 +0200 Subject: [PATCH 06/17] dom0+vm: version 1.6.4 --- version_vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_vm b/version_vm index fdd3be6..9edc58b 100644 --- a/version_vm +++ b/version_vm @@ -1 +1 @@ -1.6.2 +1.6.4 From b2482f80256719e12915a99d673c23a591fc6c09 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Thu, 30 Jun 2011 20:47:48 +0200 Subject: [PATCH 07/17] Makefile: don't autoupdate yum repo after copying rpms there --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index aea9b2f..8f98ae4 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,6 @@ update-repo-current: dist=$$(basename $$vmrepo) ;\ ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*$$dist*.rpm $$vmrepo/rpm/ ;\ done - cd ../yum && ./update_repo.sh update-repo-current-testing: ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*fc13*.rpm ../yum/current-release/current-testing/dom0/rpm/ @@ -42,7 +41,6 @@ update-repo-current-testing: dist=$$(basename $$vmrepo) ;\ ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*$$dist*.rpm $$vmrepo/rpm/ ;\ done - cd ../yum && ./update_repo.sh update-repo-unstable: ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-$(VERSION_DOM0)*fc13*.rpm ../yum/current-release/unstable/dom0/rpm/ @@ -51,7 +49,6 @@ update-repo-unstable: dist=$$(basename $$vmrepo) ;\ ln -f $(RPMS_DIR)/x86_64/qubes-core-*vm-*$(VERSION_VM)*$$dist*.rpm $$vmrepo/rpm/ ;\ done - cd ../yum && ./update_repo.sh update-repo-installer: ln -f $(RPMS_DIR)/x86_64/qubes-core-dom0-*$(VERSION_DOM0)*fc13*.rpm ../installer/yum/qubes-dom0/rpm/ From 3d1ca80d28e70f6239a5c40fb6b4ff8aaf756754 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 1 Jul 2011 22:56:11 +0200 Subject: [PATCH 08/17] Update VM yum repos confs for Beta2 --- common/qubes.fc13.repo | 6 +++--- common/qubes.fc14.repo | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/qubes.fc13.repo b/common/qubes.fc13.repo index 982b095..376b490 100644 --- a/common/qubes.fc13.repo +++ b/common/qubes.fc13.repo @@ -1,19 +1,19 @@ [qubes-vm-current] name = Qubes OS Repository for VM (updates) -baseurl = http://yum.qubes-os.org/r1-beta1/current/vm/f13 +baseurl = http://yum.qubes-os.org/r1-beta2/current/vm/fc13 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary gpgcheck = 1 [qubes-vm-current-testing] name = Qubes OS Repository for VM (updates-testing) -baseurl = http://yum.qubes-os.org/r1-beta1/current-testing/vm/f13 +baseurl = http://yum.qubes-os.org/r1-beta2/current-testing/vm/fc13 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary gpgcheck = 1 enabled=0 [qubes-vm-unstable] name = Qubes OS Repository for VM (unstable) -baseurl = http://yum.qubes-os.org/r1-beta1/unstable/vm/f13 +baseurl = http://yum.qubes-os.org/r1-beta2/unstable/vm/fc13 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary gpgcheck = 1 enabled=0 diff --git a/common/qubes.fc14.repo b/common/qubes.fc14.repo index b10c80c..2020d1e 100644 --- a/common/qubes.fc14.repo +++ b/common/qubes.fc14.repo @@ -1,19 +1,19 @@ [qubes-vm-current] name = Qubes OS Repository for VM (updates) -baseurl = http://yum.qubes-os.org/r1-beta1/current/vm/f14 +baseurl = http://yum.qubes-os.org/r1-beta2/current/vm/fc14 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary gpgcheck = 1 [qubes-vm-current-testing] name = Qubes OS Repository for VM (updates-testing) -baseurl = http://yum.qubes-os.org/r1-beta1/current-testing/vm/f14 +baseurl = http://yum.qubes-os.org/r1-beta2/current-testing/vm/fc14 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary gpgcheck = 1 enabled=0 [qubes-vm-unstable] name = Qubes OS Repository for VM (unstable) -baseurl = http://yum.qubes-os.org/r1-beta1/unstable/vm/f14 +baseurl = http://yum.qubes-os.org/r1-beta2/unstable/vm/fc14 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary gpgcheck = 1 enabled=0 From c01485b19a9e4d717f4a1889cda47084f35782ca Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 2 Jul 2011 00:24:20 +0200 Subject: [PATCH 09/17] vm: Load u2mfn module --- common/qubes_core | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/qubes_core b/common/qubes_core index 45d4b7f..b941efb 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -15,6 +15,8 @@ start() exit 1 fi + modprobe u2mfn + # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read chmod 666 /proc/xen/xenbus From 313928c305b732f135ffb15a0660f63d34443927 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sat, 2 Jul 2011 00:30:28 +0200 Subject: [PATCH 10/17] version: 1.6.5 --- version_vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_vm b/version_vm index 9edc58b..9f05f9f 100644 --- a/version_vm +++ b/version_vm @@ -1 +1 @@ -1.6.4 +1.6.5 From 0574daa2c5067371156c402119403804aa244aac Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sat, 2 Jul 2011 13:12:53 +0200 Subject: [PATCH 11/17] vm: Load evtchn module in qubes_core --- common/qubes_core | 1 + 1 file changed, 1 insertion(+) diff --git a/common/qubes_core b/common/qubes_core index b941efb..fbc48d4 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -15,6 +15,7 @@ start() exit 1 fi + modprobe evtchn modprobe u2mfn # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read From 232f22856c44bb26a1ff7e1115bd14dc74c500fb Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sat, 2 Jul 2011 13:14:57 +0200 Subject: [PATCH 12/17] vm: qubes_core ident fixes --- common/qubes_core | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/qubes_core b/common/qubes_core index fbc48d4..fb2d30c 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -15,11 +15,11 @@ start() exit 1 fi - modprobe evtchn - modprobe u2mfn + modprobe evtchn + modprobe u2mfn - # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read - chmod 666 /proc/xen/xenbus + # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read + chmod 666 /proc/xen/xenbus name=$(/usr/bin/xenstore-read name) if ! [ -f /etc/this_is_dvm ] ; then From 18d55a9faa84181373ca6d847325b6de9ef15d5e Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sat, 2 Jul 2011 13:36:19 +0200 Subject: [PATCH 13/17] version 1.6.6 --- version_vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_vm b/version_vm index 9f05f9f..ec70f75 100644 --- a/version_vm +++ b/version_vm @@ -1 +1 @@ -1.6.5 +1.6.6 From 84eaf09bc634a1a3d985ec4eed0edf2ea8503f01 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 2 Jul 2011 19:09:28 +0200 Subject: [PATCH 14/17] Revert "vm: Load evtchn module in qubes_core" This reverts commit 26a9b7754514bae4dabf57808c9be22e2b560416. Will be loaded by separate script in /etc/sysconfig/modules Conflicts: common/qubes_core --- common/qubes_core | 1 - 1 file changed, 1 deletion(-) diff --git a/common/qubes_core b/common/qubes_core index fb2d30c..ff3bf3c 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -16,7 +16,6 @@ start() fi modprobe evtchn - modprobe u2mfn # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read chmod 666 /proc/xen/xenbus From 508a39cbb0c909b9d77e322d7f257f60425b809d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 2 Jul 2011 19:11:15 +0200 Subject: [PATCH 15/17] vm: Load evtchn module by script in /etc/sysconfig/modules --- common/qubes_core | 2 -- common/qubes_core.modules | 1 + rpm_spec/core-commonvm.spec | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 common/qubes_core.modules diff --git a/common/qubes_core b/common/qubes_core index ff3bf3c..4225b48 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -15,8 +15,6 @@ start() exit 1 fi - modprobe evtchn - # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read chmod 666 /proc/xen/xenbus diff --git a/common/qubes_core.modules b/common/qubes_core.modules new file mode 100755 index 0000000..f5cb69c --- /dev/null +++ b/common/qubes_core.modules @@ -0,0 +1 @@ +modprobe xen-evtchn || modprobe evtchn diff --git a/rpm_spec/core-commonvm.spec b/rpm_spec/core-commonvm.spec index 26d89b1..624c470 100644 --- a/rpm_spec/core-commonvm.spec +++ b/rpm_spec/core-commonvm.spec @@ -86,6 +86,8 @@ mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes cp qubes_trigger_sync_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/ mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dom0-updates +install -D qubes_core.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_core.modules + mkdir -p $RPM_BUILD_ROOT/lib/firmware ln -s /lib/modules/firmware $RPM_BUILD_ROOT/lib/firmware/updates @@ -235,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT /sbin/qubes_serial_login /usr/bin/xenstore-watch-qubes /etc/udev/rules.d/qubes_network.rules +/etc/sysconfig/modules/qubes_core.modules /usr/lib/qubes/setup_ip /etc/yum/post-actions/qubes_trigger_sync_appmenus.action /usr/lib/qubes/qubes_trigger_sync_appmenus.sh From f963a419b6ad18cc60e4730f256b617d44c38804 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 3 Jul 2011 20:11:55 +0200 Subject: [PATCH 16/17] vm: Do not setup IP second time It is assigned by udev script --- common/qubes_core | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/common/qubes_core b/common/qubes_core index 4225b48..357be8a 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -26,17 +26,6 @@ start() hostname $name fi - ip=$(/usr/bin/xenstore-read qubes_ip) - netmask=$(/usr/bin/xenstore-read qubes_netmask) - gateway=$(/usr/bin/xenstore-read qubes_gateway) - secondary_dns=$(/usr/bin/xenstore-read qubes_secondary_dns) - if [ x$ip != x ]; then - /sbin/ifconfig eth0 $ip netmask 255.255.255.255 up - /sbin/route add default dev eth0 - echo "nameserver $gateway" > /etc/resolv.conf - echo "nameserver $secondary_dns" >> /etc/resolv.conf - fi - if [ -e /dev/xvdb ] ; then mount /rw From 3b81062087a67bf31a717850f84d21be316c1c68 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 3 Jul 2011 20:53:36 +0200 Subject: [PATCH 17/17] vm: remove /lib/modules from fstab (#263) This is mounted by initramfs --- common/fstab | 1 - 1 file changed, 1 deletion(-) diff --git a/common/fstab b/common/fstab index 37b23a9..3bd3474 100644 --- a/common/fstab +++ b/common/fstab @@ -9,7 +9,6 @@ /dev/mapper/dmroot / ext4 defaults,noatime 1 1 /dev/xvdb /rw ext4 noauto,defaults 0 0 /dev/xvdc1 swap swap defaults 0 0 -/dev/xvdd /lib/modules ext3 defaults,ro 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0