LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-09-2004, 04:40 PM   #1
mimsmall
Member
 
Registered: Dec 2003
Location: FL
Distribution: Fedora
Posts: 79

Rep: Reputation: 15
Angry Accessing files on hdb from hda


I've googled this thing to death. hdb is mounted. I just want to edit a file on hdb from hda and send it back. It seems to me a simple enough task. It is not included on my RH8 documentation disk or my RH8 Complete Reference 885 pg manual.
 
Old 02-09-2004, 04:42 PM   #2
mimsmall
Member
 
Registered: Dec 2003
Location: FL
Distribution: Fedora
Posts: 79

Original Poster
Rep: Reputation: 15
Sorry, I got it backwards. It's on hda from hdb.
 
Old 02-09-2004, 05:09 PM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
(Sorry, I'm still a tad confused between the disks)

If it's a local disk, can you not just mount it? If a simple 'mount /dev/hda /mnt/mntpoint' wont work., 'man mount' for other options.

If the disk is on another computer in your network, try and smb mount it.

'smbmount //zion/kristijan /mnt/samba -o username=root,password=<password>,fmask=777,dmask=777'

That's what I use to mount a disk that is on my other PC. I'm not sure if it's really safe to mount it as root, but it seems to work fine with me.

Good Luck.
 
Old 02-10-2004, 10:15 AM   #4
mimsmall
Member
 
Registered: Dec 2003
Location: FL
Distribution: Fedora
Posts: 79

Original Poster
Rep: Reputation: 15
Here is what worked for me: emacs /dev/hdb2 /etc/X11/XF86Config After editing I saved it to my /home then cp /home/XF86Config /dev/hdb2 I was asked for an over write, I clicked yes. I then did the emacs stuff again to see if the edited file made it to the right place and it did.
Thanks to everyone in the different forums that helped me.
 
Old 02-10-2004, 12:43 PM   #5
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Put a line like

/dev/hdb1 /mnt/data vfat user,users,umask=0 0 0

in your fstab file, just change what you need. You do have a mount point right? Just make a folder in the /mnt folder.

Last edited by Edward78; 02-10-2004 at 12:44 PM.
 
  


Reply



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
transfering files from xp on hda to fc2 on hdb. dr_zayus69 Linux - Hardware 2 01-31-2005 06:44 AM
tried to move files from hdb to hda... sirpelidor Linux - Newbie 2 01-16-2004 02:44 AM
cfdisk hdb instead of hda deceasedcomrade Slackware 1 11-20-2003 09:22 PM
moving hdb to hda linux inside Linux - Software 2 08-13-2003 04:57 PM
moving the HD from hdb to hda NGraphiX Linux - General 2 10-07-2002 04:23 PM

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

All times are GMT -5. The time now is 01:49 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
Open Source Consulting | Domain Registration