[Pkg-mc-devel] Bug#479551: [VFS] sourcefile does not have the right timestamp
Michelle Konzack
linux4michelle at freenet.de
Sun May 4 22:03:50 UTC 2008
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20080505/ff87c01e/attachment.pgp
More information about the Pkg-mc-devel
mailing list