Home | History | Annotate | Download | only in miniroot

Lines Matching refs:fstab

38 trap "unmount_fs -fast /tmp/fstab.shadow > /dev/null 2>&1; rm -f /tmp/fstab.shadow" 0
181 # Grab the fstab so we can munge it for our own use.
182 if [ ! -f /mnt/etc/fstab ]; then
183 echo "ERROR: no /etc/fstab!"
237 # fstab. We remove all but ufs/ffs.
239 > /tmp/fstab
247 echo "$_dev $_mp $_fstype $_rest" >> /tmp/fstab
250 ) < /mnt/etc/fstab
252 echo "The fstab is configured as follows:"
254 cat /tmp/fstab
257 You may wish to edit the fstab. For example, you may need to resolve
259 this fstab is only for installation purposes, and will not be copied into
263 echo -n "Edit the fstab? [n] "
267 ${EDITOR} /tmp/fstab
275 munge_fstab /tmp/fstab /tmp/fstab.shadow
283 check_fs /tmp/fstab.shadow
286 mount_fs /tmp/fstab.shadow
328 # Fix up the fstab.
329 echo -n "Converting ufs to ffs in /etc/fstab..."
331 > /tmp/fstab
337 echo "$_dev $_mp $_fstype $_rest" >> /tmp/fstab
339 ) < /mnt/etc/fstab
341 echo -n "Would you like to edit the resulting fstab? [y] "
345 ${EDITOR} /tmp/fstab
355 for file in fstab; do
380 unmount_fs /tmp/fstab.shadow