Users online right now: 112 - Login  » search  » forum index  

what is wrong?

joma47
wrote 4 years ago


reply
Please help me,
I need unzim by lzm2dir lmz modul in to dir.

1,I opend in KDE folder with modul.
2, In menu Tools I opend Terminal

I type and returned to me follow:

bash-3.1# pwd
/mnt/live/mnt/sdb1/aaa

bash-3.1# lzm2dir file:///mnt/live/mnt/sdb1/aaa/cups-1.3.9-1.lzm file:///mnt/live/mnt/sdb1/aaa/sk
Convert .lzm compressed module back into directory tree
usage: /usr/bin/lzm2dir source_file.lzm existing_output_directory

bash-3.1# lzm2dir mnt/live/mnt/sdb1/aaa/cups-1.3.9-1.lzm /mnt/live/mnt/sdb1/aaa/sk
Convert .lzm compressed module back into directory tree
usage: /usr/bin/lzm2dir source_file.lzm existing_output_directory

bash-3.1# lzm2dir mnt/live/mnt/sdb1/aaa/cups-1.3.9-1.lzm mnt/live/mnt/sdb1/aaa/sk

Convert .lzm compressed module back into directory tree
usage: /usr/bin/lzm2dir source_file.lzm existing_output_directory
bash-3.1#

But in current foolder is not directory sk.
 
g.nixdorf
wrote 4 years ago


reply
Assuming, that the lzm file is in the directory
/mnt/live/mnt/sdb1/aaa

Following procedure

cd /mnt/live/mnt/sdb1/aaa

mkdir sk

lzm2dir cups-1.3.9-1.lzm sk/

Take care of writing slashes. In your posted commands are such errors.
 
joma47
wrote 4 years ago


reply
thank, help is ok.
But on the screen is follow, what next?

bash-3.1# pwd
/mnt/live/mnt/sdb1/aaa
bash-3.1# lzm2dir cups-1.3.9-1.lzm sk/
TIOCGWINZ ioctl failed, defaulting to 80 columns
[| ] 0/1750 0%
create_inode: failed to create symlink sk//usr/bin/cancel, because Operation not permitted
[| ] 0/1750 0%
create_inode: failed to create symlink sk//usr/bin/lp, because Operation not permitted
[| ] 0/1750 0%
create_inode: failed to create symlink sk//usr/bin/lpq, because Operation not permitted
[| ] 0/1750 0%
create_inode: failed to create symlink sk//usr/bin/lpr, because Operation not permitted
[| ] 0/1750 0%
create_inode: failed to create symlink sk//usr/bin/lprm, because Operation not permitted
[| ] 0/1750 0%
 
burninbush
wrote 4 years ago


reply
Joma, I'm guessing your destination directory is on a vfat or ntfs filesystem? Don't think that will work, probably what the 'not permitted' means. Those filesystems don't know anything about symbolic links.

Unless your xxx.lzm file is really large you can probably do it inside slax.

root:#mkdir temp
root:#lzm2dir xxx.lzm ./temp
-
- whatever;whatever
-
root:#dir2lzm ./temp /new.lzm


If it would produce a very large output file, then you could unzip one of those slax container files [from slaxsave.zip] and loop mount it and use that as a workspace for your edits.

Or ... temporarily reformat your sdb1 [usbstick?] to a linux filesystem.
 
sonsoft
wrote 4 years ago


reply
lzm2dir or dir2lzm will work perfectly in linux file system only. In your case try to copy file cups-1.3.9-1.lzm to /tmp . Then do this :

#mkdir try_cups
#lzm2dir cups-1.3.9-1.lzm /try_cups%0
 
unnamed
wrote 364 days ago


reply
You just need linux file system like Ext3.

don't use it on fat drive
 
agreimann
wrote 356 days ago


reply
In short, I think to put it more accurately, if you want compatibility with OS X, Windows, and almost any other OS, use FAT. But... you will need to use a slax.dat container for that--not the changes folder. I think you can see that using the changes folder is risky, because data can get corrupted easily.

If you follow unnamed's advice and use ext2/3, only Linux systems will see it. But, you won't be as likely to lose anything because it will be more stable.

Now to answer your question directly, to decompress modules, you'll need to do that on an ext filesystem. Period. FAT does not understand Linux permissions, and decompressing will either fail miserably or otherwise when you rebuild it on FAT, permissions will be goofy and something won't work.

It is honestly up to you. Hope this helps. :)
 
calipsos
wrote 356 days ago


reply
http://youtu.be/ok6y74XAbBA

compress:
root@whydah:/# dir2lzm source_directory file.lzm

decompress:
root@whydah:/# lzm2dir source_file.lzm existing_output_directory
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH