changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/eject

changeset 7243: 34f64dcbbc25
parent: efddda59690a
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
1 #!/bin/rc
2 switch($1){
3 case 0
4  echo eject > /dev/fd0ctl
5 case 1
6  echo eject > /dev/fd1ctl
7 case *
8  echo eject > /dev/fd0ctl
9 }