Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fixing swap1_stop
On Aug 14, 10:50am, idleroux%fastmail.fm@localhost ("Ian D. Leroux") wrote:
-- Subject: Re: Fixing swap1_stop
| Any preferences for a conveniently-parseable format? My first
| instinct is to simply drop the spacer words ("on", "type"),
| systematically shquote() the device and mount-point and space-separate
| the flags. That would look like:
|
| '/dev/wd0a' '/' ffs synchronous local
| 'tmpfs' '/var/shm' tmpfs nosuid local
The flags can be complicated (see source code)
| That's directly parseable in shell (first three fields are device, mount
| point and fstype, any leftovers are individual flags) and doesn't
| require the design of another date-style formatting language. Are there
| other, better ideas?
We can specify a format with % escapes for each field...
christos
Home |
Main Index |
Thread Index |
Old Index