Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
a couple of months ago a friend of mine saved some pictures on a cd. It worked well on all my linux computers.
Yesterday I wanted to add some more files to it (it is a multi-session cd). For my surprise, the cd showed up as empty. Well, not completely. xcdroast claimed that it has 2 audio tracks (there were 2 sessions from before).
I burned my files onto it, but cd seemed still to be empty. Well, I discovered that it is mounted with udf and not iso9660 fs. I remounted it manually using iso and voila -- now the last session showed up. But not the previous two.
Is there any way to make it clear to the system that all sessions are iso and not udf?
There is a cool filesystem called "CDfs" that lets you mount a cd and then shows each tracks/sessions as a *file*. A .wav for audio tracks and a .iso for sessions. So you can "extract" whatever session you wish, by simply copying the corresponding file to a hard disk, and access the data on it by mounting it through a loop device, or by burning it to a new CD-R.
What if I remove udf option? Are there a way to enforce iso9660 to be the preferred fs (man mount states it is the "default")? How can it be that computer "rethinks" what is the fs on a CD? Can the autodetection be improved somehow, e.g. by CD titles?
Then I can choose the FS by mounting the corresponding directory.
I do not know if there is another way to enforce a preferred FS type, but this works for me, although I must admit it's a bit "messy"...
About improving the autodetection, I don't think that can be easily done. AFAIK, the system tries every FS in /etc/filesystems and /proc/filesystems, using some "magic" bytes on the boot sector of the device to see if it is of that type.
Maybe you could try to change the order of the FS types in /etc/filesystems?
I (well, actually my brother) discovered the option 'session=' for mounting cd. The results are a bit strange, but I can access all my files. The cd has 4 sessions (0-3). When I mount with session=0, I get access to session 0. Session=1 gives both 0 and 1, session=2 -> 2 and session=3 ->3.
I was expecting that I get all the sessions by default mount, but, anyway, it is not a problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.