[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special files
[Thread Prev] | [Thread Next]
- Subject: Re: Special files
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 10 Sep 2013 07:35:16 +0200
- To: libssh@xxxxxxxxxx
On Monday 09 September 2013 22:10:51 Dustin Oprea wrote: > sftp_attributes_struct.type can sometimes be SPECIAL or UNKNOWN. > > I'm assuming that "SPECIAL" means that it could be, or -is-, a device. How > can I get the device major/minor numbers? SPECIAL means it is either a socket, block device, char device or fifo. I think you can't get more information out of it. I don't think that the server provides these information. See https://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-6.8s for more details. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.org asn@xxxxxxxxxxxxxx
Special files | Dustin Oprea <myselfasunder@xxxxxxxxx> |