#694996 lfm: move not working or broken way

Package:
lfm
Source:
lfm
Submitter:
patrick295767
Date:
2015-12-29 16:09:05 UTC
Severity:
important
#694996#5
Date:
2012-12-02 17:50:00 UTC
From:
To:
Hi,

I have discovered that it is preferable not to use 'move' of lfm

it is dangerous since it does copy the data differently than any linux
mv function.

lfm leaves chances for desaster of some data is the networking is
failing when one copy over samba or nfs.


It is highly recommended that lfm uses 'mv' for moving directories.

Example:

lfm
move dvd01 /samba
move dvd02 /samba
with lfm it will takes ages, and it will copy bit per bits.



with mv (utils of bin of linux), it will take 2sec since it simply tell
linux to change the dir position.

I hope it helped

sincerely

#694996#10
Date:
2012-12-03 11:25:10 UTC
From:
To:
Hi Patrick,

lfm uses python functions to move directories and files, and those use
byte-to-byte copy.

I can agree it could be slow for big contents, but it isn't dangerous at
all.
In fact (I don't remember v2.2, but v2.3) moving first copy contents and
then deletes source, so in case of process stop or any problem, original
data are never lost.

On the other hand, using "mv" we could lose control over the process:
stop/resume, progress information, and so on.

Those were the reasons I decided to use python functions instead of
external commands.

In fact I use lfm commands for not so big data and open PowerCLI (C-x) and
do cp/mv for bigger data.


Thanks for your feedback,
Iñigo Serna

#694996#15
Date:
2012-12-03 11:25:10 UTC
From:
To:
Hi Patrick,

lfm uses python functions to move directories and files, and those use
byte-to-byte copy.

I can agree it could be slow for big contents, but it isn't dangerous at
all.
In fact (I don't remember v2.2, but v2.3) moving first copy contents and
then deletes source, so in case of process stop or any problem, original
data are never lost.

On the other hand, using "mv" we could lose control over the process:
stop/resume, progress information, and so on.

Those were the reasons I decided to use python functions instead of
external commands.

In fact I use lfm commands for not so big data and open PowerCLI (C-x) and
do cp/mv for bigger data.


Thanks for your feedback,
Iñigo Serna

#694996#20
Date:
2015-12-29 16:06:09 UTC
From:
To:
tag 694996 + wontfix
thanks

Hi

The upstream  decided to use python functions instead of external commands.

Regards