LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-04-2007, 09:16 AM   #1
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Rep: Reputation: 30
Smile looking at the contents of a different drive


Sorry to be so bad at this after 2 years or so.

I have recently installed Deb 4 on a new physical disk (hdb1) and I also have hda1

I need to edit a file in etc/X11 on hdb1, but when i log in as root and issue

cd /etc/X11 I get to that directory on the hda.

How do i access the file on hdb1 in etc/X11 please?

Thanks
Greeb
 
Old 07-04-2007, 09:31 AM   #2
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Rep: Reputation: 31
Simple:

If not done already mound hdb1 then go to where you mount it for example:
Quote:
/mnt/hdb1
Then go to wherever you want. So you will be accessing something like:
Quote:
/mnt/hdb1/etc/X11
 
  


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
Firewire drive contents disappear davistv Linux - Hardware 5 12-16-2005 10:00 AM
Bought a hard drive on ebay and the contents of the drive are all ZZZZZZZZZZZZZZZZZZ abefroman General 4 08-13-2005 05:03 PM
See the contents of external hard drive... manudath Linux - Software 1 02-09-2005 02:45 AM
EZ-Drive Hard Drive -- Cannot Read Contents redhatman Linux - Newbie 3 09-02-2004 07:37 PM
viewing contents of CD drive aymbpc Linux - Newbie 2 08-31-2003 06:55 PM


All times are GMT -5. The time now is 08:51 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