Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135459152
D8801.id22935.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D8801.id22935.diff
View Options
Index: bin/df/df.c
===================================================================
--- bin/df/df.c
+++ bin/df/df.c
@@ -247,6 +247,8 @@
#ifdef MOUNT_CHAR_DEVS
} else if (S_ISCHR(stbuf.st_mode)) {
if ((mntpt = getmntpt(*argv)) == NULL) {
+ xo_warnx(
+ "df on unmounted devices is deprecated");
mdev.fspec = *argv;
mntpath = strdup("/tmp/df.XXXXXX");
if (mntpath == NULL) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 11, 1:13 AM (2 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25131490
Default Alt Text
D8801.id22935.diff (408 B)
Attached To
Mode
D8801: Emit a deprecation warning when mounting a device to print statisistics.
Attached
Detach File
Event Timeline
Log In to Comment