LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2011, 02:50 PM   #1
newbielinuxoperator
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Unhappy Need to locate and display file but on another hard drive


Okay, I have to locate and display the findme file on an XFS file system but the file is located on a second hard drive. The hard drives area number sda1 and sdb1. I know to change a directory, you use the cd command but I cannot remember how to do it for another hard drive. I tried cd /dev/sdb1 but I know that is not correct. Please help!
Thanks!
 
Old 04-29-2011, 03:41 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
Quote:
Originally Posted by newbielinuxoperator View Post
Okay, I have to locate and display the findme file on an XFS file system but the file is located on a second hard drive. The hard drives area number sda1 and sdb1. I know to change a directory, you use the cd command but I cannot remember how to do it for another hard drive. I tried cd /dev/sdb1 but I know that is not correct. Please help!
Thanks!
You may just nead to mount the xfs partitions with something like...

Quote:
$ mount -t xfs /dev/sdb1 /mnt
Then use the df command to verify that it's mounted, the amount of space available, etc.

Once thats done, you can cd to /mnt and see the files on that partition.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Locate command to include the external hard drive jraclarke Linux - Newbie 4 02-10-2010 05:47 PM
please someone help me.. to locate my USB external hard drive haryoh Linux - Software 2 10-14-2005 11:20 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 03:24 PM
Display a text file from hard drive into a web page EgosZ Linux - Networking 6 04-04-2005 11:51 PM
Second hard drive won't display:( gamecat Mandriva 4 09-06-2004 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration