
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
|
dmlnames-0.2
--------------
---
'dmlnames' allows to grep in 'mountlist' and dump handler names, so that
you can perform all sort of magic on them.
---
NEWS:
[01-Aug-2009] 0.2 Way better, way cleaner!
---
NOTES:
[*]
Requires 68000(no FPU)+, OS 2.04+, 8192+ bytes of free memory
[*]
Proggy has 'lformat' facility so you can use it like 'list' command.
[*]
Proggy features two filters that can be activated by feeding 'range'
with value higher than 0. First filter, the 'area filter' helps to
determine if certain partition fits the desired range. Second filter,
the 'drive filter' keeps an eye on the partition size versus drive
size.
"
EXAMPLE:
FileSystem = L:SmartFileSystem
Device = scsi.device /* 2 */
Unit = 0 /* 2 */
Priority = 1
Flags = 0
Surfaces = 16 /* 1 */
BlockSize = 512 /* 1 (or SectorSize) */
BlocksPerTrack = 63 /* 1 (or SectorsPerTrack) */
Reserved = 2
Interleave = 0
LowCyl = 16081
HighCyl = 39548 /* 1 and 2 */
StackSize = 5120
Buffers = 256
BufMemType = 0
GlobVec = -1
DosType = 0x53465300
MaxTransfer = 0x1FE00
Mask = 0xFFFFFFE
Activate = 1
#
"
1 - entries needed for the 'area filter' to work.
2 - entries needed for the 'drive filter' to work.
[*]
Proggy is aware of the comments.
---
HELP:
*** template: dmlnames <f=file/a> [l=lformat/k] [r=range/n] [[~]n=names/f]
<f=file/a> - mountlist file.
[l=lformat/k] - there are seven options:
'%c' - allows to check if handler is already
in the system(this is a switch)
'%e' - will turn itself into handler name
(without colon - you have to add it)
'%E' - in conjunction with '%r' will print
errors only(switch)
'%f' - will turn itself into input filename
'%k' - kill all requesters while handling
the 'lformat' line(this is a switch)
'%o' - when used with '%r' will print the
original output from the command(sw.)
'%r' - runs the 'lformat' line(this is also
switch thus wont appear in the output)
[r=range/n] - partitions who exceed this value(GiB) counting from
0 for each entry, wont be listed
[[~]n=names/f] - comma spearated names of handlers that should be
included or (~)ex-luded(handlers must not contain
colons)
---
EXAMPLES:
; mount everything from the mountlist if it is not mounted
dmlnames devs:mountlist lformat="%c%rmount %e: from=%f"
; suppose you use 'nsdpatch' only under 3.0 and you have just
; attached the drive with SFS filesystems that require TD64, if
; you mount them then your Miggy will most likely hang, so you
; may like to perform check like this to avoid such situation
dmlnames devs:mountlist range=4 lformat="%rmount %e: from=%f"
; suppose you transferred your system to another(smaller) hardrive
; and you generally use TD64(128 GiB) and you didnt change mountlists
; to reflect new hard drive layout, now if you use SFS and decide to
; mount such partition then requester will popup telling you that
; the partitition you are about to mount does not fit the actual
; hard drive size, so to avoid that use 'range' again
dmlnames devs:mountlist range=128 lformat="%rmount %e: from=%f"
; dont mount 'RAD:' and 'PC0:'
dmlnames devs:mountlist lformat="%rmount %e: from=%f" ~RAD,~PC0
; mount 'PC0:' only
dmlnames devs:mountlist lformat="%rmount %e: from=%f" PC0
; addbuffers to certain partitions
dmlnames devs:mountlist lformat="%raddbuffers %e: 128" HD1,HD2,HD3
; report filesystems that dont work(use after mounting)
dmlnames devs:mountlist lformat="%E%k%rcd %e:"
---
megacz@usa.com
|
Contents of util/cli/dmlnames.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 205 313 65.5% -lh5- a190 Aug 7 21:30 dmlnames-0.2/DMakefile
[generic] 3078 4660 66.1% -lh5- 80e6 Aug 8 03:03 dmlnames-0.2/dmlnames
[generic] 5473 24457 22.4% -lh5- da72 Aug 8 02:56 dmlnames-0.2/dmlnames.c
[generic] 1701 4164 40.9% -lh5- 5176 Aug 9 14:21 dmlnames-0.2/dmlnames.readme
[generic] 254 417 60.9% -lh5- efce Aug 8 02:58 dmlnames-0.2/Makefile
[generic] 373 626 59.6% -lh5- b9e8 Aug 8 02:51 dmlnames-0.2/Makefile.vbcc
[generic] 297 513 57.9% -lh5- 9f20 Aug 7 21:31 dmlnames-0.2/SMakefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 7 files 11381 35150 32.4% Aug 9 20:24
|
|
|
 |
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |