1753897 會員
7664 線上
108809 解決方案
發表新文章

fifo的檔案問題

 
watermelonyu
教授

fifo的檔案問題

請問我的系統是4.0F版本, 在下指令df -k時會有如下的mount point

file-on-file mount 0 0 0 100% /usr/net/servers/pathworks/.lr.conn

使用file指令去看, 顯示出型態是fifo, 好像並不是一個file system, 請問這是什麼東東呢?

file /usr/net/servers/pathworks/.lr.conn

/usr/net/servers/pathworks/.lr.conn: fifo



下df的指令時要如何避開這類檔案的顯示呢? (except grep -v), 謝謝!
1則回覆 1
watermelonyu
教授

fifo的檔案問題

Hi,



The file on file mount is how the streams fattach(3) code is

implemented. Also STREAMS based fifos (which are used by the SVE

layer product) use fattach. Lastly fattach is used by STREAMS

named pipes (which more than likely is the usage by PATHworks).



For example:

These files are of type File-on-File Mounting File System (FFM)

The File-on-File Mounting File System (FFM) allows regular, charac-

ter, or block-special files to be mounted over regular files, and is

primarily used by the SVR4-compatible system calls 'fattach' and 'fde-

tach' of a STREAMS-based pipe (or FIFO).

**********************************************************************

file-on-file mount 0 0 0 100%

/usr/opt/svr4/var/spool/lp/fifos/FIFO

file-on-file mount 0 0 0 100%

/usr/opt/svr4/var/spool/lp/fifos/listenS5

file-on-file mount 0 0 0 100%

/usr/opt/svr4/var/spool/lp/fifos/listenBSD

file-on-file mount 0 0 0 100%

/usr/opt/svr4/etc/saf/_cmdpipe

***********************************************************************

and all these FIFO's are used by SYSTEM 5 printing environment



> 下df的指令時要如何避開這類檔案的顯示呢?

Please try running "# df -t advfs,nfs".



Best regards,

Richard.