2 # m68k and mips are the only not supported archs
5 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
6 %bcond_without doc # don't build documentation which needed LaTeX
7 %bcond_with xalan # use the xalan xslt processor
9 Summary: Linux virtual server utilities
10 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
15 Group: Applications/System
16 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
17 # Source0-md5: 4453ad0ae7f351fec651d6904e00521f
18 Source1: vprocunhide.init
19 Source2: vservers-default.init
20 Source3: vservers-legacy.init
21 Source4: rebootmgr.init
22 Source5: vservers-default.sysconfig
23 Source6: vservers-legacy.sysconfig
24 # A bit of documentation explaining package menagement
25 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
26 Source7: util-vserver-pkgmgmt.txt
27 Patch0: %{name}-vsysvwrapper.patch
28 Patch1: %{name}-pld.patch
29 Patch2: %{name}-build-poldek.patch
30 Patch3: %{name}-include.patch
31 Patch4: %{name}-m4-diet.patch
32 Patch5: http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-kheaders.diff
33 Patch6: http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-shiny6.diff
34 URL: http://savannah.nongnu.org/projects/util-vserver/
35 BuildRequires: autoconf
36 BuildRequires: automake >= 1.9
37 BuildRequires: beecrypt-devel
38 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
39 BuildRequires: libstdc++-devel
40 BuildRequires: libtool >= 1.5.14
43 BuildRequires: doxygen
44 BuildRequires: graphviz
45 BuildRequires: libxslt-progs
46 BuildRequires: tetex-format-pdflatex
47 BuildRequires: tetex-makeindex
48 %{?with_xalan:BuildRequires: xalan-j}
52 Requires(post,preun): /sbin/chkconfig
53 Requires: %{name}-lib = %{version}-%{release}
54 Obsoletes: util-vserver-core
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 This package provides the components and a framework to setup virtual
59 servers. A virtual server runs inside a Linux server. It is
60 nevertheless highly independent. As such, you can run various services
61 with normal configuration. The various vservers can't interact with
62 each other and can't interact with services in the main server.
64 This requires a special kernel supporting the new new_s_context and
65 set_ipv4root system call.
67 This package contains utilities which are required to communicate with
68 the Linux-Vserver enabled kernel.
71 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
72 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
73 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
74 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
75 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
77 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
78 new_s_context i set_ipv4root.
80 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
81 w³±czonym mechanizmem Linux-Vserver.
84 Summary: Development files for Linux vserver libraries
85 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
86 Group: Development/Libraries
87 Requires: %{name}-lib = %{version}-%{release}
90 This package contains the development files necessary for developing
91 programs which use vserver library.
93 %description devel -l pl
94 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
95 programów u¿ywaj±cych biblioteki vserver.
98 Summary: Static vserver library
99 Summary(pl): Biblioteka statyczna vservera
100 Group: Development/Libraries
101 Requires: %{name}-devel = %{version}-%{release}
104 This package contains the static version of vserver library.
106 %description static -l pl
107 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
110 Summary: Dynamic libraries for util-vserver
111 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
115 util-vserver provides the components and a framework to setup virtual
116 servers. A virtual server runs inside a linux server. It is
117 nevertheless highly independent. As such, you can run various services
118 with normal configuration. The various vservers can't interact with
119 each other and can't interact with services in the main server.
121 This package contains the shared libraries needed by all other
122 'util-vserver' subpackages.
124 %description lib -l pl
125 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
126 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
127 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
128 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
129 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
131 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
132 podpakiety util-vserver.
135 Summary: Tools which can be used to build vservers
136 Summary(pl): Narzêdzia do budowania vserverów
137 Group: Applications/System
143 Conflicts: poldek < 0.18.8-10
144 Requires: %{name} = %{version}-%{release}
147 util-vserver provides the components and a framework to setup virtual
148 servers. A virtual server runs inside a linux server. It is
149 nevertheless highly independent. As such, you can run various services
150 with normal configuration. The various vservers can't interact with
151 each other and can't interact with services in the main server.
153 This package contains utilities which assist in building Vservers.
155 %description build -l pl
156 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
157 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
158 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
159 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
160 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
162 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
165 Summary: initscripts for vserver
166 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
167 Group: Applications/System
168 Requires(post,preun): /sbin/chkconfig
169 Requires: %{name} = %{version}-%{release}
175 util-vserver provides the components and a framework to setup virtual
176 servers. A virtual server runs inside a linux server. It is
177 nevertheless highly independent. As such, you can run various services
178 with normal configuration. The various vservers can't interact with
179 each other and can't interact with services in the main server.
181 This package contains the SysV initscripts which start and stop
182 Vservers and related tools.
184 %description init -l pl
185 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
186 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
187 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
188 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
189 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
191 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
192 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
195 Summary: Legacy utilities for util-vserver
196 Summary(pl): Stare narzêdzia dla util-vserver
197 Group: Applications/System
198 Requires(post,preun): /sbin/chkconfig
199 Requires: %{name} = %{version}-%{release}
203 util-vserver provides the components and a framework to setup virtual
204 servers. A virtual server runs inside a linux server. It is
205 nevertheless highly independent. As such, you can run various services
206 with normal configuration. The various vservers can't interact with
207 each other and can't interact with services in the main server.
209 This package contains the tools which are needed to work with Vservers
210 having an old-style configuration.
212 %description legacy -l pl
213 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
214 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
215 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
216 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
217 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
219 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
220 konfiguracjê w starym stylu.
222 %package -n vserver-dev
223 Summary: /dev entries for systems in Vservers
224 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
226 PreReq: setup >= 2.4.1-2
227 Provides: dev = 2.9.0-19
231 %description -n vserver-dev
232 Unix and unix like systems (including Linux) use file system entries
233 to represent devices attached to the machine. All of these entries are
234 in the /dev tree (though they don't have to be), and this package
235 contains only entries needed for a system running inside Vserver.
237 DO NOT install this package for a normal system!
239 %description -n vserver-dev -l pl
240 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
241 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
242 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
243 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
245 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
257 install %{SOURCE7} package-menagament.txt
259 cp -a compat.h vserver-compat.h
265 --with-initrddir=/etc/rc.d/init.d \
267 %{?with_dietlibc:--enable-dietlibc} \
268 %{!?with_dietlibc:--disable-dietlibc} \
274 IPTABLES=/usr/sbin/iptables \
275 MODPROBE=/sbin/modprobe \
276 NAMEIF=/sbin/nameif \
278 VCONFIG=/sbin/vconfig \
282 %{?with_doc:%{__make} doc}
285 rm -rf $RPM_BUILD_ROOT
286 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
288 %{__make} install install-distribution \
289 DESTDIR=$RPM_BUILD_ROOT
291 install vserver-compat.h $RPM_BUILD_ROOT%{_includedir}/
293 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
295 install -d $RPM_BUILD_ROOT/etc/vservices
296 install -d $RPM_BUILD_ROOT/vservers/.pkg
297 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
298 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
300 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
301 s=`basename $i | sed s/v_//`
302 cat >$RPM_BUILD_ROOT/etc/vservices/$s << EOF
303 # IP addresses/interfaces to bound $s service to
309 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
310 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
311 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
312 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
313 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
314 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
315 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
316 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
318 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
319 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
321 ln -sf /dev/null $RPM_BUILD_ROOT/dev/initctl
324 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
325 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
329 rm -rf $RPM_BUILD_ROOT
332 %{_sbindir}/setattr --barrier /vservers || :
334 %post lib -p /sbin/ldconfig
335 %postun lib -p /sbin/ldconfig
338 /sbin/chkconfig --add vservers-default
339 /sbin/chkconfig --add vprocunhide
340 #if [ -r /var/lock/subsys/vprocunhide ]; then
341 # /etc/rc.d/init.d/vprocunhide restart >&2
343 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
345 #if [ -r /var/lock/subsys/vservers-default ]; then
346 # /etc/rc.d/init.d/vservers-default restart >&2
348 echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
352 if [ "$1" = "0" ]; then
353 if [ -r /var/lock/subsys/vprocunhide ]; then
354 /etc/rc.d/init.d/vprocunhide stop >&2
356 if [ -r /var/lock/subsys/vservers-default ]; then
357 /etc/rc.d/init.d/vservers-default stop >&2
359 /sbin/chkconfig --del vprocunhide
360 /sbin/chkconfig --del vservers-default
364 /sbin/chkconfig --add rebootmgr
365 /sbin/chkconfig --add vservers-legacy
366 #if [ -r /var/lock/subsys/rebootmgr ] ; then
367 # /etc/rc.d/init.d/rebootmgr restart >&2
369 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
371 #if [ -r /var/lock/subsys/vservers-legacy ] ; then
372 # /etc/rc.d/init.d/vservers-legacy restart >&2
374 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
378 if [ "$1" = "0" ]; then
379 if [ -r /var/lock/subsys/rebootmgr ] ; then
380 /etc/rc.d/init.d/rebootmgr stop >&2
382 if [ -r /var/lock/subsys/vservers-legacy ] ; then
383 /etc/rc.d/init.d/vservers-legacy stop >&2
385 /sbin/chkconfig --del rebootmgr
386 /sbin/chkconfig --del vservers-legacy
390 %defattr(644,root,root,755)
391 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
392 %{?with_doc:%doc doc/*.html}
393 %dir %{_sysconfdir}/vservers
394 %dir %{_sysconfdir}/vservers/.defaults
395 %dir %{_sysconfdir}/vservers/.defaults/apps
396 %dir %{_sysconfdir}/vservers/.defaults/files
397 %{_sysconfdir}/vservers/.defaults/vdirbase
398 %{_sysconfdir}/vservers/.defaults/run.rev
399 %{_sysconfdir}/vservers/vdirbase
400 %{_sysconfdir}/vservers/run.rev
402 %attr(755,root,root) %{_sbindir}/chbind
403 %attr(755,root,root) %{_sbindir}/chcontext
404 %attr(755,root,root) %{_sbindir}/chxid
405 %attr(755,root,root) %{_sbindir}/exec-cd
406 %attr(755,root,root) %{_sbindir}/lsxid
407 %attr(755,root,root) %{_sbindir}/reducecap
408 %attr(755,root,root) %{_sbindir}/setattr
409 %attr(755,root,root) %{_sbindir}/showattr
410 %attr(755,root,root) %{_sbindir}/vattribute
411 %attr(755,root,root) %{_sbindir}/vcontext
412 %attr(755,root,root) %{_sbindir}/vdlimit
413 %attr(755,root,root) %{_sbindir}/vnamespace
414 %attr(755,root,root) %{_sbindir}/vkill
415 %attr(755,root,root) %{_sbindir}/vlimit
416 %attr(755,root,root) %{_sbindir}/vdu
417 %attr(755,root,root) %{_sbindir}/vps
418 %attr(755,root,root) %{_sbindir}/vpstree
419 %attr(755,root,root) %{_sbindir}/vrsetup
420 %attr(755,root,root) %{_sbindir}/vsched
421 %attr(755,root,root) %{_sbindir}/vserver
422 %attr(755,root,root) %{_sbindir}/vserver-info
423 %attr(755,root,root) %{_sbindir}/vserver-stat
424 %attr(755,root,root) %{_sbindir}/vsomething
425 %attr(755,root,root) %{_sbindir}/vtop
426 %attr(755,root,root) %{_sbindir}/vuname
427 %dir %{_libdir}/%{name}
428 %dir %{_libdir}/%{name}/defaults
429 %{_libdir}/%{name}/FEATURES.txt
430 %{_libdir}/%{name}/util-vserver-vars
431 %{_libdir}/%{name}/defaults/*
432 %attr(755,root,root) %{_libdir}/%{name}/capchroot
433 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
434 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
435 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
436 %attr(755,root,root) %{_libdir}/%{name}/chroot-*
437 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
438 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
439 %attr(755,root,root) %{_libdir}/%{name}/filetime
440 %{_libdir}/%{name}/functions
441 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
442 %attr(755,root,root) %{_libdir}/%{name}/lockfile
443 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
444 %attr(755,root,root) %{_libdir}/%{name}/readlink
445 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
446 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
447 %attr(755,root,root) %{_libdir}/%{name}/sigexec
448 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
449 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
450 %{_libdir}/%{name}/vserver.*
451 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
452 %attr(755,root,root) %{_libdir}/%{name}/vshelper
453 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
454 %{_mandir}/man8/chbind.8*
455 %{_mandir}/man8/chcontext.8*
456 %{_mandir}/man8/reducecap.8*
457 %{_mandir}/man8/vps.8*
458 %{_mandir}/man8/vpstree.8*
459 %{_mandir}/man8/vserver-stat.8*
460 %{_mandir}/man8/vserver.8*
461 %{_mandir}/man8/vtop.8*
462 %attr(0,root,root) %dir /vservers
463 %attr(755,root,root) %dir /vservers/.pkg
464 %dir %{_localstatedir}/run/vservers
465 %dir %{_localstatedir}/run/vservers.rev
466 %dir %{_localstatedir}/run/vshelper
469 %defattr(644,root,root,755)
470 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
471 %attr(755,root,root) %{_libdir}/lib*.so
473 %{_includedir}/vserver*.h
474 %{_pkgconfigdir}/*.pc
477 %defattr(644,root,root,755)
478 %{_libdir}/libvserver.a
481 %defattr(644,root,root,755)
482 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
485 %defattr(644,root,root,755)
486 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
487 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
488 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
489 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
492 %defattr(644,root,root,755)
493 %doc contrib/yum*.patch package-menagament.txt
494 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
495 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
496 %dir %{_sysconfdir}/vservers/.distributions
497 %dir %{_sysconfdir}/vservers/.distributions/.common
498 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
499 %dir %{_sysconfdir}/vservers/.distributions/[frs]*
500 %dir %{_sysconfdir}/vservers/.distributions/[frs]*/apt
501 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
502 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
503 %{_sysconfdir}/vservers/.distributions/pld1.99
504 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/[frs]*/apt/sources.list
505 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
506 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
507 %dir %{_libdir}/%{name}/distributions
508 %attr(-, root, root) %{_libdir}/%{name}/distributions/*
509 %{_libdir}/%{name}/vserver-build.*
510 %{_libdir}/%{name}/vserver-setup.functions
511 %{_libdir}/%{name}/defaults/fstab
512 %{_libdir}/%{name}/defaults/debootstrap.uri
513 %{_libdir}/%{name}/defaults/vunify-exclude
514 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
515 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
516 %attr(755,root,root) %{_libdir}/%{name}/vbuild
517 %attr(755,root,root) %{_libdir}/%{name}/vcheck
518 %attr(755,root,root) %{_libdir}/%{name}/vcopy
519 %attr(755,root,root) %{_libdir}/%{name}/vhashify
520 %attr(755,root,root) %{_libdir}/%{name}/vpkg
521 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
522 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
523 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
524 %attr(755,root,root) %{_libdir}/%{name}/vunify
525 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
526 %attr(755,root,root) %{_sbindir}/vapt-get
527 %attr(755,root,root) %{_sbindir}/vfiles
528 %attr(755,root,root) %{_sbindir}/vpoldek
529 %attr(755,root,root) %{_sbindir}/vrpm
530 %attr(755,root,root) %{_sbindir}/vyum
533 %defattr(644,root,root,755)
536 %dir %{_libdir}/%{name}/legacy
537 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
538 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
539 %attr(754,root,root) /etc/rc.d/init.d/v_*
540 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
541 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
542 %attr(755,root,root) %{_sbindir}/vserver-copy
543 %{_mandir}/man8/distrib-info.8*
544 %{_mandir}/man8/rebootmgr.8*
545 %{_mandir}/man8/vserver-copy.8*
547 %files -n vserver-dev
548 %defattr(644,root,root,755)
550 %dev(c,1,7) %attr(666,root,root) /dev/full
551 %dev(c,1,3) %attr(666,root,root) /dev/null
552 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
553 %dev(c,1,8) %attr(644,root,root) /dev/random
554 %dev(c,5,0) %attr(666,root,root) /dev/tty
555 %dev(c,1,9) %attr(644,root,root) /dev/urandom
556 %dev(c,1,5) %attr(666,root,root) /dev/zero