Why do Windows and Linux see different files on a DVD ROM?
I have a DVD ROM with some teaching resources on it (Headway Beginner's English teaching teacher's DVD). When I look at the DVD from a Ubuntu machine, I see one set of files (which includes a setup-linux
file among other things, although that doesn't work).
When I view the same DVD from a Windows machine, I see a different set of files, including a setup-windows.exe
file.
Neither machine sees all the files, but there are some common to both.
My questions are:
- How does this work?
- How can I see the all the files when using Ubuntu?
Edit: this is not due to files being "hidden" when viewed in a file manager, lower level things like "ls -a" do not reveal the missing files.
Edit 2: I'm using Ubuntu 18.04 LTS
mount dvd
New contributor
add a comment |
I have a DVD ROM with some teaching resources on it (Headway Beginner's English teaching teacher's DVD). When I look at the DVD from a Ubuntu machine, I see one set of files (which includes a setup-linux
file among other things, although that doesn't work).
When I view the same DVD from a Windows machine, I see a different set of files, including a setup-windows.exe
file.
Neither machine sees all the files, but there are some common to both.
My questions are:
- How does this work?
- How can I see the all the files when using Ubuntu?
Edit: this is not due to files being "hidden" when viewed in a file manager, lower level things like "ls -a" do not reveal the missing files.
Edit 2: I'm using Ubuntu 18.04 LTS
mount dvd
New contributor
You haven't said which Ubuntu release you are using, but innautilus
(or 'Files' the file manager for gnome) if you go to icon-view mode and click on the menu you can click "Show Hidden Files" and you should see all files. If in details (or list) mode the option is somewhat hidden (on my 19.04 box; sorry I don't use nautilus normally). Windows by default uses a fs (file-system) flag to hide files, where as *nix (Ubuntu, any GNU/Linux, apple or unix) use a '.' as the first character of filename to make a file 'hidden'.
– guiverc
2 days ago
2
This is not a hidden files thing - usingls -a
in Linux does not show the missing files. And neither does "Show hidden files" in Windows explorer.
– spookylukey
2 days ago
add a comment |
I have a DVD ROM with some teaching resources on it (Headway Beginner's English teaching teacher's DVD). When I look at the DVD from a Ubuntu machine, I see one set of files (which includes a setup-linux
file among other things, although that doesn't work).
When I view the same DVD from a Windows machine, I see a different set of files, including a setup-windows.exe
file.
Neither machine sees all the files, but there are some common to both.
My questions are:
- How does this work?
- How can I see the all the files when using Ubuntu?
Edit: this is not due to files being "hidden" when viewed in a file manager, lower level things like "ls -a" do not reveal the missing files.
Edit 2: I'm using Ubuntu 18.04 LTS
mount dvd
New contributor
I have a DVD ROM with some teaching resources on it (Headway Beginner's English teaching teacher's DVD). When I look at the DVD from a Ubuntu machine, I see one set of files (which includes a setup-linux
file among other things, although that doesn't work).
When I view the same DVD from a Windows machine, I see a different set of files, including a setup-windows.exe
file.
Neither machine sees all the files, but there are some common to both.
My questions are:
- How does this work?
- How can I see the all the files when using Ubuntu?
Edit: this is not due to files being "hidden" when viewed in a file manager, lower level things like "ls -a" do not reveal the missing files.
Edit 2: I'm using Ubuntu 18.04 LTS
mount dvd
mount dvd
New contributor
New contributor
edited 2 days ago
spookylukey
New contributor
asked 2 days ago
spookylukeyspookylukey
41847
41847
New contributor
New contributor
You haven't said which Ubuntu release you are using, but innautilus
(or 'Files' the file manager for gnome) if you go to icon-view mode and click on the menu you can click "Show Hidden Files" and you should see all files. If in details (or list) mode the option is somewhat hidden (on my 19.04 box; sorry I don't use nautilus normally). Windows by default uses a fs (file-system) flag to hide files, where as *nix (Ubuntu, any GNU/Linux, apple or unix) use a '.' as the first character of filename to make a file 'hidden'.
– guiverc
2 days ago
2
This is not a hidden files thing - usingls -a
in Linux does not show the missing files. And neither does "Show hidden files" in Windows explorer.
– spookylukey
2 days ago
add a comment |
You haven't said which Ubuntu release you are using, but innautilus
(or 'Files' the file manager for gnome) if you go to icon-view mode and click on the menu you can click "Show Hidden Files" and you should see all files. If in details (or list) mode the option is somewhat hidden (on my 19.04 box; sorry I don't use nautilus normally). Windows by default uses a fs (file-system) flag to hide files, where as *nix (Ubuntu, any GNU/Linux, apple or unix) use a '.' as the first character of filename to make a file 'hidden'.
– guiverc
2 days ago
2
This is not a hidden files thing - usingls -a
in Linux does not show the missing files. And neither does "Show hidden files" in Windows explorer.
– spookylukey
2 days ago
You haven't said which Ubuntu release you are using, but in
nautilus
(or 'Files' the file manager for gnome) if you go to icon-view mode and click on the menu you can click "Show Hidden Files" and you should see all files. If in details (or list) mode the option is somewhat hidden (on my 19.04 box; sorry I don't use nautilus normally). Windows by default uses a fs (file-system) flag to hide files, where as *nix (Ubuntu, any GNU/Linux, apple or unix) use a '.' as the first character of filename to make a file 'hidden'.– guiverc
2 days ago
You haven't said which Ubuntu release you are using, but in
nautilus
(or 'Files' the file manager for gnome) if you go to icon-view mode and click on the menu you can click "Show Hidden Files" and you should see all files. If in details (or list) mode the option is somewhat hidden (on my 19.04 box; sorry I don't use nautilus normally). Windows by default uses a fs (file-system) flag to hide files, where as *nix (Ubuntu, any GNU/Linux, apple or unix) use a '.' as the first character of filename to make a file 'hidden'.– guiverc
2 days ago
2
2
This is not a hidden files thing - using
ls -a
in Linux does not show the missing files. And neither does "Show hidden files" in Windows explorer.– spookylukey
2 days ago
This is not a hidden files thing - using
ls -a
in Linux does not show the missing files. And neither does "Show hidden files" in Windows explorer.– spookylukey
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
I'm not sure this is the correct answer, but maybe it'll provide you with details that will help you.
It could be because MS-Windows and Unix use different file systems on DVD - even on the same DVD. Files on an optical medium are usually arranged using a file system protocol specified in the ISO 9660 standard (also see notes at the end).
But the standard allows for extensions, and Microsoft has designed their own extension to the standard called "Joliet" that allows Microsoft Windows compatible operating systems to read different file names with more features (longer names and support Unicode) than the standard ISO 9660 file system allows.
For Unix-style operating systems (such as Linux), another extension called "Rock Ridge" was developed, to allow even longer file names, Unix-style permissions, and a few other things.
It is very common to have both Rock Ridge and Joliet extensions on the same optical medium, but it could be that the creator of that DVD used these extensions in a clever way to only have the MS-Windows related files show in the Joliet part of the system and only have the Linux specific files show in the Rock Ridge part of the system. The isoinfo
program discussed in this stackexchange answer might provide more information.
Notes:
As mentioned in the discussion in the comments, while a lot of media are still authored in ISO 9660 and its extensions where the kinds of tricks discussed in the OP can happen, ISO 9660 is obsolete and modern media should be authored using UDF (ISO 13346) which is a Universal Disk Format and only allows a single view of the entire file system - so such tricks will probably not be possible on a UDF authored disk.
22
Thanks, that was enough -isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.
– spookylukey
2 days ago
20
Pretty good answer, but one important detail I see missing is the--norock
and--nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.
– kasperd
2 days ago
6
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
4
Some tools such asmkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file namedREADME
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."
– Herohtar
2 days ago
3
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
|
show 8 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
spookylukey is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110791%2fwhy-do-windows-and-linux-see-different-files-on-a-dvd-rom%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm not sure this is the correct answer, but maybe it'll provide you with details that will help you.
It could be because MS-Windows and Unix use different file systems on DVD - even on the same DVD. Files on an optical medium are usually arranged using a file system protocol specified in the ISO 9660 standard (also see notes at the end).
But the standard allows for extensions, and Microsoft has designed their own extension to the standard called "Joliet" that allows Microsoft Windows compatible operating systems to read different file names with more features (longer names and support Unicode) than the standard ISO 9660 file system allows.
For Unix-style operating systems (such as Linux), another extension called "Rock Ridge" was developed, to allow even longer file names, Unix-style permissions, and a few other things.
It is very common to have both Rock Ridge and Joliet extensions on the same optical medium, but it could be that the creator of that DVD used these extensions in a clever way to only have the MS-Windows related files show in the Joliet part of the system and only have the Linux specific files show in the Rock Ridge part of the system. The isoinfo
program discussed in this stackexchange answer might provide more information.
Notes:
As mentioned in the discussion in the comments, while a lot of media are still authored in ISO 9660 and its extensions where the kinds of tricks discussed in the OP can happen, ISO 9660 is obsolete and modern media should be authored using UDF (ISO 13346) which is a Universal Disk Format and only allows a single view of the entire file system - so such tricks will probably not be possible on a UDF authored disk.
22
Thanks, that was enough -isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.
– spookylukey
2 days ago
20
Pretty good answer, but one important detail I see missing is the--norock
and--nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.
– kasperd
2 days ago
6
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
4
Some tools such asmkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file namedREADME
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."
– Herohtar
2 days ago
3
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
|
show 8 more comments
I'm not sure this is the correct answer, but maybe it'll provide you with details that will help you.
It could be because MS-Windows and Unix use different file systems on DVD - even on the same DVD. Files on an optical medium are usually arranged using a file system protocol specified in the ISO 9660 standard (also see notes at the end).
But the standard allows for extensions, and Microsoft has designed their own extension to the standard called "Joliet" that allows Microsoft Windows compatible operating systems to read different file names with more features (longer names and support Unicode) than the standard ISO 9660 file system allows.
For Unix-style operating systems (such as Linux), another extension called "Rock Ridge" was developed, to allow even longer file names, Unix-style permissions, and a few other things.
It is very common to have both Rock Ridge and Joliet extensions on the same optical medium, but it could be that the creator of that DVD used these extensions in a clever way to only have the MS-Windows related files show in the Joliet part of the system and only have the Linux specific files show in the Rock Ridge part of the system. The isoinfo
program discussed in this stackexchange answer might provide more information.
Notes:
As mentioned in the discussion in the comments, while a lot of media are still authored in ISO 9660 and its extensions where the kinds of tricks discussed in the OP can happen, ISO 9660 is obsolete and modern media should be authored using UDF (ISO 13346) which is a Universal Disk Format and only allows a single view of the entire file system - so such tricks will probably not be possible on a UDF authored disk.
22
Thanks, that was enough -isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.
– spookylukey
2 days ago
20
Pretty good answer, but one important detail I see missing is the--norock
and--nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.
– kasperd
2 days ago
6
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
4
Some tools such asmkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file namedREADME
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."
– Herohtar
2 days ago
3
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
|
show 8 more comments
I'm not sure this is the correct answer, but maybe it'll provide you with details that will help you.
It could be because MS-Windows and Unix use different file systems on DVD - even on the same DVD. Files on an optical medium are usually arranged using a file system protocol specified in the ISO 9660 standard (also see notes at the end).
But the standard allows for extensions, and Microsoft has designed their own extension to the standard called "Joliet" that allows Microsoft Windows compatible operating systems to read different file names with more features (longer names and support Unicode) than the standard ISO 9660 file system allows.
For Unix-style operating systems (such as Linux), another extension called "Rock Ridge" was developed, to allow even longer file names, Unix-style permissions, and a few other things.
It is very common to have both Rock Ridge and Joliet extensions on the same optical medium, but it could be that the creator of that DVD used these extensions in a clever way to only have the MS-Windows related files show in the Joliet part of the system and only have the Linux specific files show in the Rock Ridge part of the system. The isoinfo
program discussed in this stackexchange answer might provide more information.
Notes:
As mentioned in the discussion in the comments, while a lot of media are still authored in ISO 9660 and its extensions where the kinds of tricks discussed in the OP can happen, ISO 9660 is obsolete and modern media should be authored using UDF (ISO 13346) which is a Universal Disk Format and only allows a single view of the entire file system - so such tricks will probably not be possible on a UDF authored disk.
I'm not sure this is the correct answer, but maybe it'll provide you with details that will help you.
It could be because MS-Windows and Unix use different file systems on DVD - even on the same DVD. Files on an optical medium are usually arranged using a file system protocol specified in the ISO 9660 standard (also see notes at the end).
But the standard allows for extensions, and Microsoft has designed their own extension to the standard called "Joliet" that allows Microsoft Windows compatible operating systems to read different file names with more features (longer names and support Unicode) than the standard ISO 9660 file system allows.
For Unix-style operating systems (such as Linux), another extension called "Rock Ridge" was developed, to allow even longer file names, Unix-style permissions, and a few other things.
It is very common to have both Rock Ridge and Joliet extensions on the same optical medium, but it could be that the creator of that DVD used these extensions in a clever way to only have the MS-Windows related files show in the Joliet part of the system and only have the Linux specific files show in the Rock Ridge part of the system. The isoinfo
program discussed in this stackexchange answer might provide more information.
Notes:
As mentioned in the discussion in the comments, while a lot of media are still authored in ISO 9660 and its extensions where the kinds of tricks discussed in the OP can happen, ISO 9660 is obsolete and modern media should be authored using UDF (ISO 13346) which is a Universal Disk Format and only allows a single view of the entire file system - so such tricks will probably not be possible on a UDF authored disk.
edited yesterday
Charles Green
13.1k73657
13.1k73657
answered 2 days ago
GussGuss
2,13312135
2,13312135
22
Thanks, that was enough -isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.
– spookylukey
2 days ago
20
Pretty good answer, but one important detail I see missing is the--norock
and--nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.
– kasperd
2 days ago
6
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
4
Some tools such asmkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file namedREADME
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."
– Herohtar
2 days ago
3
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
|
show 8 more comments
22
Thanks, that was enough -isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.
– spookylukey
2 days ago
20
Pretty good answer, but one important detail I see missing is the--norock
and--nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.
– kasperd
2 days ago
6
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
4
Some tools such asmkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file namedREADME
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."
– Herohtar
2 days ago
3
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
22
22
Thanks, that was enough -
isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.– spookylukey
2 days ago
Thanks, that was enough -
isoinfo dev=/dev/dvd -J -ls
shows the missing files in Linux.– spookylukey
2 days ago
20
20
Pretty good answer, but one important detail I see missing is the
--norock
and --nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.– kasperd
2 days ago
Pretty good answer, but one important detail I see missing is the
--norock
and --nojoliet
mount options you can use on Linux to decide which of the three tree layouts you want to see.– kasperd
2 days ago
6
6
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
Wow that's ... actually surprisingly elegant.
– Lightness Races in Orbit
2 days ago
4
4
Some tools such as
mkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file named README
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."– Herohtar
2 days ago
Some tools such as
mkisofs
actually allow you to specify how to generate those. The "Examples" section at the linked man page shows how you can create an ISO that has a file named README
, but will appear with different contents depending on what system you're using to view the CD. To quote the man page: "There are probably all sorts of strange results possible with combinations of the hide options..."– Herohtar
2 days ago
3
3
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
I'm happy that there is mention of UDF in the comments, but I'm not sure its relevant to the discussion - if the file system on the OP's DVD was a universal format then you won't be able to get different views in Windows and Linux, as far as I understand.
– Guss
yesterday
|
show 8 more comments
spookylukey is a new contributor. Be nice, and check out our Code of Conduct.
spookylukey is a new contributor. Be nice, and check out our Code of Conduct.
spookylukey is a new contributor. Be nice, and check out our Code of Conduct.
spookylukey is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110791%2fwhy-do-windows-and-linux-see-different-files-on-a-dvd-rom%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You haven't said which Ubuntu release you are using, but in
nautilus
(or 'Files' the file manager for gnome) if you go to icon-view mode and click on the menu you can click "Show Hidden Files" and you should see all files. If in details (or list) mode the option is somewhat hidden (on my 19.04 box; sorry I don't use nautilus normally). Windows by default uses a fs (file-system) flag to hide files, where as *nix (Ubuntu, any GNU/Linux, apple or unix) use a '.' as the first character of filename to make a file 'hidden'.– guiverc
2 days ago
2
This is not a hidden files thing - using
ls -a
in Linux does not show the missing files. And neither does "Show hidden files" in Windows explorer.– spookylukey
2 days ago