[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkdir: cannot create directory ... : Invalid argument



On Sun, Feb 12, 2023 at 10:56:18PM -0600, David Wright wrote:
> BTW, I didn't bother to look at the code in your example because
> I didn't see any relevance to the error/question. AFAICT you're
> just trying to create a file (or directory) on different filesystems.
> You don't need a load of shell toothpicks to demonstrate the problem.

That was the same issue I had.  I couldn't dis-entangle all of the
crazy shell stuff he was doing to try to get to the root of the actual
problem.

Had there been something straightforward like:

me@deblive:~$ cd /mnt/whatever
me@deblive:/mnt/whatever$ mkdir foo
me@deblive:/mnt/whatever$ mkdir bar.
Error message here.
me@deblive:/mnt/whatever$ mount | grep whatever
File system and mount options shown here.

then we might have got to the heart of the problem much more easily.


Reply to: