/[baselayout]/branches/baselayout-1_12/sbin/rc
Gentoo

Diff of /branches/baselayout-1_12/sbin/rc

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

Revision 1533 Revision 1534
547 if [ "${svcmount}" = "yes" ] 547 if [ "${svcmount}" = "yes" ]
548 then 548 then
549 ebegin "Mounting ${svcfstype} at ${svcdir}" 549 ebegin "Mounting ${svcfstype} at ${svcdir}"
550 case "${svcfstype}" in 550 case "${svcfstype}" in
551 ramfs) 551 ramfs)
552 try mount -n -t ramfs svcdir "${svcdir}" \ 552 try mount -t ramfs svcdir "${svcdir}" \
553 -o rw,mode=0755,size="${svcsize}"k 553 -o rw,mode=0755,size="${svcsize}"k
554 ;; 554 ;;
555 ramdisk) 555 ramdisk)
556 try dd if=/dev/zero of=/dev/ram0 bs=1k count="${svcsize}" 556 try dd if=/dev/zero of=/dev/ram0 bs=1k count="${svcsize}"
557 try /sbin/mke2fs -i 1024 -vm0 /dev/ram0 "${svcsize}" 557 try /sbin/mke2fs -i 1024 -vm0 /dev/ram0 "${svcsize}"
558 try mount -n -t ext2 /dev/ram0 "${svcdir}" -o rw 558 try mount -t ext2 /dev/ram0 "${svcdir}" -o rw
559 ;; 559 ;;
560 tmpfs|*) 560 tmpfs|*)
561 try mount -n -t tmpfs svcdir "${svcdir}" \ 561 try mount -t tmpfs svcdir "${svcdir}" \
562 -o rw,mode=0755,size="${svcsize}"k 562 -o rw,mode=0755,size="${svcsize}"k
563 ;; 563 ;;
564 esac 564 esac
565 eend 0 565 eend 0
566 fi 566 fi

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

  ViewVC Help
Powered by ViewVC 1.1.20