Avtomaunter AMD dlya Linux
V distributive Linux RedHat 4.0 avtomontirovshchik est'.
Dostatochno ego proinstallirovat', i on srazu nachinaet rabotat'.
Vozmozhno, zahochetsya podpravit' parametry. Oni v fajle
/etc/amd.conf
V shtatnuyu postavku Slackware Linux avtomontirovshik ne v hodit.
Prihoditsya dobyvat', kompilirovat' i setapit' ego
samostoyatel'no.
Zvat' ego AMD, imeetsya on, naprimer, na sunsite.unc.edu
Konfiguracionnye fajly i zapusk AMD
echo "Starting automount..."
rm -f /tmp/amd.log
/usr/local/etc/amd -l /tmp/amd.log \
/net /etc/amd.net \
/home /etc/amd.home
/usr/local/etc/amq # vydaet tekushchee sostoyanie avtomauntera
/etc/amd.net :---------------------------------------------
/defaults type:=host;fs:=${autodir}_mnt/${rhost}/root;rhost:=${key}
* opts:=rw,nosuid,grpid
------------------------------------------------------------
/etc/amd.home :---------------------------------------------
/defaults opts:=rw,intr,grpid,nosuid;type:=nfs
moshkow rhost:=moon;rfs:=/export/home/moshkow
petrov rhost:=pulsar;rfs:=/export/home/pulsar/ivanov
------------------------------------------------------------
Avtomaticheskoe podklyuchenie proizvol'nyh USB-ustrojstv
Naprimer - IP-podklyuchenie KPK
V /etc/hotplug/usb.usermap dobavlyaetsya strochka s idVendor i idDevice
ustrojstva. Ih mozhno uznat' komandoj lsusb, ili chitaya /var/log/messages.
CHto-to tipa:
usbnet 0x0000 0x04dd 0x9031 0x0000 0x0000 i t. d.
V /etc/hotplug/usb kladetsya skript usbnet, podnimayushchij setevoj interfejs.
ifconfig usb0 192.168.129.1 up
Last-modified: Wed, 12 Jan 2005 20:30:17 GMT