LINUX.ORG.RU

Проблема с tar(?) (Ubuntu)

 ,


0

2

Привет!

Когда я делаю tar-архив с моих фотографий, временные штемпеля в архиве лежат на 50 мин. в будующем. Баг или фича? Установлен Убунту 15.10.

root@host:/mnt/fast/DCIM/104_PANA# date
Tue Feb  2 18:57:32 CET 2016
root@host:/mnt/fast/DCIM/104_PANA# tar -cvf /tmp/foto.tar *
P1040302.JPG
P1040303.JPG
root@host:/mnt/fast/DCIM/104_PANA# date
Tue Feb  2 18:57:42 CET 2016
root@host:/mnt/fast/DCIM/104_PANA# tar -tvf /tmp/foto.tar
-rwxr-xr-x root/root    387828 2016-02-02 19:48 P1040302.JPG
-rwxr-xr-x root/root    392662 2016-02-02 19:48 P1040303.JPG
root@host:/mnt/fast/DCIM/104_PANA# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=493532k,nr_inodes=123383,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=101600k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=101600k,mode=700)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=101600k,mode=700,uid=1000,gid=1000)
/dev/sdb1 on /mnt/fast type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda6 on /home/me/deluge type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
root@host:/mnt/fast/DCIM/104_PANA# cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-4.2.0-25-generic root=UUID=6408f1bd-9de8-45d8-b4db-70ad66f079d5 ro text
root@host:/mnt/fast/DCIM/104_PANA# uname -a
Linux host 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:32:18 UTC 2016 i686 i686 i686 GNU/Linux

Здесь ещё последние сообщения из kern.log:

Feb  2 18:44:49 host kernel: [  959.978166] usb 2-4: New USB device found, idVendor=058f, idProduct=6366
Feb  2 18:44:49 host kernel: [  959.978170] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb  2 18:44:49 host kernel: [  959.978173] usb 2-4: Product: Mass Storage Device
Feb  2 18:44:49 host kernel: [  959.978176] usb 2-4: Manufacturer: Generic
Feb  2 18:44:49 host kernel: [  959.978178] usb 2-4: SerialNumber: 058F0O1111B1
Feb  2 18:44:49 host kernel: [  959.979761] usb-storage 2-4:1.0: USB Mass Storage device detected
Feb  2 18:44:49 host kernel: [  959.981495] scsi host8: usb-storage 2-4:1.0
Feb  2 18:44:50 host kernel: [  960.980841] scsi 8:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
Feb  2 18:44:50 host kernel: [  960.981218] sd 8:0:0:0: Attached scsi generic sg2 type 0
Feb  2 18:44:51 host kernel: [  961.504078] sd 8:0:0:0: [sdb] 7959552 512-byte logical blocks: (4.07 GB/3.79 GiB)
Feb  2 18:44:51 host kernel: [  961.505065] sd 8:0:0:0: [sdb] Write Protect is off
Feb  2 18:44:51 host kernel: [  961.505069] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
Feb  2 18:44:51 host kernel: [  961.506064] sd 8:0:0:0: [sdb] No Caching mode page found
Feb  2 18:44:51 host kernel: [  961.507658] sd 8:0:0:0: [sdb] Assuming drive cache: write through
Feb  2 18:44:51 host kernel: [  961.516717]  sdb: sdb1
Feb  2 18:44:51 host kernel: [  961.520387] sd 8:0:0:0: [sdb] Attached SCSI removable disk
Feb  2 18:48:03 host kernel: [ 1153.208325] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
Feb  2 18:48:04 host kernel: [ 1154.536833] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
Feb  2 18:48:04 host kernel: [ 1154.536841] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
Feb  2 18:48:04 host kernel: [ 1154.536885] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
Feb  2 18:48:09 host kernel: [ 1159.389254] NET: Registered protocol family 24
Feb  2 18:48:09 host kernel: [ 1159.495555] ip_tables: (C) 2000-2006 Netfilter Core Team
Feb  2 18:48:09 host kernel: [ 1159.522663] nf_conntrack version 0.5.0 (15874 buckets, 63496 max)
Feb  2 19:03:55 host kernel: [ 2105.679518] perf interrupt took too long (2521 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
Feb  2 19:09:03 host kernel: [ 2413.222251] perf interrupt took too long (5003 > 5000), lowering kernel.perf_event_max_sample_rate to 25000

Навалил кучу гов.а, хотя достаточно

tar -tvf /tmp/foto.tar

и самое главное не показал

ls -l P1040302.JPG P1040303.JPG

anonymous ()
Ответ на: комментарий от anonymous

ls - l: 19:48 (на sdhc) я как то не обратил внимания.

Значит в фотике что-то не так. Но это конечно другой вопрос :)

forest22 ()
Ответ на: комментарий от anonymous

tar просто чего-то ругался при экстрагировании, что время то-ли в будущем то-ли в прошлом лежит. Раньше такого не было. Да, спать пора. Сейчас экстрагирую без этого предупреждения.

forest22 ()

время настрой на каждом устройстве

andrew667 ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.