[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Viewing
On Feb 25, 8:25pm, Marceilleiano Sosa wrote:
> Subject: Re: Viewing
> O.K.,
>
> now i have this cd that i want to see whats on it how do i do that with
linux?
>
> Like in windows, you just insert any cd and it will read it
>
> Mike
>
Removeable media has to be mounted/unmounted in UNIX/Linux (and to some degree
Novell as well I think).
You can (as root) do a mount /dev/cdrom /mnt and the CD-ROM will be attached to
the directory tree in the /mnt directory. THen you can ls or whatever to see
what is on it. Then when your done umount (for unmount) /dev/cdrom and take it
out. This is done to maintain orderly access to a removeable media by possibly
multiple users, and allows the OS to cache the contents very aggresively (since
it knows when the disk is about to be removed). But the latter is much more
important for writeable media.
To install software in RPM format one does a "rpm --install package.rpm" or
"rpm --upgrade package.rpm"
One nice touch about this system is that you don't get the blue-screen-of-death
error messages like in Windows, when you take out a floppy on which it still
has a file open.
If you put the following line in /etc/fstab:
/dev/fd0 /mnt/floppy ext2 exec,user,noauto
then non-root users will be able to to a "mount /dev/fd0" and mount the floppy
on /mnt/floppy without having to be root or other magic. THe same applies to
the CD-ROM. Do a "man fstab" for more info.