-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2018-02-09 at 17:16 -0500, Felix Miata wrote:
Carlos E. R. composed on 2018-02-09 2:10 (UTC+0100):
Felix Miata wrote:
Hence use of various "cheats", e.g.:
1-online upgrades instead of offline or fresh installation
Ah, I prefer offline upgrades. Online, if the system crashes or electricity fails, you may be doomed.
You might, but not here. "commit.downloadMode = DownloadAsNeeded" plus UPS do well enough avoiding any such trouble, proven over many moons via lots of TW installations.
I doubt that the 15 minutes granted by the typical UPS would be enough to finish the install, even if the network survives the power failure. The telco hardware in my house doesn't have batteries, I had to install an UPS of my own there.
2-fresh installs using Grub instead of conventional boot media, copying and editing as required, an appropriate previously used stanza for the purpose and saved somewhere on the LAN.
Hum.
Is that a question?
Thinking noise :-)
3-alias Mnt='mount | egrep -v "cgroup|rpc|tmpfs|^sys|on /dev|on /proc|on /sys|on /var" | sort '
Ah! I like this one. Let me try... Nice!
I'd have to add, ie remove, gvfsd-fuse and vmware-vmblock.
What is the "|on" for?
Other than preventing display of filesystems I have no interest in seeing listed, I don't remember.
Hum. I'll have to try without and see what happens. [...] Without the "|on" it doesn't work. debugfs on /sys/kernel/debug type debugfs (rw,relatime) ^^
See this in man mount:
Listing the mounts The listing mode is maintained for backward compatibility only.
For more robust and customizable output use findmnt(8), especially in your scripts. Note that control characters in the mountpoint name are replaced with '?'.
I don't see any options directing it to emulate my alias. -D is almost close, including *tmpfs, which is always 0% use and not filesystems on /dev/sd*.
No, I did not say that it displays the same thing. It doesn't. Just that it is a very intersting command for displaying the mounts - and I only used the default command with no options. I see options to display only certain filesystem types, but here it would be insteresting to not display certain types. Wait, there is, the word "no": -O, --options list Limit the set of printed filesystems. More than one option may be specified in a comma-separated list. The -t and -O options are cumulative in effect. It is different from -t in that each option is matched exactly; a leading no at the beginning does not have global meaning. The "no" can used for individual items in the list. The "no" prefix interpretation can be disabled by "+" prefix. -t, --types list Limit the set of printed filesystems. More than one type may be specified in a comma-separated list. The list of filesystem types can be prefixed with no to specify the filesystem types on which no action should be taken. For more details see mount(8). cer@Telcontar:~> findmnt -t no cgroup TARGET SOURCE FSTYPE OPTIONS /sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd /sys/fs/cgroup/hugetlb cgroup cgroup So it is not that way. Ah, it is "-t nocgroup". [...] Try: findmnt -t nocgroup,nosysfs,notmpfs,nosecurityfs,nodevtmpfs,nodebugfs,nodevpts,nomqueue,nohugetlbfs,nobinfmt_misc,noproc,noconfigfs,nopstore,notracefs - -- Cheers, Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlp+0AsACgkQtTMYHG2NR9VvvwCePidqZWcaftlSW/+/9bWTi22B 5hYAn13cRCVcsLTQNWhNJOjt3eHVhmes =PWZ5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org