• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:disk

20 #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27 # 1) System with a floppy device with a floppy disk in it.
28 # 2) A spare (scratch) disk partition of 100MB or larger.
33 # - Added an check to see if a directory exists
34 # - This prevents unnessary failures
35 # - Correction to an echo statement
36 # - Added an additional error message if a floppy disk is not present
39 # 41.46% - fs/autofs/dirhash.c
40 # 33.33% - fs/autofs/init.c
41 # 27.70% - fs/autofs/inode.c
42 # 38.16% - fs/autofs/root.c
43 # 0.00% - fs/autofs/symlink.c
44 # 43.40% - fs/autofs/waitq.c
71 if [ ! -b $disk_partition ]
76 mkfs -t ext2 $disk_partition
79 rpm -q -a | grep autofs
97 # Format (mkfs -t ext2) the floppy to ext2 file system
110 /sbin/mkfs -t ext2 $floppy_dev
113 echo "FAILED: mkfs -t ext2 $floppy_dev failed"
114 echo "Insert a disk into the floppy drive"
119 if [ ! -d /AUTOFS ]
121 mkdir -m 777 /AUTOFS
125 echo "floppy -fstype=ext2 :$floppy_dev" > /etc/auto.media
140 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
150 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
163 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
174 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
183 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
194 # (3) Automount the floppy disk
203 rm -rf /AUTOFS >/dev/null 2>&1
211 rm -rf /AUTOFS >/dev/null 2>&1
220 echo "/AUTOFS/DISK /etc/auto.disk" >> /etc/auto.master
221 echo "disk -fstype=auto,rw,sync :$disk_partition " > /etc/auto.disk
228 mkdir /AUTOFS/DISK/disk/test
229 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test
235 if [ -e /AUTOFS/DISK/disk/test ]; then
236 cd /AUTOFS/DISK/disk/test
237 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1
241 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
246 umount /AUTOFS/DISK/disk/
250 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
256 # Mount the disk partition somewhere else and then reference automount
257 # point for disk partition.
259 mount -t ext2 $disk_partition /mnt/
260 ls -l /AUTOFS/DISK/disk
271 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS