Jeff,<br><br>Thank you. That's what I needed to know. The only use of df that I knew was to get information on all mounted filesystems, such as df -h. You learn something new every day!<br><br>And you're correct, this is a very simple system without RAID or anything else you've described.<br>
<br>Thanks much, you just saved me hours of googleing for a simple question.<br><br>Josh Kite<br><br><br><div class="gmail_quote">2008/3/10 Jeff Lightner <<a href="mailto:jlightner@water.com">jlightner@water.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">df <filename></span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Should show you the filesystem information
for the file which would include the device on which you mounted. I gather
from what you wrote you're mounting partitions rather than using software
RAID metadisks, LVs or loopbacks.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Joshua Kite<br>
<b><span style="font-weight: bold;">Sent:</span></b> Monday, March 10, 2008 11:16
AM<br>
<b><span style="font-weight: bold;">To:</span></b> Atlanta Linux Enthusiasts<br>
<b><span style="font-weight: bold;">Subject:</span></b> [ale] File help</span></font></p>
</div><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hello all,<br>
<br>
I'm hoping that there's a simple answer to this question.<br>
<br>
Is there a command which identifies the physical drive on which a particular
file is located?<br>
<br>
Due to the way that my system has grown (and the fact that it's a home server
administered by me and not a professional), I have four drives hda1, hdb1,
hdc1, and hdd1. I may have /home/me mounted on hda1, but I may have
created an entry in fstab so that /home/me/somedirectory is actually mounted on
hdb1. I'm wondering if I can query a file in /home/me/somedirectory to
determine that it is on hdb1 without having to sift through fstab to figure out
where it is.<br>
<br>
Thank you for your help,<br>
<br>
Josh Kite</span></font></p>
</div></div></div>
</div>
<div style="font-size: 9pt; font-family: Courier New;">
<font face="Arial" size="2">----------------------------------<br>CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------<br></font>
</div></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br>