On 26 Feb 2000, Matija Nalis wrote:

> Is this expected behavior ? I've tried this on 2.2.13, under minix and msdos
> filesystems.

Expected behaviour, _for_ _those_ _filesystems_. It's not a good thing to
copy, BTW. Both do it by historical reasons (Minix and DOS behaviour,
AFAICS). minixfs even has a #define for switching to normal semantics
(-ENAMETOOLONG). 

> So, the question is, is this to be expected? Or should it be fixed?
> 
> It seems to create some confusion (think using /dos/somefile.txt and trying
> to create lock file /dos/somefile.txt.lck, or editing /dos/somefile.txt and
> trying to save backup /dos/somefile.txt~ or simular. How would it handle
> it?)

Simple: it wouldn't. Yes, it's braindead, but it's a bit too late to fix.
minixfs - may be, but msdos - no. It was a deliberate choice. Filesystem
_may_ play such games and even though it's a bad idea those two (and AFFS,
IIRC) decided that they want to do so.

Reply via email to