Consider this output
$ ./iso-ls ../../tests/data/rock-ridge.iso
/:
dr-xr-xr-x 4 0 0 [LSN 23] 2048 Oct 21 2004 22:21:14 .
dr-xr-xr-x 2 0 0 [LSN 23] 2048 Oct 21 2004 22:21:14 ..
dr-xr-xr-x 2 0 0 [LSN 24] 2048 Mar 05 2005 12:12:25 copy
lr-xr-xr-x 1 0 0 [LSN 27] 7 Mar 05 2005 11:26:00 Copy2 -> COPYING
-r--r--r-- 1 0 0 [LSN 27] 17992 Mar 05 2005 11:25:51 COPYING
br--r--r-- 1 0 0 [LSN 36] 0 Mar 05 2005 11:32:05 fd0
dr-xr-xr-x 2 0 0 [LSN 25] 2048 Mar 05 2005 12:12:25 tmp
cr--r--r-- 1 0 0 [LSN 36] 0 Mar 05 2005 11:31:42 zero
/copy/:
dr-xr-xr-x 2 0 0 [LSN 24] 2048 Mar 05 2005 12:12:25 .
dr-xr-xr-x 4 0 0 [LSN 23] 2048 Mar 05 2005 12:12:25 ..
lr-xr-xr-x 1 0 0 [LSN 36] 10 Mar 05 2005 11:27:05 COPYING -> ../COPYING
/tmp/:
dr-xr-xr-x 2 0 0 [LSN 25] 2048 Mar 05 2005 12:12:25 .
dr-xr-xr-x 4 0 0 [LSN 23] 2048 Mar 05 2005 12:12:25 ..
lr-xr-xr-x 1 0 0 [LSN 36] 18 Mar 05 2005 11:51:05 COPYING -> ../copying/COPYING
In the above we have both a block device fd0 and a character device zero listed. If this are copied, these attributes disappear:
$ iso-cp ../../tests/data/rock-ridge.iso zero /tmp/my-zero
$ ls -l /tmp/my-zero
-rw-rw-r-- 1 rocky rocky 0 Aug 25 06:15 /tmp/my-zero
And it does not look like like the mode permissions +r-w are preserved either.
I note that this is a misfeature of libcdio's iso-copy as well.
Consider this output
In the above we have both a block device
fd0and a character devicezerolisted. If this are copied, these attributes disappear:And it does not look like like the mode permissions
+r-ware preserved either.I note that this is a misfeature of libcdio's
iso-copyas well.