I decided to create a /data directory to hold some nmon data and noticed something weird with mkdir. Running mkdir from root seemed to give me unpredictable results. mkdir would often complain 'Invalid argument' , and it seemed to work sometimes if I passed mkdir an option like '-v' or 'p', but that wasn't consistent.
# pwd
/
# mkdir data2
mkdir: cannot create directory `data2': Invalid argument
# mkdir -v data2
mkdir: created directory `data2'
# rm -rf data2
# mkdir -p data2
mkdir: cannot create directory `data2': Invalid argument
# mkdir -v data2
mkdir: cannot create directory `data2': Invalid argument
(worked a minute ago!)
I wonder what is going on here?
I'm doing this on my pink pogo with newly installed arch/arm linux.