mkfs, hda1, and /usr/local

mkfs, hda1, and /usr/local

Post by Peter Thatche » Sun, 31 Dec 1899 09:00:00




>I have received excellent help from you gurus in the past, and I'm
>dipping into the well once more...

>I have a 775M drive. Total.
>/dev/hda1 is FAT  -- 250M
>/dev/hda2 is Swap --  32M
>/dev/hda3 is ext2 -- the rest.

>So I'm running low on ext2 space.

>I know I can convert /hda1 to ext2 with mkfs, and I am ready to do that.
>(There's nothing on it I want to keep, BTW.)

>BUT...
>I would like to attach /hda1 as /usr/local, which already exists as a
>subdirectory of /hda3.

>IF I have room (and I do)
>CAN I: copy the contents of /usr/local to /hda1 (currently mounted at a
>/dos mount point), delete the contents of /usr/local, and then set
>/dev/hda1 to mount at the /usr/local mount point?

>What think you folks?
>Will this work?

>thanx--
>james carpenter

>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.

Yes, you can do all of that.  Just make sure that:
1) You make your FAT partition into ext2 partition Before copying files over.  
2) Copy the files over and make sure that you can mount and use /usr/local
Before you delete the old one.
3) Use the correct cp.  Read the man page.  I think 'cp -a' will give you what
you want.
 
 
 

1. mkfs, hda1, and /usr/local

I have received excellent help from you gurus in the past, and I'm
dipping into the well once more...

I have a 775M drive. Total.
/dev/hda1 is FAT  -- 250M
/dev/hda2 is Swap --  32M
/dev/hda3 is ext2 -- the rest.

So I'm running low on ext2 space.

I know I can convert /hda1 to ext2 with mkfs, and I am ready to do that.
(There's nothing on it I want to keep, BTW.)

BUT...
I would like to attach /hda1 as /usr/local, which already exists as a
subdirectory of /hda3.

IF I have room (and I do)
CAN I: copy the contents of /usr/local to /hda1 (currently mounted at a
/dos mount point), delete the contents of /usr/local, and then set
/dev/hda1 to mount at the /usr/local mount point?

What think you folks?
Will this work?

thanx--
james carpenter

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

2. job opportunity

3. move /usr/local from hdb1 to hda1?

4. Clean your PC properly - 002muhb6qjeq2 rj9kxs y

5. Tell "configure" to use /usr/local/lib/sparcv9/ instead of /usr/local/lib/

6. Spell emulator

7. ln /usr/local /newDrive/usr/local ?

8. Large windows in KDE in 800 x 600

9. /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls

10. Can I just mkfs /dev/hda1(dos)?

11. /usr/local/bin/perl ->/usr/bin/perl

12. Do you use /usr/contrib, or only /usr/local?

13. "/usr" versus "/usr/local"