Quand tu veux avoir mal à la tête, dès le matin :
for _ in /dev/sd?? /dev/mapper/* ; do (echo -ne "\n${_##*/} is mounted on") ; sed -rne "s/${_//\//\\\/} ([^ ]+).*/ \1/p" /proc/mounts ; done
Quand tu veux avoir mal à la tête, dès le matin :
for _ in /dev/sd?? /dev/mapper/* ; do (echo -ne "\n${_##*/} is mounted on") ; sed -rne "s/${_//\//\\\/} ([^ ]+).*/ \1/p" /proc/mounts ; done
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.