Bug in "ln -d"

2002-02-21 Thread Ed Marden
Hi, There seems to be a problem with making a hard link to a directory, the man page says that it should be possible, but it's not. When I try with "ln -d /old /new" I get:- "ln: creating hard link `/new' to `/old': Operation not permitted" This is as root, and regardless of where in the filesy

Numeric sorting in GNU ls

2002-02-21 Thread Markus Kuhn
Is there way to tell ls to sort filename "2" before file "10"? In order words, can the sorting order be made to follow /* * Compare two strings just like strcmp, but preserve decimal integer * sorting order, i.e. "2" < "10". Strings are sorted as if sequences * of digits were prefixed by a le

Re: 'ls' bug ?

2002-02-21 Thread Bob Proulx
> The following "ls -lh" produces a 20megabyte report of the file size... [...] > Even though the file is 200 megabyte in size [...] > ls (GNU fileutils) 4.0x I cannot recreate your problem. 4.0x is getting old. Would it possible to see if the latest version 4.1, preferably the testing version

Win32/ls -i : Inode number is zero ...

2002-02-21 Thread Vardhan Varma
C:\>ls --version ls (GNU fileutils) 3.16 On Win32 inode number IS available, and called FRN (??) Hoping this can be added to Native Win32 port ... BOOL FRNFromPath(LPCTSTR pszPath, DWORDLONG *pFRN) { HANDLE hdir = CreateFile(pszPath, 0, FILE_SHARE_READ | FILE_SHARE_WRITE,