Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2000 16:36:05 -0400 (EDT)
From:      Lanny Baron <lnb@heretic.cybertouch.org>
To:        Fred Lomas <aj@8hill.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: mounting a CD Drive
Message-ID:  <Pine.BSF.4.21.0004121627510.16689-100000@heretic.cybertouch.org>
In-Reply-To: <01f301bfa4a9$15e7bc00$0e65a8c0@fred.encanto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
You access dir's on the cd in the same fashion you would access any other
UFS. Like ls to get a dir listing, and cd dir_name. but you must first cd
to /cd itself. Remember, what you are doing is creating a temporary file
system called /cdrom. To make this clear, look at it this way. Here is an
example UFS (Unix File System).
/  <-- the root slice (partion in gatesvile)
/swap  <--the amount of h/d space you allocate as memory (disk not ram)
/usr <--- I need not tell you what is in there
/var <--- many goodies..like your own ftp site 
/tmp  <--- place to put pron pics in which get wiped out before your g/f
       sees them by running the appropriate CRON file 
/shared  <---where you keep shared dir's for others on your network
/mnt <--- good place to mount your floppy drive
/cdrom <----the place you were having problems with :-)

now go and cd /cdrom type ls and cd to whatever dir you like

Happy cd'ing

Lanny Baron
Master FreeBSD Administrator

On Wed, 12 Apr 2000, Fred Lomas wrote:

> U DA MAN!!!!!!!! that worked, Ummmm, another dumb question. hehe, how do I
> access the Dir's on the cd, what command do I type??
> 
> Thanks
> ----- Original Message -----
> From: "Lanny Baron" <lnb@heretic.cybertouch.org>
> To: "Fred Lomas" <aj@8hill.com>
> Cc: <questions@FreeBSD.ORG>
> Sent: Wednesday, April 12, 2000 10:27 AM
> Subject: Re: mounting a CD Drive
> 
> 
> > Hi,
> > I have one of my SCSI cdroms set to mount easily in /etc/fstab. I will
> > show you my entry. As root, cd / then mkdir /cdrom (you can use /mnt but
> > why not call it what it is).
> > /dev/cd1c /cdrom  cd9660 ro,noauto 0 0
> >
> > considering what you have said below, you might want to put /dev/wdc1 if
> > that is what it shows up as when you boot.
> >
> > By putting the entry above (and don't forget to change /dev/cd1c to YOUR
> > cdrom) you can then do as root, mount /cdrom
> > and it's mounted. Don't forget to put in the cdrom first :-) and you will
> > have to umount /cdrom to take out the cdrom.
> >
> > -lnb
> >
> > On Wed, 12 Apr 2000, Fred Lomas wrote:
> >
> > > that would help :-)
> > > Ok,
> > >      it is a Toshiba laptop with a IDE  CDROM in it I have even tried
> this
> > > ./makedev from within /dev. but I get back makedev command not found I
> also
> > > noticed when I boot it sees the CDROM as WDC1  toshiba removable 12x
> drive
> > > XM 1202B/1635. any ideas, Im way green on all this stuff and trying to
> learn
> > > as I go
> > >
> > > thanks!
> > >
> > >
> > > ----- Original Message -----
> > > From: "Lanny Baron" <lnb@heretic.cybertouch.org>
> > > To: "Fred Lomas" <aj@8hill.com>
> > > Cc: <questions@FreeBSD.ORG>
> > > Sent: Wednesday, April 12, 2000 7:26 AM
> > > Subject: Re: mounting a CD Drive
> > >
> > >
> > > > It would be a big help if you gave info like, the type of cd (ide or
> > > > SCSI) and if you are trying to mount it from the console or remotely
> via
> > > > nfs or from a samba share.
> > > >
> > > > -lnb
> > > >
> > > > On Tue, 11 Apr 2000, Fred Lomas wrote:
> > > >
> > > > > can I get the proper command to mount a CDROM drive...please
> > > > >
> > > > >
> > > > >
> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > with "unsubscribe freebsd-questions" in the body of the message
> > > > >
> > > >
> > > >
> > > >
> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> >
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004121627510.16689-100000>