[comp.unix.aux] Make room! Make room!

davidl@intelob.intel.com (David Levine) (05/18/89)

This is probably a very common question, but I haven't seen an answer
on comp.unix.aux in the last month, so here goes...

The A/UX 80 Meg disk comes full of A/UX.  I want to wipe out some of
the less-useful parts of A/UX and repartition the disk so as to have
at least 30 Meg (preferably 40) of MacOS partition.

1. How do I back up A/UX to floppies?  tar?  dd?  (What, you think I'm
just going to throw that stuff away?  I PAID for it!  And I'm not
going to repartition my disk without a backup.)  Statements to the
effect that "You don't want to back up A/UX to floppies.  Get
<brandname> tape backup unit instead." would be helpful too.

2. What are some obvious candidates for deletion?  I will be the only
user on the system.

3. Once I have removed the desired amount of A/UX, can I repartition
the disk without having to initialize it and restore from backups?

4. How do I perform the partition?  Should I use Apple's HD SC Setup
or the A/UX dp (if that's what it's called) command?

I'm an experienced UNIX user (since 1983) and an experienced Mac user
(since 1984), but I've never administered a UNIX system.  Please help.

            David D. Levine                BBBBBBBBB  IIII IIII NNN  NNNN TM
        Senior Technical Writer            BBBB  BBBB iiii iiii NNNN NNNN
                                           BBBBBBBBB  IIII IIII NNNNNNNNN
UUCP: ...[!uunet]!tektronix!biin!davidl    BBBB  BBBB IIII IIII NNNN NNNN
MX-Internet: <davidl@intelob.intel.com>    BBBBBBBBB  IIII IIII NNNN  NNN
ARPA: <@iwarp.intel.com:davidl@intelob.intel.com>

chuq@Apple.COM (Chuq Von Rospach) (05/20/89)

>The A/UX 80 Meg disk comes full of A/UX.  I want to wipe out some of
>the less-useful parts of A/UX and repartition the disk so as to have
>at least 30 Meg (preferably 40) of MacOS partition.

>1. How do I back up A/UX to floppies?

I back up to floppy with cpio. To back up a directory structure, use:
	% find . -print | cpio -ovBF > /dev/rfloppy0

To recover the files again later, use:
	% cpio -ivdmu < /dev/rfloppy0

To see what's on the floppies, use:
	% cpio -it < /dev/rfloppy0

All of this is covered in the A/UX 1.1 Local System Administrator's manual,
page 4-17 to 4-19, except for the F flag. It will cause the sytem to format
the floppies before use, so you don't need to pre-format them (handy).

>2. What are some obvious candidates for deletion?  I will be the only
>user on the system.

The first things I normally kill are /usr/games and /usr/catman, unless you
don't have manuals handy or happen to rely on on-line man pages.

Other things to consider, with caveats (the list of caveats are not
necessarily complete, so don't take this as gospel. These are the things I
consider candidates, but they may not be appropriate for your work):

o /usr/dict if you don't use 'spell'
o /usr/spool/ftp if you don't allow incoming ftp.
o the stuff in /usr/lib/terminfo you don't need. 
o /usr/lib/dwb if you don't use Documenter's Workbench.
o /usr/lib/mac -- look through here for stuff you don't need.
o /usr/lib/libp -- profiled libraries.
o /etc/bind -- if you aren't using it.

>3. Once I have removed the desired amount of A/UX, can I repartition
>the disk without having to initialize it and restore from backups?

No. You can't change the size of a partition without rebuilding it from
scratch.

>4. How do I perform the partition?  Should I use Apple's HD SC Setup
>or the A/UX dp (if that's what it's called) command?

Use HD SC Setup. It's *much* cleaner and easier to use.


Chuq Von Rospach      =|=     Editor,OtherRealms     =|=     Member SFWA/ASFA
         chuq@apple.com   =|=  CI$: 73317,635  =|=  AppleLink: CHUQ
      [This is myself speaking. No company can control my thoughts.]

This is....The Voice....of USENET....in special English. 1300UTC on 11525. 

teb@sequoia.UUCP (Thomas E. Bernhard) (05/20/89)

In article <DAVIDL.89May18112619@intelob.intel.com> davidl@intelob.intel.com (David Levine) writes:
>This is probably a very common question, but I haven't seen an answer
>on comp.unix.aux in the last month, so here goes...
>
>The A/UX 80 Meg disk comes full of A/UX.  I want to wipe out some of
>the less-useful parts of A/UX and repartition the disk so as to have
>at least 30 Meg (preferably 40) of MacOS partition.
>
I did this with A/UX 1.0 had had significant trouble. I tried to get
smart and make the root and usr partition the same thus deleting the
user partition and us NFS to suffice for most of my /usr system. I've
had nothing but trouble. Any files requiring root access across the 
network don't work.

>2. What are some obvious candidates for deletion?  I will be the only
>user on the system.
>
The stack swap space can always be compromised but swap space should be
at least as big as memory as you have. Of course, you could try merging
the root and usr partitions.

>4. How do I perform the partition?  Should I use Apple's HD SC Setup
>or the A/UX dp (if that's what it's called) command?
>
You have to use Apple's HD SC Setup. Once you've repatitioned it is hard
to convince Unix to use the new partitions. You have to go through the motions
of making the partitions even though you've HD SC did it for you. 

All in all it is not worth your effort. It is easily justified given the
amount of work involved of buying an external hard disk for your MacOs work.
BTW, I was able to only free 23Megs for MacOs work :-(

--

   Tom Bernhard                 execu!teb@cs.utexas.edu
   Execucom Systems             (512) 346-4980
   Austin, Texas
-- 
   Tom Bernhard                 execu!teb@cs.utexas.edu
   Execucom Systems             (512) 346-4980
   Austin, Texas

dlw@hpsmtc1.HP.COM (David L. Williams) (05/22/89)

I've just ordered A/UX 1.1 to load onto my dataframe xp150. I also have a DPI
44meg cartridge drive. Is there any way to back up A/UX to cartridges? Is
there a driver out for the Syquest drives?

Thanks in advance

David