Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-15-2004, 04:57 AM   #1
LQ Newbie
Registered: Nov 2004
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
mount a subfolder of /hda2

I'm dual booting fc2 and XP. I can mount the root of these XP partitins no problem. I would however like to mount a few sub-folder (all my java and scheme files) from /dev/hda2/java and /dev/hda2/scheme to home/me/java etc.

Problem is, /hda2 is a file and not a directory so how can I mount it?

I tried to mount off another mount: /mnt/red and point it to my home folder.
red is the XP partition
mount /mnt/red/java /home/me/java
except it says the mount is not a block device

any thoughts?
Old 11-15-2004, 05:35 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I am not quite sure what you mean.

It sounds to meas if /dev/hda2 is already mounted and /java and /scheme are subfolder on this partition. In that case you should try to set a link in you home directory that points to those folders (see: man ln).

If those are compressed files, however, then may might be able to mount them with the loop option of mount (mount -o loop /dev/hda2/java /home/me/java)
Old 11-16-2004, 06:27 AM   #3
LQ Newbie
Registered: Nov 2004
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
yep ln is perfect


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
could not mount partition /dev/hda2 to mnt/ Doug.Gentry SUSE / openSUSE 5 04-05-2005 11:42 PM
Can mount hda1, but not hda2,3,4,5, or 6? Dobie Linux - Newbie 4 06-13-2004 05:37 PM
mount point for /dev/hda2 (my boot partition) annihilate Slackware - Installation 5 05-23-2004 04:38 AM
mount filesystems from hda1 and hda2 jhirshon Linux - Newbie 3 01-29-2004 01:05 PM
Can't mount hda2 thundersnows Slackware 7 09-09-2003 11:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 PM.

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