[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special files


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


References:
Special filesDustin Oprea <myselfasunder@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org