Hi team,

I played about with manually allocating /var/tmp in a 5.7 install.

Twice tar has complained when installing from local disk with:
 < 512Mb /tmp
 > 512Mb /var/tmp

I dunno if it's anything to worry about.

Here's hoping a script(1) log doesn't bugger up this mail formatting...:



Script started on Sat Aug 29 06:34:03 2015
$ tip palm
connected
>> OpenBSD/i386 BOOT 3.26

boot> boot /bsd.rd.57
...
..
.

Welcome to the OpenBSD/i386 5.7 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? I
...
..
.
Use (W)hole disk, use the (O)penBSD area, or (E)dit the MBR? [OpenBSD] W
Setting OpenBSD MBR partition to whole wd0...done.
...
..
.
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] C
...
..
.
Label editor (enter '?' for help at any prompt)
> z
...
..
.
> p M
OpenBSD area: 64-160071660; size: 78160.0M; free: 1153.1M
#                size           offset  fstype [fsize bsize  cpg]
  a:           101.9M               64  4.2BSD   2048 16384    1 # /
  b:           494.2M           208832    swap                   
  c:         78167.2M                0  unused                   
  d:           102.0M          1220960  4.2BSD   2048 16384    1 # /var
  e:            94.1M          1429760  4.2BSD   2048 16384    1 # /var/log
  f:            94.1M          1622560  4.2BSD   2048 16384    1 # /tmp
  g:           243.2M          1815328  4.2BSD   2048 16384    1 # /usr
  h:           517.7M          2313344  4.2BSD   2048 16384    1 # /usr/local
  i:            94.1M          3373632  4.2BSD   2048 16384    1 # /home
  j:           517.7M          3566400  4.2BSD   2048 16384    1 # /var/tmp
  k:          5122.3M          4626720  4.2BSD   2048 16384    1 # /var/www
  l:         69625.5M         15117152  4.2BSD   2048 16384    1 # 
/var/spool/postfix
> w
> q
No label changes.
/dev/rwd0a: 101.9MB in 208768 sectors of 512 bytes
4 cylinder groups of 25.48MB, 1631 blocks, 3328 inodes each
/dev/rwd0i: 94.1MB in 192768 sectors of 512 bytes
4 cylinder groups of 23.53MB, 1506 blocks, 3072 inodes each
/dev/rwd0f: 94.1MB in 192768 sectors of 512 bytes
4 cylinder groups of 23.53MB, 1506 blocks, 3072 inodes each
newfs: reduced number of fragments per cylinder group from 31120 to 30992 to 
enlarge last cylinder group
/dev/rwd0g: 243.2MB in 498016 sectors of 512 bytes
5 cylinder groups of 60.53MB, 3874 blocks, 7808 inodes each
newfs: reduced number of fragments per cylinder group from 66264 to 66000 to 
enlarge last cylinder group
/dev/rwd0h: 517.7MB in 1060288 sectors of 512 bytes
5 cylinder groups of 128.91MB, 8250 blocks, 16512 inodes each
newfs: reduced number of fragments per cylinder group from 13048 to 12992 to 
enlarge last cylinder group
/dev/rwd0d: 102.0MB in 208800 sectors of 512 bytes
5 cylinder groups of 25.38MB, 1624 blocks, 3328 inodes each
newfs: reduced number of fragments per cylinder group from 12048 to 11992 to 
enlarge last cylinder group
/dev/rwd0e: 94.1MB in 192800 sectors of 512 bytes
5 cylinder groups of 23.42MB, 1499 blocks, 3072 inodes each
/dev/rwd0l: 69625.5MB in 142592928 sectors of 512 bytes
344 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
newfs: reduced number of fragments per cylinder group from 66264 to 66000 to 
enlarge last cylinder group
/dev/rwd0j: 517.7MB in 1060320 sectors of 512 bytes
5 cylinder groups of 128.91MB, 8250 blocks, 16512 inodes each
/dev/rwd0k: 5122.3MB in 10490432 sectors of 512 bytes
26 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
Available disks are: wd1.
Which disk do you wish to initialize? (or 'done') [done] 
/dev/wd0a (364eb89ee13fc5c7.a) on /mnt type ffs (rw, asynchronous, local)
/dev/wd0i (364eb89ee13fc5c7.i) on /mnt/home type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/wd0f (364eb89ee13fc5c7.f) on /mnt/tmp type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/wd0g (364eb89ee13fc5c7.g) on /mnt/usr type ffs (rw, asynchronous, local, 
nodev)
/dev/wd0h (364eb89ee13fc5c7.h) on /mnt/usr/local type ffs (rw, asynchronous, 
local, nodev)
/dev/wd0d (364eb89ee13fc5c7.d) on /mnt/var type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/wd0e (364eb89ee13fc5c7.e) on /mnt/var/log type ffs (rw, asynchronous, 
local, nodev, nosuid)
/dev/wd0l (364eb89ee13fc5c7.l) on /mnt/var/spool/postfix type ffs (rw, 
asynchronous, local, nodev, nosuid)
/dev/wd0j (364eb89ee13fc5c7.j) on /mnt/var/tmp type ffs (rw, asynchronous, 
local, nodev, nosuid)
/dev/wd0k (364eb89ee13fc5c7.k) on /mnt/var/www type ffs (rw, asynchronous, 
local, nodev, nosuid)

Let's install the sets!
Location of sets? (cd disk http or 'done') [disk] 
Is the disk partition already mounted? [no] 
Available disks are: wd0 wd1.
Which disk contains the install media? (or 'done') [wd1] 
  a:           208768               64  4.2BSD   2048 16384    1 
  b:          1012108           208832  4.2BSD   2048 16384    1 
  d:        631450816          1220992  4.2BSD   4096 32768    1 
Available wd1 partitions are: a b d.
Which wd1 partition has the install sets? (or 'done') [a] d
Pathname to the sets? (or 'done') [5.7/i386] 
restored/var/www/sites/mirror/pub/OpenBSD/5.7/i386

...
..
.
Set name(s)? (or 'abort' or 'done') [done] 
Verifying  SHA256.sig   100% |**************************|  1888       00:00    
Signature Verified
Verifying  bsd          100% |**************************| 10348 KB    00:01    
Verifying  bsd.rd       100% |**************************|  6803 KB    00:01    
Verifying  base57.tgz   100% |**************************| 51618 KB    00:09    
Verifying  man57.tgz    100% |**************************|  8773 KB    00:01    
Verifying  game57.tgz   100% |**************************|  2651 KB    00:00    
Installing bsd          100% |**************************| 10348 KB    00:00    
Installing bsd.rd       100% |**************************|  6803 KB    00:00    
Installing base57.tgz    98% |************************* | 50944 KB    00:00 
ETAtar: Unable to remove directory ./var/tmp: Device busy
Installing base57.tgz   100% |**************************| 51618 KB    00:32    
Extracting etc.tgz      100% |**************************|   110 KB    00:00    
Installing man57.tgz    100% |**************************|  8773 KB    00:07    
Installing game57.tgz   100% |**************************|  2651 KB    00:01    
Location of sets? (cd disk http or 'done') [done] 
Saving configuration files...done.
Making all device nodes...done.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.

# mount
/dev/rd0a on / type ffs (local)
/dev/wd0a on /mnt type ffs (asynchronous, local)
/dev/wd0i on /mnt/home type ffs (asynchronous, local, nodev, nosuid)
/dev/wd0f on /mnt/tmp type ffs (asynchronous, local, nodev, nosuid)
/dev/wd0g on /mnt/usr type ffs (asynchronous, local, nodev)
/dev/wd0h on /mnt/usr/local type ffs (asynchronous, local, nodev)
/dev/wd0d on /mnt/var type ffs (asynchronous, local, nodev, nosuid)
/dev/wd0e on /mnt/var/log type ffs (asynchronous, local, nodev, nosuid)
/dev/wd0l on /mnt/var/spool/postfix type ffs (asynchronous, local, nodev, 
nosuid)
/dev/wd0j on /mnt/var/tmp type ffs (asynchronous, local, nodev, nosuid)
/dev/wd0k on /mnt/var/www type ffs (asynchronous, local, nodev, nosuid)
# ls -lAF /mnt
total 34628
-rw-r--r--   1 root  wheel       578 Mar  8 16:51 .cshrc
-rw-r--r--   1 root  wheel       468 Mar  8 16:51 .profile
drwxr-xr-x   2 root  wheel       512 Mar  8 16:51 altroot/
drwxr-xr-x   2 root  wheel      1024 Mar  8 16:52 bin/
-rw-r--r--   1 root  wheel     71452 Aug 29 05:50 boot
-rw-r--r--   1 root  wheel  10596471 Aug 29 05:49 bsd
-rw-r--r--   1 root  wheel   6966502 Aug 29 05:49 bsd.rd
drwxr-xr-x   3 root  wheel     19456 Aug 29 05:50 dev/
drwxr-xr-x  20 root  wheel      1536 Aug 29 05:50 etc/
drwxr-xr-x   2 root  wheel       512 Mar  8 16:51 home/
drwxr-xr-x   2 root  wheel       512 Mar  8 16:51 mnt/
drwx------   2 root  wheel       512 Aug 29 05:49 root/
drwxr-xr-x   2 root  wheel      1536 Mar  8 16:52 sbin/
drwxrwxrwt   2 root  wheel       512 Mar  8 16:51 tmp/
drwxr-xr-x  15 root  wheel       512 Mar  8 16:51 usr/
drwxr-xr-x  21 root  wheel       512 Mar  8 16:51 var/
# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/rd0a      1.8M    1.5M    230K    87%    /
/dev/wd0a      100M   42.5M   52.7M    45%    /mnt
/dev/wd0i     92.5M    2.0K   87.9M     0%    /mnt/home
/dev/wd0f     92.5M    2.0K   87.9M     0%    /mnt/tmp
/dev/wd0g      238M    170M   56.1M    75%    /mnt/usr
/dev/wd0h      508M    216K    482M     0%    /mnt/usr/local
/dev/wd0d     99.7M    232K   94.5M     0%    /mnt/var
/dev/wd0e     92.1M    4.0K   87.5M     0%    /mnt/var/log
/dev/wd0l     66.9G    2.0K   63.6G     0%    /mnt/var/spool/postfix
/dev/wd0j      508M    2.0K    482M     0%    /mnt/var/tmp
/dev/wd0k      4.9G    1.2M    4.7G     0%    /mnt/var/www
# halt
syncing disks... done


The operating system has halted.

Please press any key to reboot.


~
[EOT]
$ exit

Script done on Sat Aug 29 06:54:40 2015
-- 
Sun Microsystems Scottish factory:
http://twitter.com/Craig_Skinner/status/637552953264619520

Reply via email to