[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] swapon: add -e/--ifexists option
From: |
Pino Toscano |
Subject: |
[PATCH] swapon: add -e/--ifexists option |
Date: |
Sat, 28 Jan 2012 23:18:24 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.1.0-1-amd64; KDE/4.6.5; x86_64; ; ) |
Hi,
I implemented in swapon the -e/--ifexists option close as to what's in
util-linux' swapon. It basically ignores unexisting devices/files when
doing `swapon -a`, i.e. only for the devices found in fstab (not for the
ones passed as arguments to `swapon'.
What do you think?
Could it be making our tools like swapon/mount/etc a bit more compatible
(in term of command line options) with the other OSes' ones a (low
priority) goal?
--
Pino Toscano
0001-swapon-add-e-ifexists-option.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
- [PATCH] swapon: add -e/--ifexists option,
Pino Toscano <=