Mailinglist Archive: opensuse (1620 mails)

< Previous Next >
Re: [opensuse] Read-only NTFS Disks?
On 2014-11-18 21:01, jdd wrote:
Le 18/11/2014 20:54, Carlos E. R. a écrit :
On 2014-11-18 20:38, jdd wrote:
Le 18/11/2014 20:23, Lew Wolfgang a écrit :


to be mounted it needs a file system, I don't see any mkfs step in your
description?

Yes, there is, but one that Windows doesn't understand because it is not
expecting it. The "mkisofs" early in the process. Linux is way more
flexible.

oh yes, but it only copy the test hyerarchy in the iso, if this is an
linux file system, windows cat read it.

I think you misunderstand.

You create an iso image file on Linux somewhere. Then you dd that image
file to some other raw device, via dd to dev/sdg. This "dd" creates a
filesystem on sdg, same as if you'd run mkfs.iso on sdg directly.

Only that "mkfs.iso" does not exist, because of the particularities of
the iso "filesystem".

Compare with:

mkfs.ext4 somefile.img
dd if=somefile.img of=/dev/sdg

which is basically equivalent to:

mkfs.ext4 /dev/sdg


So the procedure Lew used effectively formatted his /dev/sdg as a DVD.
Only that Windows doesn't handle it, or not directly. It might via
acetoneiso or whatever.

If it doesn't, the procedure would be something like:

mkisofs -o test.iso <test-hierarchy>
mkfs.ntfs /dev/sdg
mount /dev/sdg /mnt/somewhere
cp test.iso /mnt/somewhere/test.iso

--
Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)

< Previous Next >
Follow Ups