File: Bootdisk_Contents.sample

package info (click to toggle)
yard 1.17.patch1-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 600 kB
  • ctags: 74
  • sloc: perl: 1,729; sh: 250; makefile: 176; asm: 32
file content (197 lines) | stat: -rw-r--r-- 4,123 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#  -*- Mode: Fundamental -*-
#
#  This is Bootdisk_Contents.sample, for use with Yard.
#
#  Format rules:
#  - Lines beginning with # or % are comments.
#
#  - Blank lines and whitespace may be used freely.
#
#  - Filenames may be either relative or absolute.
#
#  - Lines of the form "filename1 -> filename2" will create
#    links on the boot disk.  Eg, if you want sh linked to bash
#    on the bootdisk, you can specify: "/bin/sh -> /bin/bash"
#
#  - Lines of the form "filename1 <= filename2"
#    will cause filename2 (relative to the current working directory)
#    to be copied to filename1 on the boot disk.  This is useful for
#    specifying trimmed-down replacements for /etc/passwd, /etc/inittab, etc.
#
#  - Wildcards (? and *) are generally allowed, eg /dev/*
#    Wildcards are not allowed in link specs or replacement specs.
#
#  You don't need to specify shared libraries or ld.so*.  The
#  script will detect dependencies (via ldd) and include them
#  automatically.
#
#  You don't need to explicitly specify intermediate directories
#  unless you just want them to exist.
#

#  Specify these absolutely because boot scripts need them to be here.
/bin/cat
/bin/false		   	
/bin/free		   	
/bin/hostname		   	
/bin/ln			   	
/bin/login		   	
/bin/ls			   	
/bin/more
/bin/mv			   	
/bin/sh -> bash
/bin/su			   	
/bin/true		   	

/sbin/agetty
/sbin/bdflush       
/sbin/halt          
/sbin/init		   	
/sbin/ldconfig
/sbin/mount         
/sbin/reboot
/sbin/shutdown      
/sbin/swapoff       
/sbin/swapon        
/sbin/telinit       
/sbin/update        

#  Devices
/dev/ftape	/dev/nftape
/dev/mem	/dev/kmem
/dev/null
/dev/zero
/dev/ram
/dev/console
/dev/tty[0-9]
/dev/hd[ab]*
/dev/fd0*
/dev/cu*
/dev/*rft0
/dev/cdrom -> /dev/sonycd

#  Files in etc:
/etc/group		   	
/etc/issue		   	
/etc/profile		    
/etc/shells
/etc/termcap		   	

#  These get replaced with their pared-down versions 
#  in the Replacements subdirectory.
/etc/fstab	<= Replacements/etc/fstab
/etc/inittab	<= Replacements/etc/inittab
/etc/motd	<= Replacements/etc/bootdisk_motd
/etc/passwd	<= Replacements/etc/passwd
/etc/rc		<= Replacements/etc/rc
/etc/ttytype    <= Replacements/etc/ttytype
/etc/gettydefs  <= Replacements/etc/gettydefs

#  Initialize utmp and wtmp.  Set up links for any old-style programs
#  that expect them in /etc.  
/etc/utmp     -> /var/run/utmp
/var/run/utmp <= /dev/null        # This clears utmp

/etc/wtmp     -> /var/log/wtmp
/var/log/wtmp <= /dev/null

#/usr/lib/terminfo           
#/usr/lib/terminfo/v         
#/usr/lib/terminfo/v/vt100   
#/usr/lib/terminfo/v/vt100-am

#  Directories with nothing otherwise in them:
/mnt                
/proc               
/tmp                
/usr/tmp
/usr/spool/uucp     

#  Homes
/home/fawcett/.login
/home/fawcett/.tcshrc
/home/fawcett/.aliases


#  Utilities.  The script will figure out their locations.
afio
brc		   	
cat		   	
chmod		   	
chown		   	
chroot
cp			   	
cut
date		   	
dd			   	
df			   	
#diff       
dosfsck       
du			   	
e2fsck        
egrep      
fastboot		   	
fasthalt      
fdisk         
fgrep      
find       
fsck          
fsck.ext2     
fsck.msdos    
fuser         
grep       
gunzip		   	
gzip		   	
head
jove
mkdir		   	
mkdosfs       
mke2fs        
mkfs          
mkfs.ext2     
mkfs.msdos    
mklost+found  
mknod		   	
mkswap        
mt
passwd		   	
ps			   	
pwd
reboot		   	
rm			   	
selection     
setmetamode        
stty		   	
sync          
tail		   	
tar		   	
touch		   	
tr
#tune2fs       
umount        
uname
#uniq		   	
whoami
wc
#zcat		   	

###################################################################
#  Files for restoring from tape
###################################################################
#  I use the tob package for backups, so include everything to do
#  restorations.  tob needs afio, included above.
tob
/usr/etc/tob.rc
/usr/etc/tob/*
/usr/etc/tob/lists/
/usr/etc/tob/volumes/*
#  These are huge so don't include it:
#/usr/etc/tob/lists/*

#  module utilities for the floppy tape driver.
insmod
rmmod
lsmod
/usr/lib/modules/ftape.o

#####  End of Bootdisk_Contents.sample