adding mfs /tmp - BSD

This is a discussion on adding mfs /tmp - BSD ; In a man fstab example I came across the entry for an mfs filesystem of "b" for /tmp which I currently use for swap. #/dev/sd0f /tmp ffs rw,nodev,nosuid 1 2 /dev/sd0b /tmp mfs rw,nodev,nosuid,-s=153600 0 0 I currently do not ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: adding mfs /tmp

  1. adding mfs /tmp

    In a man fstab example I came across the entry for an mfs filesystem of
    "b" for /tmp which I currently use for swap.

    #/dev/sd0f /tmp ffs rw,nodev,nosuid 1 2
    /dev/sd0b /tmp mfs rw,nodev,nosuid,-s=153600 0 0

    I currently do not have two drives or a scsi drive as shown in the
    example (I have a single drive of wd0) so my question is-is it ok to
    overload disklabel device "b" as in the following example:


    /dev/wd0b none swap sw 0 0
    /dev/wd0b /tmp mfs rw,nodev,nosuid,-s=102400 0 0




    TIA.


  2. Re: adding mfs /tmp

    On Fri, 05 Aug 2005 14:59:57 -0700, Inquiry wrote:

    > I currently do not have two drives or a scsi drive as shown in the
    > example (I have a single drive of wd0) so my question is-is it ok to
    > overload disklabel device "b" as in the following example:
    >
    >
    > /dev/wd0b none swap sw 0 0
    > /dev/wd0b /tmp mfs rw,nodev,nosuid,-s=102400 0 0


    Works OK for me like this:

    [log]# cat /etc/fstab
    /dev/wd0a / ffs rw,softdep 1 1
    /dev/wd0g /home ffs rw,nodev,nosuid,softdep 1 2
    /dev/wd0e /usr ffs rw,nodev,softdep 1 2
    /dev/wd0f /var ffs rw,nodev,nosuid,softdep 1 2
    /dev/wd0b /tmp mfs rw,-s=983040 0 0
    /dev/cd0a /cdrom cd9660 ro,noauto 0 0

    From top:

    Memory: Real: 110M/166M act/tot Free: 332M Swap: 0K/900M used/tot


  3. Re: adding mfs /tmp

    Thanks Dave.

    Until I get everything into one diff so that I can roll out systems
    quickly, I'm sort of averse to doing something that will take me down
    with my own stupidty!

    ;-)


    Sincerely,
    Tommy


  4. Re: adding mfs /tmp

    Inquiry wrote:
    ....
    > /dev/wd0b none swap sw 0 0
    > /dev/wd0b /tmp mfs rw,nodev,nosuid,-s=102400 0 0




    OK. The dev in this case just supllies format params for the mfs.

  5. Re: adding mfs /tmp

    "Inquiry" wrote in news:1123279197.015348.57860
    @g44g2000cwa.googlegroups.com:

    > In a man fstab example I came across the entry for an mfs filesystem of
    > "b" for /tmp which I currently use for swap.
    >
    > #/dev/sd0f /tmp ffs rw,nodev,nosuid 1 2
    > /dev/sd0b /tmp mfs rw,nodev,nosuid,-s=153600 0 0
    >
    > I currently do not have two drives or a scsi drive as shown in the
    > example (I have a single drive of wd0) so my question is-is it ok to
    > overload disklabel device "b" as in the following example:
    >
    >
    > /dev/wd0b none swap sw 0 0
    > /dev/wd0b /tmp mfs rw,nodev,nosuid,-s=102400 0 0


    You could also use the "swap" keyword

    swap /tmp mfs rw,nosuid,nodev,noatime,-s=65536,-f=512,-b=4096 0 0

  6. Re: adding mfs /tmp

    I'm going to have to do some homework. ;-)

    Thanks all.


+ Reply to Thread