aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/lsattr.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-06-15 12:36:38 +0100
committerRon Yorston <rmy@pobox.com>2026-06-15 12:43:03 +0100
commitd4fefaceac846bbf8acbb110924b0caff6df698e (patch)
treede208d030a8955772f6cd7b156a264b84341c3d4 /e2fsprogs/lsattr.c
parent862f87a8725d5cc9693021066869e94512d5d8e1 (diff)
downloadbusybox-w32-mount_point.tar.gz
busybox-w32-mount_point.tar.bz2
busybox-w32-mount_point.zip
df,lsattr: support Unix-like mount pointsmount_point
Update 'lsattr' to distinguish between mount points and junctions. Use the new 'mntent' functions in 'df' to display mount points as well as drive letters. If mount point is associated with a drive letter this is displayed as the filesystem. The Windows-specific '-w' option forces the volume name to be displayed instead, if avaialable. Adds 87-111 bytes. Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r--e2fsprogs/lsattr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 7c3e8ae4b..1c6523745 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -45,7 +45,8 @@
45//usage: ) 45//usage: )
46//usage: IF_PLATFORM_MINGW32( 46//usage: IF_PLATFORM_MINGW32(
47//usage: "\n\nAttributes:\n" 47//usage: "\n\nAttributes:\n"
48//usage: "\n m Mount (junction/volume)" 48//usage: "\n m Mount point"
49//usage: "\n j Junction"
49//usage: "\n l Symbolic link" 50//usage: "\n l Symbolic link"
50//usage: "\n A App exec link" 51//usage: "\n A App exec link"
51//usage: "\n R Unidentified reparse point" 52//usage: "\n R Unidentified reparse point"