Advertisement
Guest User

Untitled

a guest
Sep 17th, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. [root@nix:/home/USER]# tail -17 /etc/nixos/configuration.nix
  2. fileSystems."/mnt/hgfs" = {
  3. #device = ".host:/";
  4. #fsType = "vmhgfs";
  5. device = "vmhgfs-fuse";
  6. fsType = "fuse";
  7. options = [
  8. "rw"
  9. "nosuid"
  10. "nodev"
  11. "nofail"
  12. "relatime"
  13. "ttl=5"
  14. "uid=USER"
  15. "gid=USER"
  16. ];
  17. };
  18. }
  19.  
  20.  
  21. [root@nix:/home/USER]# nixos-rebuild test
  22. building Nix...
  23. building the system configuration...
  24. these derivations will be built:
  25. /nix/store/hy8nz4sgiarqamx81cbm37ghqj062jmz-unit-mnt-hgfs.mount.service.drv
  26. /nix/store/4m79aq3v8b4rr532bsibh70cr4jhcmkh-system-units.drv
  27. /nix/store/8zvzk31qd3igsww51yrp87a7bwc73a2n-etc.drv
  28. /nix/store/0wsidj9dxhpn7bc3rajz6mqcmq79mxzi-nixos-system-nix-18.03.133192.45f52f765cd.drv
  29. building '/nix/store/hy8nz4sgiarqamx81cbm37ghqj062jmz-unit-mnt-hgfs.mount.service.drv'...
  30. building '/nix/store/4m79aq3v8b4rr532bsibh70cr4jhcmkh-system-units.drv'...
  31. building '/nix/store/8zvzk31qd3igsww51yrp87a7bwc73a2n-etc.drv'...
  32. building '/nix/store/0wsidj9dxhpn7bc3rajz6mqcmq79mxzi-nixos-system-nix-18.03.133192.45f52f765cd.drv'...
  33. activating the configuration...
  34. setting up /etc...
  35. setting up tmpfiles
  36. warning: the following units failed: mnt-hgfs.mount
  37.  
  38. ● mnt-hgfs.mount - /mnt/hgfs
  39. Loaded: loaded (/etc/fstab; generated)
  40. Active: failed (Result: exit-code) since Tue 2018-09-18 00:05:08 CEST; 22ms ago
  41. Where: /mnt/hgfs
  42. What: vmhgfs-fuse
  43. Docs: man:fstab(5)
  44. man:systemd-fstab-generator(8)
  45. Process: 9135 ExecMount=/nix/store/d49n6q7b197j2nsnbdvn6i55rsnmiyq1-util-linux-2.31.1-bin/bin/mount vmhgfs-fuse /mnt/hgfs -t fuse -o rw,nosuid,nodev,relatime,ttl=5,uid=USER,gid=USER (code=exited, status=127)
  46.  
  47. Sep 18 00:05:08 nix systemd[1]: Mounting /mnt/hgfs...
  48. Sep 18 00:05:08 nix mount[9135]: /bin/sh: vmhgfs-fuse: command not found
  49. Sep 18 00:05:08 nix systemd[1]: mnt-hgfs.mount: Mount process exited, code=exited status=127
  50. Sep 18 00:05:08 nix systemd[1]: mnt-hgfs.mount: Failed with result 'exit-code'.
  51. Sep 18 00:05:08 nix systemd[1]: Failed to mount /mnt/hgfs.
  52. warning: error(s) occurred while switching to the new configuration
  53.  
  54.  
  55. [root@nix:/home/USER]# ls -l /nix/store/*/*mnt-hgfs*
  56. lrwxrwxrwx 1 root root 94 Jan 1 1970 /nix/store/4a8nfhf044gh7pf3ha1r7glhw2lpnnv3-system-units/mnt-hgfs.mount.service -> /nix/store/f9v616h5k9d4yp24gdnnczlrwhjfq5y7-unit-mnt-hgfs.mount.service/mnt-hgfs.mount.service
  57. -r--r--r-- 1 root root 1013 Jan 1 1970 /nix/store/f9v616h5k9d4yp24gdnnczlrwhjfq5y7-unit-mnt-hgfs.mount.service/mnt-hgfs.mount.service
  58.  
  59.  
  60. [root@nix:/home/USER]# cat /nix/store/f9v616h5k9d4yp24gdnnczlrwhjfq5y7-unit-mnt-hgfs.mount.service/mnt-hgfs.mount.service
  61. [Unit]
  62.  
  63. [Service]
  64. Environment="LOCALE_ARCHIVE=/nix/store/v2hvbpzhndgjm04djqql93bmb4w69gql-glibc-locales-2.26-131/lib/locale/locale-archive"
  65. Environment="PATH=/nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin:/nix/store/920k63py2w97xpfyb5ps9l6wbidvzfjz-coreutils-8.29/bin:/nix/store/hlgglqv1vm88frmysq2laifavxjhaf55-findutils-4.6.0/bin:/nix/store/iywd02hbirf506q740z0v6zyrvsa9gcf-gnugrep-3.1/bin:/nix/store/wkgszaq2dkc4asapcbx6ypd7xdnzad9f-gnused-4.4/bin:/nix/store/3hmpbbcv1db42m9g34c9g4q6qinw50x4-systemd-237/bin:/nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/sbin:/nix/store/920k63py2w97xpfyb5ps9l6wbidvzfjz-coreutils-8.29/sbin:/nix/store/hlgglqv1vm88frmysq2laifavxjhaf55-findutils-4.6.0/sbin:/nix/store/iywd02hbirf506q740z0v6zyrvsa9gcf-gnugrep-3.1/sbin:/nix/store/wkgszaq2dkc4asapcbx6ypd7xdnzad9f-gnused-4.4/sbin:/nix/store/3hmpbbcv1db42m9g34c9g4q6qinw50x4-systemd-237/sbin"
  66. Environment="TZDIR=/nix/store/k8n4sf0yfas70yfv156knrpv9xfipjwm-tzdata-2017c/share/zoneinfo"
  67.  
  68.  
  69. [root@nix:/home/USER]# find /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/ -iname '*hgfs*'
  70. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin/mount.vmhgfs
  71. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin/vmhgfs-fuse
  72. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin/vmware-hgfsclient
  73. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.so
  74. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/open-vm-tools/plugins/common/libhgfsServer.la
  75. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/open-vm-tools/plugins/common/libhgfsServer.so
  76. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.so.0.0.0
  77. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.la
  78. /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.so.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement