[CentOS] text-mode system and /media

Tue Jun 7 09:13:55 UTC 2011
Benjamin Hackl <b.hackl at focusmr.com>

I'd recommend automount. I think it is installed by default.

Have a look at /etc/auto.misc
Just add an entry like

foobar  -mountoptions   :/dev/disk/by-label/foobar

which would mount your device as /misc/foobar
Also check /etc/auto.master and man {autofs,automount,auto.master}

Don't forget to
chkconfig autofs on

Brgds

-- 
Freundliche Gruesse/Best Regards
Benjamin Hackl
IT/Administration

Media FOCUS Research Ges.m.b.H.
Maculangasse 8, 1220 Wien
Tel.-Nr.: +43 1 258 97 01-295
benjamin.hackl at focusmr.com
http://www.focusmr.com/