FW by linux4michelle freenet de : Bug#479551: [VFS] sourcefile does not have the right timestamp



Pavel?  --  Any comments?


----- Forwarded message from Michelle Konzack <linux4michelle freenet de> -----

Date: Mon, 5 May 2008 00:03:50 +0200
From: Michelle Konzack <linux4michelle freenet de>
To: BTS <submit bugs debian org>
Subject: Bug#479551: [VFS] sourcefile does not have the right timestamp
X-PTS-Package: mc
X-Debian-PR-Package: mc
X-TDMailSerialnumber: 8166920

Package: mc
Severity: wishlist

Hi Maintainer,

Please forward this to upstream...


I am working on a "tar" VFS and if I add a file, I get the time from the
file 

    copyin archivename storedfilename sourcefile
                                      ^^^^^^^^^^
which is for example:

0: /usr/share/mc/extfs/michelle
1: copyin
2: /home/michelle.konzack/.tddebdevel/projects/tdmc/tdmc-0.0.1/src/test.tarx
3: .BTS_debian.c.cairo/new/0203f86987d6f08f6720329b2c8a0e9c
4: /tmp/michelle.konzack.rATqyA/mc-michelle.konzack/extfsUsFmlb0203f86987d6f08f6720329b2c8a0e9c

and since VFS does not give the real name, an Archiver-VFS will screw up
the archive with wrong date/time stamp.

I have tried to add the file

-rw-------  1 michelle.konzack private 81920 2008-05-04 16:07 
/tmp/michelle.konzack.rATqyA/hcache/0203f86987d6f08f6720329b2c8a0e9c

and gotten this:

-rw-------  1 michelle.konzack private 81920 2008-05-04 23:21 
/tmp/michelle.konzack.rATqyA/mc-michelle.konzack/extfsUsFmlb0203f86987d6f08f6720329b2c8a0e9c

I think, the temporary file should be touched with the time stamp  from
the original file since from inside the VFS-Script I can not more  know
where the original file location was to get the right time stamp.

And of course, why is "sourcefile" a tmp file and not the original one?

Creating the temp files has a bunch of disavantages.  If I  select  e.g.
1000 files from a directory and ty to add it, mc create 1000 temp  files
which are unneccesary and produce a very high CPU and IO load.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
----- End forwarded message -----


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]