<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[mount und Übergabe an c++]]></title><description><![CDATA[<p>Dieses erfolgt mit</p>
<pre><code>mount
</code></pre>
<blockquote>
<p>/dev/sda16 on / type ext4 (rw,errors=remount-ro)<br />
proc on /proc type proc (rw,noexec,nosuid,nodev)<br />
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br />
none on /sys/fs/cgroup type tmpfs (rw)<br />
none on /sys/fs/fuse/connections type fusectl (rw)<br />
none on /sys/kernel/debug type debugfs (rw)<br />
none on /sys/kernel/security type securityfs (rw)<br />
udev on /dev type devtmpfs (rw,mode=0755)<br />
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)<br />
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)<br />
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)<br />
none on /run/shm type tmpfs (rw,nosuid,nodev)<br />
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)<br />
none on /sys/fs/pstore type pstore (rw)<br />
tmpfs on /media/ramdisk type tmpfs (rw,size=1G)<br />
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)<br />
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)<br />
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)</p>
</blockquote>
<p>im Terminal, wie kann ich das mit c++ einlesen?<br />
Wichtigster Bestandteil ist die erste Zeile &gt;&gt;&gt; /dev/sda16 , der Rest soll ignoriert oder wegeschnitten werden!<br />
Wichtig ist ausserdem, sda16 ist variabel und kann z.B sdb16 heissen.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/329866/mount-und-übergabe-an-c</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 18:51:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/329866.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Dec 2014 12:39:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 12:39:19 GMT]]></title><description><![CDATA[<p>Dieses erfolgt mit</p>
<pre><code>mount
</code></pre>
<blockquote>
<p>/dev/sda16 on / type ext4 (rw,errors=remount-ro)<br />
proc on /proc type proc (rw,noexec,nosuid,nodev)<br />
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br />
none on /sys/fs/cgroup type tmpfs (rw)<br />
none on /sys/fs/fuse/connections type fusectl (rw)<br />
none on /sys/kernel/debug type debugfs (rw)<br />
none on /sys/kernel/security type securityfs (rw)<br />
udev on /dev type devtmpfs (rw,mode=0755)<br />
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)<br />
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)<br />
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)<br />
none on /run/shm type tmpfs (rw,nosuid,nodev)<br />
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)<br />
none on /sys/fs/pstore type pstore (rw)<br />
tmpfs on /media/ramdisk type tmpfs (rw,size=1G)<br />
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)<br />
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)<br />
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)</p>
</blockquote>
<p>im Terminal, wie kann ich das mit c++ einlesen?<br />
Wichtigster Bestandteil ist die erste Zeile &gt;&gt;&gt; /dev/sda16 , der Rest soll ignoriert oder wegeschnitten werden!<br />
Wichtig ist ausserdem, sda16 ist variabel und kann z.B sdb16 heissen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432336</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432336</guid><dc:creator><![CDATA[Mister C++]]></dc:creator><pubDate>Thu, 11 Dec 2014 12:39:19 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 12:50:17 GMT]]></title><description><![CDATA[<p>Ich empfehle Dir, vollständige deutsche Sätze zu schreiben und mit einer klaren Frage abzuschliessen. Man kann erahnen, was Du willst aber so viel Zeit sollte von Deiner Seite aufgewendet werden.</p>
<p>Ansonsten schaust Du Dir die Funktion popen(3) an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432337</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432337</guid><dc:creator><![CDATA[besserwisser]]></dc:creator><pubDate>Thu, 11 Dec 2014 12:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 12:57:26 GMT]]></title><description><![CDATA[<p>Mit der Suchfunktion dieses Forums , Suchbegriff popen(3)</p>
<blockquote>
<p>Keine Beiträge entsprechen Ihren Kriterien.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2432338</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432338</guid><dc:creator><![CDATA[Mister C++]]></dc:creator><pubDate>Thu, 11 Dec 2014 12:57:26 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 13:01:27 GMT]]></title><description><![CDATA[<p>man könnte auf einem Betriebssystem mit /proc support auch die Datei /proc/mounts öffnen und dort Zeilenweise einlesen.</p>
<p>Vorausgesetzt das er das will. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432339</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432339</guid><dc:creator><![CDATA[simbad]]></dc:creator><pubDate>Thu, 11 Dec 2014 13:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 13:02:13 GMT]]></title><description><![CDATA[<p>Mister C++ schrieb:</p>
<blockquote>
<p>Mit der Suchfunktion dieses Forums , Suchbegriff popen(3)</p>
<blockquote>
<p>Keine Beiträge entsprechen Ihren Kriterien.</p>
</blockquote>
</blockquote>
<p>man 3 popen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432340</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432340</guid><dc:creator><![CDATA[simbad]]></dc:creator><pubDate>Thu, 11 Dec 2014 13:02:13 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 13:11:15 GMT]]></title><description><![CDATA[<blockquote>
<p>man 3 popen</p>
</blockquote>
<p>Die manpages von Ubuntumate 14.04.1 (64 Bit) helfen mir hier nicht!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432342</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432342</guid><dc:creator><![CDATA[Mister C++]]></dc:creator><pubDate>Thu, 11 Dec 2014 13:11:15 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 13:26:45 GMT]]></title><description><![CDATA[<p>Die man pages zu popen sind glaube ich überall gleich.</p>
<p>Wenn dir popen nicht hilft solltest du wirklich nochmal genauer spezifizieren was du eigentlich machen willst.<br />
Der Grund warum popen als erste Idee geliefert wurde war die Annahme das du den Output eines Kommandos irgendwie bearbeiten möchtest. Dazu benutzt man popen. Steht übrigens auch in der Beschreibung der Funktion.</p>
<p>Also was möchtest du genau?<br />
Warum ist popen nicht das was du brauchst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432344</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432344</guid><dc:creator><![CDATA[simbad]]></dc:creator><pubDate>Thu, 11 Dec 2014 13:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 13:33:21 GMT]]></title><description><![CDATA[<p>Ah ja popen ist überall gleich!?</p>
<p>Ich möchte mit g++ systemcommand programmieren.<br />
Dazu will ich den Ubuntu Terminalbefehl mount nutzen.<br />
Die Ausgabe des commandos soll umgeleitet werden damit der c++ code diesen auswerten kann, dzu sollen die unwichtigen Bestandteile entweder ignoriert oder geschnitten werden, im folgenden soll der geschnittene Bestandteil mit einem systemcommando, das im c++ code steckt weitergereicht werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432345</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432345</guid><dc:creator><![CDATA[Mister C++]]></dc:creator><pubDate>Thu, 11 Dec 2014 13:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Thu, 11 Dec 2014 14:02:02 GMT]]></title><description><![CDATA[<p>Super.<br />
Dann benutze popen. Oder öffne die Datei /proc/mounts und liess die Daten von dort. Der Inhalt ist weitgehend identisch. Der Befehl mount, der nicht nur bei Ubuntu mount heisst sondern auch auf vielen anderen unix ähnlichen Systemen, macht auf einem Linux System im allgemeinen nichts anderes.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432349</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432349</guid><dc:creator><![CDATA[simbad]]></dc:creator><pubDate>Thu, 11 Dec 2014 14:02:02 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Fri, 12 Dec 2014 05:19:04 GMT]]></title><description><![CDATA[<blockquote>
<p>Dann benutze popen. Oder öffne die Datei /proc/mounts und liess die Daten von dort.</p>
</blockquote>
<p>Das ist mir nicht klar. Und beschreibt eine andere Lösung.<br />
Poste doch bitte ein Beispiel, das ich nachvollziehen kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432424</guid><dc:creator><![CDATA[Mister C++]]></dc:creator><pubDate>Fri, 12 Dec 2014 05:19:04 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Fri, 12 Dec 2014 07:18:20 GMT]]></title><description><![CDATA[<p>Mach doch einfach was Dir gesagt wird. &quot;Poste ein Beispiel&quot; = &quot;Mach meine Arbeit, ich kann nur abschreiben.&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432441</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432441</guid><dc:creator><![CDATA[SG1]]></dc:creator><pubDate>Fri, 12 Dec 2014 07:18:20 GMT</pubDate></item><item><title><![CDATA[Reply to mount und Übergabe an c++ on Fri, 12 Dec 2014 09:02:50 GMT]]></title><description><![CDATA[<p>Mister C++ schrieb:</p>
<blockquote>
<blockquote>
<p>Dann benutze popen. Oder öffne die Datei /proc/mounts und liess die Daten von dort.</p>
</blockquote>
<p>Das ist mir nicht klar. Und beschreibt eine andere Lösung.<br />
Poste doch bitte ein Beispiel, das ich nachvollziehen kann.</p>
</blockquote>
<p>Nö.<br />
Es gibt im Internet bestimmt 1 Million Beispiele wie man popen verwendet. Da muss ich nicht das 1 Million und erste hinzufügen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2432462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2432462</guid><dc:creator><![CDATA[simbad]]></dc:creator><pubDate>Fri, 12 Dec 2014 09:02:50 GMT</pubDate></item></channel></rss>