Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2016 10:07:57 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org
Subject:   Re: Shell or mv eats a period?
Message-ID:  <1465920477.1188.142.camel@freebsd.org>
In-Reply-To: <20160614153805.GB50221@www.zefox.net>
References:  <20160614153805.GB50221@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2016-06-14 at 08:38 -0700, bob prohaska wrote:
> During a recent update of freebsd-arm on an rpi2 I happened to type
> root@ns1:/boot/msdos # ls
> bootcode.bin	fixup_cd.dat	readme		start_c
> d.elf	ubldr
> config.txt	fixup_x.dat	rpi2.dtb	start_x.elf
> fixup.dat	licence.bro	start.elf	u-boot.bin
> 
> To prepare for upgrading from r494499, I then typed
> 
> root@ns1:/boot/msdos # mv rpi2.dtb rpi2.dtb.old
> 
> root@ns1:/boot/msdos # ls
> bootcode.bin	fixup_cd.dat	readme		start_c
> d.elf	ubldr
> config.txt	fixup_x.dat	rpi2dtb.old	start_x.elf
> fixup.dat	licence.bro	start.elf	u-boot.bin
> 
> Note that the renamed file has lost the first dot. Next, the new file
> was copied into position:
> 
> root@ns1:/boot/msdos # cp /boot/dtb/rpi2.dtb /boot/msdos
> root@ns1:/boot/msdos # ls
> bootcode.bin	fixup_cd.dat	readme		start.e
> lf	u-boot.bin
> config.txt	fixup_x.dat	rpi2.dtb	start_cd.elf	
> ubldr
> fixup.dat	licence.bro	rpi2dtb.old	start_x.elf
> root@ns1:/boot/msdos #
> 
> It's happened twice so far, so it's unlikely to be a wetware error 8
> -)
> Can anybody tell me what happened?
> 
> thanks for reading,
> 
> bob prohaska

A FAT filesystem enforces that there is only a single dot in a
filename.  Welcome to 1983.

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1465920477.1188.142.camel>