3 # $Id: afpd-mtab.pl.in,v 1.1 2002-01-17 05:59:25 srittau Exp $
5 # Create an afpd.mtab on standard output from the mtab-format file on standard
8 # afpd-mtab.pl < /etc/mtab > /etc/afpd.mtab
10 # Modification history:
12 # created. -- rgr, 9-Apr-01.
15 print("# afpd.mtab, generated by afpd-mtab.pl on ",
18 ($device, $mount_point, $fstype) = split;
20 if $device eq 'none' || $mount_point eq '/boot';
21 printf("%2d %-10s %s\n", ++$did_index, $device, $mount_point);