Re: reading files from a CD-ROM

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

 



On Sat, Oct 14, 2006 at 17:28:26 -0700,
  Globe Trotter <itsme_410@xxxxxxxxx> wrote:
> Hi,
> 
> How do I read files from my CD-ROM in my program? For instance, previously, I
> would perhaps mount my CD and type 
> 
> %mount /media/cdrom
> 
> and then proceed to read using:
> 
> fopen("/media/cdrom/filenames.txt","r");
> 
> But this was during the days whwn fstab worked for Fedora Core 4? What do I do
> now. Same goes with /media/usb etc.
> 
> Any help, please?

You can still do things that way if you have created /media/cdrom and have
an appropiate entry in fstab added manually. Currently that's what I do.
However, there is probably a better way to do this using udev rules; I just
haven't started looking into what it would take to change things from
the current behavior where cd's get mounted using a name from the label
on the CD.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux