Re: unable to create any directory that uses numbers as thedirectory name



On 21/09/2007, Madan Thapa <madan.feedback@xxxxxxxxx> wrote:
Description of problem:
============================================
Problem creating directories with only numbers as name.

Version-Release number of selected component (if applicable):
==================================================================
root@server [~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

root@server [~]# uname -a
Linux server.integrityserver.net 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT
2007 i686 i686 i386 GNU/Linux
root@server [~]#


How reproducible:
======================

root@server [~]# mkdir 1
mkdir: cannot create directory `1': No such file or directory
root@server [~]# mkdir 12
mkdir: cannot create directory `12': No such file or directory
root@server [~]# mkdir 1a2
root@server [~]#



Actual results:
======================
mkdir: cannot create directory `1': No such file or directory


Expected results:
======================
should be able to create a directory

Additional Info:
==================
root@server [~]# ll $(which mkdir)
-rwxr-xr-x 1 root root 25060 Sep 19 15:46 /bin/mkdir*
root@server [~]# rpm -qf $(which mkdir)
coreutils-5.2.1-31.6
root@server [~]#
root@server [~]# mount -a
root@server [~]#

FSType = ext3


Thanks
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

How come your /bin/mkdir dates from 19-Sep?

Could you give us the output of
# file `which mkdir`
# mount | grep your-filesystem
# lsattr -d ~

What happens when you create a directory with an alphanumerical name,
and then move it to a numerical directory?

Kind regards,

Herta

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: asrock, problem with nic after windows-boot - Mount Issues [Resolved]
    ... Like an idiot, I mounted hda1, when I needed to mount the whole hda ... mkdir /p1 ... I think I'm wrong about KDE being the umount culprit though; ... This hda4 is a copy (and a Primary partition, as most know) of a win98 ...
    (comp.os.linux.networking)
  • Bind mount bug?
    ... Suppose I create a "looped" bind mount situation as follows. ... # mkdir bindtest ...
    (Linux-Kernel)
  • Re: Upgrading hard drives
    ... partitions) is on a second drive, which also has one FAT32 partition. ... but it doesn't understand "Linux" partitions. ... Then you want to mount both the old drive and the ... mkdir /hda ...
    (comp.os.linux.misc)
  • Re: Upgrading hard drives
    ... partitions) is on a second drive, which also has one FAT32 partition. ... but it doesn't understand "Linux" partitions. ... Then you want to mount both the old drive and the ... mkdir /hda ...
    (comp.os.linux.misc)
  • [SLE] Mount CD-ROM
    ... When I click the icon in 'My Computer' (KDE 3.3, SuSE Linux ... mkdir: cannot create directory `/media/cdrom': No medium found ... mount: block device /dev/cdrom is write-protected, ... mkdir: cannot create directory `/mnt/cdrom': Read-only file system ...
    (SuSE)