[101313] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Newibie: Mounting/ unmounting CDroms

daemon@ATHENA.MIT.EDU (Jan Carlson)
Wed Nov 25 14:43:56 1998

Date: Wed, 25 Nov 1998 14:38:39 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

steinbr@mediaone.net wrote:

> In Windoze 95 I can take out and put in CDs at will. In Linux it appears
> that I have to mount and umount each CD. So I have setup an alias to do
> both of these. I have two questions.
>
> 1. An Alias seem to only last for the session.,  Can I put them into a
> script file that will load every time I log on?  If, so where should this
> file go and from where should it be executed?

Assuming your CD is an ATAPI/IDE as secondary master,

   alias out="eject -u /dev/hdc"
   alias in="mount -t iso9660 /dev/hdc /mnt/cdrom

And install the eject rpm from the RedHat CD.

Then type in and out to your hearts content.
People were having trouble with the automounting packages.
Maybe they work now.


--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post