Other Help Topics :: Get file list from unc
I think the line
dpkg -x "$DEB" /opt/deb
should be
dpkg -x "$DEB" /opt/feh
Yes, indeed, hats, I should not have chosen a three letter package, it would have been easier for me to see. I now so strugle with my poor vision. I have now corrected the original post.
Maybe I'm missing something, but I cannot get this to work - here's what happens when I try to unpack, edit and repack a unc:
# mkdir /opt/bluez-utils
# mount /mnt/sda1/mydsl/optional/bluez-utils1.unc /opt/bluez-utils -t iso9660 -o ro,loop=/dev/cloop63
# mkdir /home/dsl/bluez-utils
# tar -C /opt/bluez-utils -cf - . | tar -C /home/dsl/bluez-utils -xf -
# cd /home/dsl/bluez-utils
# cd ..
# mkisofs -R -hide-rr-moved -cache-inodes -pad bluez-utils/ | create_compressed_fs - 65536 > bluezutils.unc
Using _RR_M000 for /.rr_moved (.rr_moved)
mkisofs: Error: '(NULL POINTER)' and 'bluez-utils/.rr_moved' have the same Rock Ridge name '.rr_moved'.
mkisofs: Unable to sort directory
Partial read (0 bytes of 65536), padding with zeros.
[ 9] Block# 0 size 0 -> 84 [compression ratio 100%, overall: 100%]
Statistics:
gzip(0): 0 ( 0%)
gzip(1): 0 ( 0%)
gzip(2): 0 ( 0%)
gzip(3): 0 ( 0%)
gzip(4): 0 ( 0%)
gzip(5): 0 ( 0%)
gzip(6): 0 ( 0%)
gzip(7): 0 ( 0%)
gzip(8): 0 ( 0%)
gzip(9): 1 (1e+02%)
7zip: 0 ( 0%)
Block size 65536, number of blocks 1.
Done.
BTW - what does the "tar" command do in this context?
After your mount of bluez, if you take a look at the files, seems that there is permission problems, andor inode issues. It looks atypical.
Perhaps because of fat filesystem of sda1?
The tar pipe is a low resouce method of copy from read-only mounted cloop.
original here.