<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Как узнать на каком диске или в каком разделе лежит файл?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=19842&amp;type=atom" />
	<updated>2012-01-29T17:44:12Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=19842</id>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246902#p246902" />
			<content type="html"><![CDATA[<p>Всем спасибо!</p>]]></content>
			<author>
				<name><![CDATA[bubuntolog]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13284</uri>
			</author>
			<updated>2012-01-29T17:44:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246902#p246902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246893#p246893" />
			<content type="html"><![CDATA[<p>по теме, команда<br /> stat /home/doc/tmp/<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$&nbsp; Файл: «/home/doc/tmp/»<br />&nbsp; Размер: 4096&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Блоков: 8&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Блок В/В: 4096&nbsp; &nbsp;каталог<br />Устройство: <span class="bbu"><strong>807</strong></span>h/2055d&nbsp; &nbsp; Inode: 3156492&nbsp; &nbsp; &nbsp;Ссылки: 4<br />Доступ: (0755/drwxr-xr-x)&nbsp; Uid: ( 1000/&nbsp; &nbsp; &nbsp;doc)&nbsp; &nbsp;Gid: (&nbsp; 100/&nbsp; &nbsp;users)<br />Доступ: 2012-01-29 04:41:32.517002315 +0400<br />Модифицирован: 2012-01-28 00:04:28.490482038 +0400<br />Изменён: 2012-01-28 00:04:28.490482038 +0400<br /> Создан: -<br /></div><br />выдаёт старший и младший номер девайса, у меня это 8 и 07. А команда<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ ls -l /dev/sda7<br />brw-rw---- 1 root disk <span class="bbu">8</span>, <span class="bbu">7</span> Янв 29 12:35 /dev/sda7<br /></div><br />тоже выдаёт эти номера, но уже для самого девайса.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2012-01-29T16:09:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246893#p246893</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246892#p246892" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>не говоря уже о непонятках ссылками...</p></blockquote></div><p>непонятки со ссылками решает <strong>readlink -f</strong></p><p>но вы занимаетесь ерундой:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ df /home/doc/tmp/<br />Файловая система Тип&nbsp; Размер Использовано&nbsp; Дост Использовано% Cмонтировано в<br />/dev/sda7&nbsp; &nbsp; &nbsp; &nbsp; ext4&nbsp; &nbsp; 85G&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 64G&nbsp; &nbsp;21G&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;76% /home<br /></div> <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2012-01-29T15:58:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246892#p246892</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246844#p246844" />
			<content type="html"><![CDATA[<p><strong>bubuntolog</strong>, <strong>mount</strong> покажет что-куда примонтировано... а дальше используется /dev/brain...<br />или в скрипте надо узнать? тогда, наверное, придётся самому парсить вывод mount... не говоря уже о непонятках ссылками...</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-01-29T11:02:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246844#p246844</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246841#p246841" />
			<content type="html"><![CDATA[<p>Ну вернее не сами папки, а файлы в этих папках.</p>]]></content>
			<author>
				<name><![CDATA[bubuntolog]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13284</uri>
			</author>
			<updated>2012-01-29T10:53:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246841#p246841</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246840#p246840" />
			<content type="html"><![CDATA[<p><strong>Samath</strong></p><p>А где там раздел написан? </p><p>Вот зашёл в файловую систему и вижу там 20 папок. Хочу знать где какая. Где boot, bin, sbin и другие?</p>]]></content>
			<author>
				<name><![CDATA[bubuntolog]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13284</uri>
			</author>
			<updated>2012-01-29T10:50:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246840#p246840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246839#p246839" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>bubuntolog пишет:</cite><blockquote><p>т.е. просто в гноме посмотреть нельзя, где-нибудь в свойствах?</p></blockquote></div><br /><p>Правой кнопкой по папке/файлу -&gt; свойства -&gt; Адрес.</p>]]></content>
			<author>
				<name><![CDATA[Samath]]></name>
				<uri>https://linuxforum.ru/profile.php?id=768</uri>
			</author>
			<updated>2012-01-29T10:44:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246839#p246839</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246837#p246837" />
			<content type="html"><![CDATA[<p>т.е. просто в гноме посмотреть нельзя, где-нибудь в свойствах?</p>]]></content>
			<author>
				<name><![CDATA[bubuntolog]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13284</uri>
			</author>
			<updated>2012-01-29T10:27:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246837#p246837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246834#p246834" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>bubuntolog пишет:</cite><blockquote><p>Я его уже нашел и хочу знать где он лежит.</p></blockquote></div><p>Находясь в каталоге, где нашли файл, введите<br /></p><div class="codebox"><pre><code>pwd</code></pre></div><p>увидите полный путь к этому каталогу.<br />Дальше команду <em>mount</em> и немного логики, чтобы понять, где расположен файл.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-01-29T10:06:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246834#p246834</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246833#p246833" />
			<content type="html"><![CDATA[<p>Мне не нужно искать. Я его уже нашел и хочу знать где он лежит. В каком разделе. Если вы использовали винду, то там полный адрес начинается с буквы диска.</p>]]></content>
			<author>
				<name><![CDATA[bubuntolog]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13284</uri>
			</author>
			<updated>2012-01-29T10:00:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246833#p246833</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246831#p246831" />
			<content type="html"><![CDATA[<p><strong>bubuntolog</strong>, не совсем понял суть вопроса, однако:<br />- если нужно найти файл в системе в реальном времени, то <em>man find</em>;<br />- если нужно искать быстро, но по ранее созданному индексу, то <strong>locate</strong> или её улучшенный вариант <strong>mlocate</strong>.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-01-29T09:56:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246831#p246831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Как узнать на каком диске или в каком разделе лежит файл?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=246830#p246830" />
			<content type="html"><![CDATA[<p>Например, Debian, Gnom. <br />При установке сам разбил диск на пять разделов. Где можно смотреть физическое месторасположение файла?</p>]]></content>
			<author>
				<name><![CDATA[bubuntolog]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13284</uri>
			</author>
			<updated>2012-01-29T09:44:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=246830#p246830</id>
		</entry>
</feed>
