/[baselayout]/trunk/sbin/init-common-post.sh
Gentoo

Diff of /trunk/sbin/init-common-post.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1533 Revision 1534
70done 70done
71if [[ ${svcmount} == "yes" ]] ; then 71if [[ ${svcmount} == "yes" ]] ; then
72 ebegin "Mounting ${svcfstype} at ${svcdir}" 72 ebegin "Mounting ${svcfstype} at ${svcdir}"
73 case "${svcfstype}" in 73 case "${svcfstype}" in
74 ramfs) 74 ramfs)
75 try mount -n -t ramfs svcdir "${svcdir}" \ 75 try mount -t ramfs svcdir "${svcdir}" \
76 -o rw,mode=0755,size="${svcsize}"k 76 -o rw,mode=0755,size="${svcsize}"k
77 ;; 77 ;;
78 ramdisk) 78 ramdisk)
79 try dd if=/dev/zero of=/dev/ram0 bs=1k count="${svcsize}" 79 try dd if=/dev/zero of=/dev/ram0 bs=1k count="${svcsize}"
80 try /sbin/mke2fs -i 1024 -vm0 /dev/ram0 "${svcsize}" 80 try /sbin/mke2fs -i 1024 -vm0 /dev/ram0 "${svcsize}"
81 try mount -n -t ext2 /dev/ram0 "${svcdir}" -o rw 81 try mount -t ext2 /dev/ram0 "${svcdir}" -o rw
82 ;; 82 ;;
83 tmpfs|*) 83 tmpfs|*)
84 try mount -n -t tmpfs svcdir "${svcdir}" \ 84 try mount -t tmpfs svcdir "${svcdir}" \
85 -o rw,mode=0755,size="${svcsize}"k 85 -o rw,mode=0755,size="${svcsize}"k
86 ;; 86 ;;
87 esac 87 esac
88 eend 0 88 eend 0
89fi 89fi

Legend:
Removed from v.1533  
changed lines
  Added in v.1534

  ViewVC Help
Powered by ViewVC 1.1.20