-
GAMEPOD.hu
ASUS routerek
Új hozzászólás Aktív témák
-
limpi
aktív tag
Kis bénázással eljutottam odáig, hogy sikerült az alapértelmezett egyszerűbb (csak 4 paraméterrel rendelkező) fstrim-et komolyabbra cserélnem:
ASUSWRT-Merlin RT-AX86U 388.1_0 Sat Dec 3 18:16:12 UTC 2022
Limpi@RT-AX86U:/tmp/home/root# opkg install fstrim
Installing fstrim (2.38-2) to root...
Downloading https://bin.entware.net/aarch64-k3.10/fstrim_2.38-2_aarch64-3.10.ipk
Collected errors:
* opkg_install_pkg: Checksum or size mismatch for package fstrim. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package fstrim.
Limpi@RT-AX86U:/tmp/home/root# opkg update fstrim
Downloading https://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Limpi@RT-AX86U:/tmp/home/root# opkg install fstrim
Installing fstrim (2.38-2) to root...
Downloading https://bin.entware.net/aarch64-k3.10/fstrim_2.38-2_aarch64-3.10.ipk
Installing libuuid (2.38-2) to root...
Downloading https://bin.entware.net/aarch64-k3.10/libuuid_2.38-2_aarch64-3.10.ipk
Installing libblkid (2.38-2) to root...
Downloading https://bin.entware.net/aarch64-k3.10/libblkid_2.38-2_aarch64-3.10.ipk
Installing libsmartcols (2.38-2) to root...
Downloading https://bin.entware.net/aarch64-k3.10/libsmartcols_2.38-2_aarch64-3.10.ipk
Installing libmount (2.38-2) to root...
Downloading https://bin.entware.net/aarch64-k3.10/libmount_2.38-2_aarch64-3.10.ipk
Configuring libuuid.
Configuring libblkid.
Configuring libsmartcols.
Configuring libmount.
Configuring fstrim.Ez most ezeket tudja:
Limpi@RT-AX86U:/tmp/home/root# fstrim --help
Usage:
fstrim [options] <mount point>Discard unused blocks on a mounted filesystem.
Options:
-a, --all trim mounted filesystems
-A, --fstab trim filesystems from /etc/fstab
-I, --listed-in <list> trim filesystems listed in specified files
-o, --offset <num> the offset in bytes to start discarding from
-l, --length <num> the number of bytes to discard
-m, --minimum <num> the minimum extent length to discard
-v, --verbose print number of discarded bytes
--quiet-unsupported suppress error messages if trim unsupported
-n, --dry-run does everything, but trim-h, --help display this help
-V, --version display versionArguments:
<num> arguments may be followed by the suffixes for
GiB, TiB, PiB, EiB, ZiB, and YiB (the "iB" is optional)For more details see fstrim(8).
Ki is adtam pár teszt parancsot:
Limpi@RT-AX86U:/tmp/home/root# fstrim -a -v -n
Limpi@RT-AX86U:/tmp/home/root#Limpi@RT-AX86U:/tmp/home/root# fstrim -v /tmp/mnt/ASUS-480GB
fstrim: /tmp/mnt/ASUS-480GB: the discard operation is not supported
Limpi@RT-AX86U:/tmp/home/root# fstrim -v /tmp/mnt/PATRIOT-2TB
fstrim: /tmp/mnt/PATRIOT-2TB: the discard operation is not supported
Limpi@RT-AX86U:/tmp/home/root#
Szóval, hogy csináljon is valamit, gondolom tényleg előbb kell a fenti módosítás, amit egyelőre nem merek...[ Szerkesztve ]
<:v)
Új hozzászólás Aktív témák
- Escape from Tarkov
- EA Sports WRC '23
- Android alkalmazások - szoftver kibeszélő topik
- Mobil flották
- Xbox Series X|S
- PlayStation 5
- Dobozos verziót kapnak az IGP nélküli AMD Ryzenek
- ubyegon2: Airfryer XL XXL forrólevegős sütő gyakorlati tanácsok, ötletek, receptek
- Kés topik
- Milyen okostelefont vegyek?
- További aktív témák...
Állásajánlatok
Cég: Alpha Laptopszerviz Kft.
Város: Pécs
Cég: Ozeki Kft.
Város: Debrecen