rendered paste bodyuml-host:/storage/uml/uvt# mount uvt-root /mnt/test -o loop
uml-host:/storage/uml/uvt# cd /mnt/test
uml-host:/mnt/test# ls
bin boot dev etc home initrd lib lost+found media mnt opt proc root sbin srv sys tmp usr var
uml-host:/mnt/test# ls -al
total 124
drwxr-xr-x 21 root root 4096 2007-01-12 07:50 .
drwxr-xr-x 4 root root 4096 2006-07-02 12:28 ..
drwxr-xr-x 2 root root 4096 2007-11-13 10:47 bin
drwxr-xr-x 2 root root 4096 2004-12-16 00:55 boot
drwxr-xr-x 12 root root 24576 2007-11-11 06:47 dev
drwxr-xr-x 88 root root 4096 2007-11-13 10:48 etc
drwxrwsr-x 4 root staff 4096 2007-03-21 22:19 home
drwxr-xr-x 2 root root 4096 2006-04-09 22:17 initrd
drwxr-xr-x 11 root root 8192 2007-11-13 10:48 lib
drwx------ 2 root root 16384 2006-04-09 21:30 lost+found
drwxr-xr-x 2 root root 4096 2006-04-09 22:17 media
drwxr-xr-x 2 root root 4096 2004-12-16 00:55 mnt
drwxr-xr-x 2 root root 4096 2006-04-09 22:17 opt
drwxr-xr-x 2 root root 4096 2004-12-16 00:55 proc
drwxr-xr-x 17 root root 4096 2007-10-04 22:47 root
drwxr-xr-x 2 root root 4096 2007-11-13 10:47 sbin
drwxr-xr-x 2 root root 4096 2006-04-09 22:17 srv
drwxr-xr-x 2 root root 4096 2005-05-10 23:01 sys
drwxrwxrwt 5 root root 8192 2007-11-13 23:53 tmp
drwxr-xr-x 12 root root 4096 2007-07-04 01:10 usr
drwxr-xr-x 14 root root 4096 2006-12-12 11:49 var
uml-host:/mnt/test# cd etc/init.d/
uml-host:/mnt/test/etc/init.d# ls
apache2 checkfs.sh dns-clean hwclockfirst.sh_not keymap.sh lpd mountdevsubfs.sh mysql-ndb nviboot procps.sh resolvconf spamassassin umountfs
atd checkroot.sh exim4 hwclock.sh keymap.sh.dpkg-new makedev mountkernfs.sh mysql-ndb-mgm openbsd-inetd rc rmnologin ssh umountnfs.sh
bind9 clamav-daemon glibc.sh hwclock.sh.dpkg-dist killprocs module-init-tools mountnfs-bootclean.sh nagios2 openvpn rc.local rsync ssh.dpkg-old umountroot
bootclean clamav-freshclam halt hwclock.sh_not klogd modutils mountnfs.sh networking portmap rcS sendsigs stop-bootlogd urandom
bootlogd console-screen.sh hostname.sh ifupdown libdevmapper1.02 mountall-bootclean.sh mtab.sh nfs-common pppd-dns README single stop-bootlogd-single x11-common
bootmisc.sh cron hwclockfirst.sh ifupdown-clean libdevmapper1.02.1 mountall.sh mysql ntp_not_start procps reboot skeleton sysklogd
uml-host:/mnt/test/etc/init.d# cd ..
uml-host:/mnt/test/etc# ls
adduser.conf bash_completion cron.monthly dhcp3 gssapi_mech.conf ldap magic.mime modules.conf.old nsswitch.conf printcap rc6.d spamassassin wgetrc
adjtime bash_completion.d crontab dictionaries-common host.conf ld.so.cache mail modutils openoffice profile rc.local ssh X11
aliases bind cron.weekly dpkg hostname ld.so.conf mailcap motd openvpn protocols rcS.d ssl xml
alternatives bindresvport.blacklist csh egroupware hosts ld.so.conf.d mailcap.order motd.tail opt python reportbug.conf subversion
apache ca-certificates.conf csh.cshrc emacs hosts.allow locale.alias mailname mtab pam.conf python2.3 resolvconf sysctl.conf
apache2 ca-certificates.conf.dpkg-old csh.login email-addresses hosts.deny locale.gen mailname.orig mtools.conf pam.d python2.4 resolv.conf syslog.conf
apm calendar csh.logout exim4 identd.conf localtime mail.rc Muttrc passwd qstat.cfg rmt terminfo
apt chatscripts dbconfig-common fdmount.conf identd.key logcheck manpath.config Muttrc.d passwd- radiusclient rpc texmf
at.deny clamav debconf.conf fonts idmapd.conf login.defs mc mysql pear rarfiles.lst samba ucf.conf
backup.d complete.tcsh debian_version fstab inetd.conf logrotate.conf mediaprm nagios2 perl rc0.d securetty udev
backup-manager.conf console default gai.conf init.d logrotate.d mime.types nagios-plugins php4 rc1.d security updatedb.conf
backup-manager.conf.old console-tools defoma GeoIP.conf.default inittab lsb-base mke2fs.conf nanorc php5 rc2.d services vim
backup-manager.conf.ucf-dist cron.d deluser.conf groff inputrc lynx.cfg modprobe.d Net phpbb2 rc3.d sgml w3m
backupninja.conf cron.daily dhclient.conf group issue lynx.lss modules network phpmyadmin rc4.d shells webalizer
bash.bashrc cron.hourly dhclient-script group- issue.net magic modules.conf networks ppp rc5.d skel webcalendar
uml-host:/mnt/test/etc# cd et
-bash: cd: et: No such file or directory
uml-host:/mnt/test/etc# ls
adduser.conf bash_completion cron.monthly dhcp3 gssapi_mech.conf ldap magic.mime modules.conf.old nsswitch.conf printcap rc6.d spamassassin wgetrc
adjtime bash_completion.d crontab dictionaries-common host.conf ld.so.cache mail modutils openoffice profile rc.local ssh X11
aliases bind cron.weekly dpkg hostname ld.so.conf mailcap motd openvpn protocols rcS.d ssl xml
alternatives bindresvport.blacklist csh egroupware hosts ld.so.conf.d mailcap.order motd.tail opt python reportbug.conf subversion
apache ca-certificates.conf csh.cshrc emacs hosts.allow locale.alias mailname mtab pam.conf python2.3 resolvconf sysctl.conf
apache2 ca-certificates.conf.dpkg-old csh.login email-addresses hosts.deny locale.gen mailname.orig mtools.conf pam.d python2.4 resolv.conf syslog.conf
apm calendar csh.logout exim4 identd.conf localtime mail.rc Muttrc passwd qstat.cfg rmt terminfo
apt chatscripts dbconfig-common fdmount.conf identd.key logcheck manpath.config Muttrc.d passwd- radiusclient rpc texmf
at.deny clamav debconf.conf fonts idmapd.conf login.defs mc mysql pear rarfiles.lst samba ucf.conf
backup.d complete.tcsh debian_version fstab inetd.conf logrotate.conf mediaprm nagios2 perl rc0.d securetty udev
backup-manager.conf console default gai.conf init.d logrotate.d mime.types nagios-plugins php4 rc1.d security updatedb.conf
backup-manager.conf.old console-tools defoma GeoIP.conf.default inittab lsb-base mke2fs.conf nanorc php5 rc2.d services vim
backup-manager.conf.ucf-dist cron.d deluser.conf groff inputrc lynx.cfg modprobe.d Net phpbb2 rc3.d sgml w3m
backupninja.conf cron.daily dhclient.conf group issue lynx.lss modules network phpmyadmin rc4.d shells webalizer
bash.bashrc cron.hourly dhclient-script group- issue.net magic modules.conf networks ppp rc5.d skel webcalendar
uml-host:/mnt/test/etc# cd ..
uml-host:/mnt/test# ls
bin boot dev etc home initrd lib lost+found media mnt opt proc root sbin srv sys tmp usr var
uml-host:/mnt/test# cd etc/r
radiusclient rc2.d rc6.d resolvconf
rarfiles.lst rc3.d rc.local resolv.conf
rc0.d rc4.d rcS.d rmt
rc1.d rc5.d reportbug.conf rpc
uml-host:/mnt/test# cd etc/rc
rc0.d rc2.d rc4.d rc6.d rcS.d
rc1.d rc3.d rc5.d rc.local
uml-host:/mnt/test# cd etc/rc0.d/
uml-host:/mnt/test/etc/rc0.d# ls
K09apache2 K20clamav-daemon K20inetd K20mysql-ndb K20rsync K21spamassassin K85bind9 K89resolvconf S20sendsigs S32portmap S40umountfs
K11cron K20clamav-freshclam K20lpd K20nfs-common K21mysql K25hwclock.sh K89atd K90sysklogd S30urandom S35networking S60umountroot
K18nagios2 K20exim4 K20makedev K20openbsd-inetd K21mysql-ndb-mgm K80openvpn K89klogd README S31umountnfs.sh S36ifupdown S90halt
uml-host:/mnt/test/etc/rc0.d# cd ..
uml-host:/mnt/test/etc# ls
adduser.conf bash_completion cron.monthly dhcp3 gssapi_mech.conf ldap magic.mime modules.conf.old nsswitch.conf printcap rc6.d spamassassin wgetrc
adjtime bash_completion.d crontab dictionaries-common host.conf ld.so.cache mail modutils openoffice profile rc.local ssh X11
aliases bind cron.weekly dpkg hostname ld.so.conf mailcap motd openvpn protocols rcS.d ssl xml
alternatives bindresvport.blacklist csh egroupware hosts ld.so.conf.d mailcap.order motd.tail opt python reportbug.conf subversion
apache ca-certificates.conf csh.cshrc emacs hosts.allow locale.alias mailname mtab pam.conf python2.3 resolvconf sysctl.conf
apache2 ca-certificates.conf.dpkg-old csh.login email-addresses hosts.deny locale.gen mailname.orig mtools.conf pam.d python2.4 resolv.conf syslog.conf
apm calendar csh.logout exim4 identd.conf localtime mail.rc Muttrc passwd qstat.cfg rmt terminfo
apt chatscripts dbconfig-common fdmount.conf identd.key logcheck manpath.config Muttrc.d passwd- radiusclient rpc texmf
at.deny clamav debconf.conf fonts idmapd.conf login.defs mc mysql pear rarfiles.lst samba ucf.conf
backup.d complete.tcsh debian_version fstab inetd.conf logrotate.conf mediaprm nagios2 perl rc0.d securetty udev
backup-manager.conf console default gai.conf init.d logrotate.d mime.types nagios-plugins php4 rc1.d security updatedb.conf
backup-manager.conf.old console-tools defoma GeoIP.conf.default inittab lsb-base mke2fs.conf nanorc php5 rc2.d services vim
backup-manager.conf.ucf-dist cron.d deluser.conf groff inputrc lynx.cfg modprobe.d Net phpbb2 rc3.d sgml w3m
backupninja.conf cron.daily dhclient.conf group issue lynx.lss modules network phpmyadmin rc4.d shells webalizer
bash.bashrc cron.hourly dhclient-script group- issue.net magic modules.conf networks ppp rc5.d skel webcalendar
uml-host:/mnt/test/etc# cd init
init.d inittab
uml-host:/mnt/test/etc# cat inittab
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
# What to do in single-user mode.
~~:S:wait:/sbin/sulogin
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty0
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
uml-host:/mnt/test/etc#