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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux