From owner-freebsd-questions@freebsd.org Tue Jan 29 21:21:43 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D46114CC26E for ; Tue, 29 Jan 2019 21:21:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17ECC6BDD4 for ; Tue, 29 Jan 2019 21:21:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.226.69]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MC0HF-1h10tR0w9N-00CRVt; Tue, 29 Jan 2019 22:21:28 +0100 Date: Tue, 29 Jan 2019 22:21:26 +0100 From: Polytropon To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" Subject: Re: RSYNC changes file name Message-Id: <20190129222126.d0449659.freebsd@edvax.de> In-Reply-To: <18bd6c1326e011634c5b548e5cfd94aa.squirrel@webmail.harte-lyne.ca> References: <9aaa35912b122e88e667e7516ba6a865.squirrel@webmail.harte-lyne.ca> <20190129204033.7312742f.freebsd@edvax.de> <10a14c28507feee71572a2573d319fc3.squirrel@webmail.harte-lyne.ca> <20190129214351.2f32c04c.freebsd@edvax.de> <18bd6c1326e011634c5b548e5cfd94aa.squirrel@webmail.harte-lyne.ca> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:971GkPJdR385TTSfz9Meebmc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queue-Id: 17ECC6BDD4 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.41 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx01.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[69.226.193.92.zen.spamhaus.org : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.938,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(1.08)[ip: (3.98), ipnet: 212.227.0.0/16(-0.71), asn: 8560(2.13), country: DE(-0.01)] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2019 21:21:43 -0000 On Tue, 29 Jan 2019 16:13:46 -0500, James B. Byrne wrote: > > > On Tue, January 29, 2019 15:43, Polytropon wrote: > > On Tue, 29 Jan 2019 15:28:50 -0500, James B. Byrne wrote: > >> Gpart reports the file system is type 12 which I believe is some > >> variant of FAT. MS Windows does not permit file names ending in > >> either a dot or a space. The filesystem silently truncates the > >> offending character. > > > > Ha, just as I thought. :-) > > > > If you're going to use the target medium for FreeBSD > > only (i. e., you won't access it from "Windows"), why > > not initialize it with UFS? There are even tunefs > > options that can help optimizing access to specific > > media, like USB sticks or SD cards. In fact, there > > even isn't a need for a partition table, if you for > > example do "newfs /dev/da0" (where da0 corresponds > > to the medium in question), and then you can use it > > as "mount -t ufs /dev/da0 /mnt" without problems. > > Filenames will then correctly be stored. > > > > Suggestion: For backing up FreeBSD stuff, keep using > > FreeBSD stuff. :-) > > > > The resulting archives must be readable on a windows OS. It is a > portable backup which may have to be used in situations where any form > of *nix will not be available to me. You say, "the archives", but it seems you're copying bare files. A convenient to deal with this problem is to "encapsulate" the whole thing in a "| tar" pipe. There are versions of the tar program available even for "Windows". Inside a tar archive, a file "12345." can be stored, while the archive itself can have a name that does not violate FAT rules. Of course, this introduces another problem: Can you make sure that the system you'll be using will be able to use tar? It's not for the compression (which you _could_ use), just for the "encapsulation". But if you just need something to _store_ the file, not to _process_ it, it could be an option for you. I don't know about the specific scenarios you're preparing for, but as you talked about IMAP data in maildir format, I can imagine that you just could transfer a tar file from the "Windows" system to the actual IMAP server (for data restore), extract it _there_ - which will surely be some kind of UNIX system (FreeBSD, any BSD, Linux), and every UNIX system has a tar implementation. Just a thought. Summary: You cannot use FAT for backups when it will not allow the filenames to stay the same. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...