Find the answer to your Linux question:
Results 1 to 3 of 3
Hello folks! When issueing a "mkfifo /tmp/1"on my laptop(x86), I get this file: Code: prw-r--r-- 1 root root 0 2011-04-11 15:09 1 If I issue the same command on a ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5

    [SOLVED] Pipe filename ends on "|" with ARM-processor

    Hello folks!

    When issueing a "mkfifo /tmp/1"on my laptop(x86), I get this file:

    Code:
    prw-r--r-- 1 root     root      0 2011-04-11 15:09 1
    If I issue the same command on a AT91SAM9260(arm), I get this file:

    Code:
    prw-r--r--    1 root     root             0 Dec 31 17:00 1|
    What could I be doing wrong, since I am getting a pipe "|" in the end of the filename?

    Thanks for any hint
    Herakles

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    I suspect that on your second box, you have "ls" aliased to "ls -F". '-F' causes ls to output special characters after special types of files. * means executable, / means directory, @ means suid (iirc), and | means FIFO. You can see this in the "ls" man page. Try running "/bin/ls /tmp/1" to ignore the alias and see what output you get.
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5
    That's it, thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...