Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109630318
D32782.id97938.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
D32782.id97938.diff
View Options
Index: sys/geom/part/g_part_if.m
===================================================================
--- sys/geom/part/g_part_if.m
+++ sys/geom/part/g_part_if.m
@@ -107,6 +107,13 @@
{
return (ENOIOCTL);
}
+
+ static int
+ default_getattr(struct g_part_table *table __unused,
+ struct g_part_entry *entry __unused, struct bio *bp __unused)
+ {
+ return (ENOIOCTL);
+ }
};
# add() - scheme specific processing for the add verb.
@@ -259,3 +266,10 @@
struct g_part_table *table;
struct g_consumer *cp;
};
+
+# getattr() - get the specified attribute, if any
+METHOD int getattr {
+ struct g_part_table *table;
+ struct g_part_entry *entry;
+ struct bio *bp;
+} DEFAULT default_getattr;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 5:24 PM (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16529627
Default Alt Text
D32782.id97938.diff (703 B)
Attached To
Mode
D32782: g_part: Allow attributes to be querried
Attached
Detach File
Event Timeline
Log In to Comment