Package: realpath
Version: 1.14
Severity: normal

My system has a symlink for a BT878 TV PCI card.  'ls -l'
and 'readlink -f' show that symlink, but plain 'realpath' fails
and 'realpath -s' returns the symlink target name:

    % ls -l /dev/vbidefault
    lrwxrwxrwx 1 root video 8 May 15 20:02 /dev/vbidefault -> /dev/vb1

    % readlink -f /dev/vbidefault
    /dev/vb1

    % realpath /dev/vbidefault ; echo $?
    /dev/vbidefault: No such file or directory
    1

    % realpath -s /dev/vbidefault ; echo $?
    /dev/vbidefault
    0

Changing the current directory to '/dev/' didn't affect
the output:

    % cd /dev

    % realpath -s /dev/vbidefault ; echo $?
    /dev/vbidefault
    0

    % realpath /dev/vbidefault ; echo $?
    /dev/vbidefault: No such file or directory
    1

Hope this helps...


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages realpath depends on:
ii  libc6                         2.9-12     GNU C Library: Shared libraries

realpath recommends no packages.

realpath suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to