TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: =?UTF-8?Q?BJ=C3=B6RN_LUND
date: 2018-05-31 10:17:00
subject: Re: ftp causing invalid s

On 2018-05-23 10:58, RobH wrote:

>
> With .unlink commented out the files on the PiZero /dev/shm are all
> about 2.8mb in size, from file/properties,
> and yet when I:
>
> pi@raspberrypi:~ $  ls -la /mnt/CCTV/PiZero
> total 12
> drwxr-xrwx 2 pi   pi    0 May 23 09:47 .
> drwxr-xr-x 3 pi   pi 4096 May 17 17:36 ..
> -rw-r--r-- 1 pi   pi    0 May 21 11:50 2018-050-21_11.50.09.h264
> -rw-r--r-- 1 pi   pi    0 May 22 09:46 2018-050-22_09.46.39.h264
> -rw-r--r-- 1 pi   pi    0 May 22 09:51 2018-050-22_09.51.12.h264
> -rw-r--r-- 1 pi   pi    0 May 22 11:35 2018-050-22_11.34.55.h264
> -rw-r--r-- 1 pi   pi    0 May 22 11:44 2018-050-22_11.44.02.h264
> -rw-r--r-- 1 pi   pi    0 May 22 11:46 2018-050-22_11.46.02.h264
> -rw-r--r-- 1 root pi    0 May 23 09:47 2018-050-23_09.47.38.h264
> -rw-r--r-- 1 pi   pi    0 May 19 17:31 2018-19-19_17.31.32.h264
> -rw-r--r-- 1 pi   pi    0 May 19 17:40 2018-19-19_17.40.13.h264
> -rw-r--r-- 1 pi   pi    0 May 19 17:43 2018-19-19_17.43.42.h264
> -rw-r--r-- 1 pi   pi    0 May 20 19:02 2018-20-20_19.01.50.h264
> -rw-r--r-- 1 pi   pi    0 May 20 19:08 2018-20-20_19.08.38.h264
> -rw-r--r-- 1 pi   pi    0 May 20 20:02 2018-20-20_20.02.21.h264
> -rw-r--r-- 1 pi   pi    0 May 20 20:51 2018-20-20_20.51.49.h264
>
> And now they are 0 bytes in size?????


what is the size when you do the move manually?
that is
 mv /dev/shm/file_of_size_greater_than_zero /mnt/CCTV/PiZero/
 ls -la /mnt/CCTV/PiZero/file_of_size_greater_than_zero

--
--
Björn

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.