NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

amd to mount external hard drive



Hello everyone,

I'm running NetBSD 5.1 at home as my core system.
I have a couple of external drives that currently are mounted on boot with
an fstab entry, which works well, but the other day the power went off for
quite a while and the UPS didn't last that long.

On boot, one of these drives needed to be checked by hand and I got cut off
from the server until I got back.
Now, if I use amd, then the machine will mount the external drives if they
are available and have no problems (I believe).
So I'll like to give it a try, but I have a minor problem...  Is not
working for me and I found the documentation a bit confusing.

Please comment on the following:

amd.conf
------ snipet ---------
[ /media ]
map_type = file
map_name = /etc/amd.media
------ end snipet ----

amd.media
-------- file starts -----------
/defaults    type=ffs;opts=rw,log,noatime

disk1         dev:/dev/sd1e
---------- end of file ---------

Any pointers please?


Cheers,

Max L


Home | Main Index | Thread Index | Old Index