Hi Greg,Attached patch fixes user/fileutils/ls.c in uClinux-dist-20080808 for the following problems:
[1] show the links without the patch "ls -la /bin" output: # ls -l /bin lrwxrwxrwx 1 root 0 7 Jan 1 1970 [ -rwxr--r-- 1 root 0 51860 Jan 1 1970 agetty after applied the patch: # ls -la /bin lrwxrwxrwx 1 root 0 7 Jan 1 1970 [ -> busybox -rwxr--r-- 1 root 0 51828 Jan 1 1970 agetty -rwxr--r-- 1 root 0 61528 Jan 1 1970 arp [2] show major:minor number correctly without the patch # ls -l /dev/ crw-r--r-- 1 root 0 0, 91 Jan 1 1970 can crw-r--r-- 1 root 0 0, 91 Jan 1 1970 can0 crw-r--r-- 1 root 0 0, 5 Nov 30 00:00 console crw-r--r-- 1 root 0 0, 5 Jan 1 1970 cua0 crw-r--r-- 1 root 0 0, 5 Jan 1 1970 cua1 crw-r--r-- 1 root 0 0, 29 Jan 1 1970 fb0 crw-r--r-- 1 root 0 0, 29 Jan 1 1970 fb1 with the patch # ls -l /dev/ crw-r--r-- 1 root 0 91, 0 Jan 1 1970 can crw-r--r-- 1 root 0 91, 0 Jan 1 1970 can0 crw-r--r-- 1 root 0 5, 1 Nov 30 00:00 console crw-r--r-- 1 root 0 5, 64 Jan 1 1970 cua0 crw-r--r-- 1 root 0 5, 65 Jan 1 1970 cua1 crw-r--r-- 1 root 0 29, 0 Jan 1 1970 fb0 crw-r--r-- 1 root 0 29, 32 Jan 1 1970 fb1 crw-r--r-- 1 root 0 28, 0 Jan 1 1970 hifn0 crw-r--r-- 1 root 0 89, 0 Jan 1 1970 i2c-0 [3] remove extra line for "ls -dl" without the patch # ls -dl /dev/ /bin drwxr-xr-x 1 root 0 2036 Jan 1 1970 /dev/ drwxr-xr-x 1 root 0 1064 Jan 1 1970 /bin # with the patch # ls -dl /dev/ /bin drwxr-xr-x 1 root 0 2004 Jan 1 1970 /dev/ drwxr-xr-x 1 root 0 1124 Jan 1 1970 /bin # -- David Wu
user_ls.patch
Description: Binary data
_______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
