bug-hurd
[Top][All Lists]
Advanced

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

RFC: filesystem-specific pathconf replies


From: Pino Toscano
Subject: RFC: filesystem-specific pathconf replies
Date: Thu, 4 Oct 2012 20:10:27 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

Hi,

there are filesystem-specific options (e.g. _PC_2_SYMLINKS) which cannot 
expressed currently with variables of libdiskfs (that is, which 
libdiskfs does not know).
My proposal is to add a new function, optionally overridable by 
filesystems-specific implementation, to return custom pathconf replies, 
eventually overriding those already returned by the diskfs/netfs 
io_pathconf.

Attached there is a prototype, without comments nor copyright; of couse 
a final version would also cover libnetfs, and more filesystems 
currently in hurd.git.
AFAICT, this solution should maintain source and binary compatibility, 
and a filesystem providing such diskfs_pathconf implementation should 
run fine even with an older libdisks (but I did not test this case).

What do you think about this solution?

-- 
Pino Toscano

Attachment: hurd_pathconf.diff
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]