Ilia Ross
25bb1def50
Add ability to use vfsv1 for newly created Linux quota files
...
This PR adds ability to use the `vfsv1` quota format for newly created user and group quota files when supported by quota-tools 4 or newer. This removes the `vfsv0` range limitation while preserving existing quota files and configured journal formats.
Quota creation remains scoped to the requested user or group type, safely normalizes configured `quotacheck` flags, and retains `vfsv0` and legacy fallbacks for compatibility.
Addresses issue report in:
https://forum.virtualmin.com/t/quota-out-of-range/137331?u=ilia
2026-08-13 04:41:27 +02:00
Ilia Ross
c47b63bfcf
Fix to use quotemeta to prevent shell injection in mount module
...
Ref.: 97bf3c03-fbe3-4ee0
2026-02-10 12:57:59 +02:00
iliajie
550aa7593b
Fix to properly display used space (consider reserved)
2023-03-02 21:24:49 +02:00
Jamie Cameron
00f8bb60d4
Properly handle case where showmount command is missing https://github.com/webmin/webmin/issues/1829
2023-01-23 21:27:09 -08:00
Jamie Cameron
5949e01c6b
Don't show non-editable filesystem types by default
2022-09-18 19:23:59 -07:00
Jamie Cameron
8d78254db7
Don't bother with a test mount, as we don't know all the mount options https://github.com/webmin/webmin/issues/1688
2022-07-16 21:31:12 -07:00
luz paz
3e6142f098
Fix user and non-user facing typos
2022-06-29 07:17:11 -04:00
Jamie Cameron
2d454cfc22
Don't resolve labels unless their are any
2021-06-26 18:07:13 -07:00
Jamie Cameron
8758a6e3b2
Add support for the nofail filesystem option on Linux https://github.com/webmin/webmin/issues/1012
2020-12-25 15:17:42 -08:00
Jamie Cameron
a9b43e461a
Factor out function to get device labels, and add caching 0ttps://www.virtualmin.com/node/68733
2020-04-18 16:00:40 -07:00
Jamie Cameron
f4c8abeb85
Deal with spaces in mount points https://sourceforge.net/p/webadmin/bugs/4081/
2020-03-21 13:07:13 -07:00
Jamie Cameron
a2dc3f7124
Switch all calls to open() to explicitly open for read
2020-03-14 17:20:54 -07:00
Jamie Cameron
6a86fb1e3f
Add support for noserverino option https://github.com/webmin/webmin/issues/1174
2020-01-08 23:10:18 -08:00
Jamie Cameron
808d4f255a
Deal with all types of /proc/swaps symlinks https://sourceforge.net/p/webadmin/bugs/4995/
2017-07-15 15:14:43 -07:00
Jamie Cameron
8396e71c96
Add option to use showmount to check NFS servers before mounting https://www.virtualmin.com/node/52754
2017-07-09 18:28:04 -07:00
Jamie Cameron
82367c90ea
NFS versions 4.1 exists
2017-07-08 08:52:02 -07:00
Jamie Cameron
c106b97a02
Quote params for safety
2017-07-08 08:50:36 -07:00
Jamie Cameron
5a18602bf0
Fix stupid typo https://sourceforge.net/p/webadmin/bugs/4972/
2017-06-30 14:42:20 -07:00
Jamie Cameron
5d9efa9a3a
File might contain CR characters
2017-06-30 14:33:45 -07:00
Jamie Cameron
0ee9cd2808
Use /proc/filesystems to check for support https://sourceforge.net/p/webadmin/bugs/4972/
2017-06-16 18:48:41 -07:00
Jamie Cameron
4368bf87bb
Add field for CIFS version https://virtualmin.com/node/45199
2017-01-03 17:14:11 -08:00
Jamie Cameron
bb0312469e
Support all NFS security options https://github.com/webmin/webmin/issues/443
2016-10-19 22:03:28 -07:00
Jamie Cameron
15bcab87c7
Support new-style quota
2016-06-29 17:52:54 -07:00
Jamie Cameron
9d84a6fdca
Use correct GID function
2015-01-07 13:57:28 -08:00
Jamie Cameron
593f8ed232
Timeout must be > 0
2014-12-18 20:23:23 -08:00
Jamie Cameron
38fc48e893
Add validation for timeout field https://sourceforge.net/p/webadmin/bugs/4526/
2014-12-18 20:21:56 -08:00
Jamie Cameron
cb2771d4ce
RAID device names can be multi-digit
2014-09-01 07:45:14 -07:00
Jamie Cameron
70e3ee6159
rootfs isn't a real filesystem type
2014-07-29 22:57:22 -07:00
Jamie Cameron
34edf8edbe
XFS is really a linux filesystem now
2014-07-29 22:47:26 -07:00
Jamie Cameron
40c6bfb40f
Support SD / MMC disks http://sourceforge.net/p/webadmin/bugs/4334/
2013-12-18 15:10:41 -08:00
Jamie Cameron
cbe7898dbb
Fix broken quota fields
2013-12-09 14:53:49 -08:00
Jamie Cameron
2ae5a38e15
Use forward slashes for CIFS when saving too https://github.com/webmin/webmin/issues/68
2013-11-14 13:55:40 -08:00
Jamie Cameron
c53768e01c
Add CIFS nounix option https://github.com/webmin/webmin/issues/63
2013-10-14 13:01:44 -07:00
Jamie Cameron
84c659b956
Use new file and dir mask directives https://github.com/webmin/webmin/issues/63
2013-10-14 11:30:26 -07:00
Jamie Cameron
290c7b1fc2
Never complain about dir that is actually exported https://sourceforge.net/p/webadmin/bugs/4142/
2013-08-26 08:47:33 -07:00
Jamie Cameron
1b6c50d168
Strip trailing an extra slashes off mount points
2013-03-12 22:30:44 -07:00
Jamie Cameron
d0ef80fe4e
BTRFS support
2013-01-30 15:12:48 -08:00
Jamie Cameron
ffc412a3a6
Remove obsolete filesystems
2013-01-30 13:51:05 -08:00
Jamie Cameron
a2a54f0e9d
Field to force NFS version
2012-11-23 10:18:10 -08:00
Jamie Cameron
0908f0824d
Add help for netdev option
2012-11-04 21:21:09 -08:00
Jamie Cameron
2e7ca8e826
Add mount option to wait for network
2012-09-20 11:35:06 -07:00
Jamie Cameron
2a619a8e52
Fix broken retrans option
2012-08-05 23:01:16 -07:00
Jamie Cameron
334b2dfcce
Only split on tabs if there are at least 3 https://www.virtualmin.com/node/22369
2012-06-08 08:29:13 +08:00
Jamie Cameron
62b7727492
Bugfixes for ui-libification
2012-05-29 18:24:30 -07:00
Jamie Cameron
8a464faa2b
More ui-lib conversion, plus better UI for dev/nodev and exec/noexec fields
2012-05-29 18:02:20 -07:00
Jamie Cameron
6a41e2fa4e
More ui-lib conversion
2012-05-28 22:16:31 -07:00
Jamie Cameron
301d0b8a57
More ui-lib conversion
2012-05-26 10:47:43 -07:00
Jamie Cameron
ba62aa2239
More ui-libification
2012-05-26 10:15:22 -07:00
Jamie Cameron
01281f800b
NFS ui-libification
2012-05-25 23:40:40 -07:00
Jamie Cameron
93b365e6af
More work on ui-lib conversion
2012-05-25 23:28:23 -07:00