Mount and Unmount

D. Lam lam.dna at gmail.com
Thu Aug 30 21:30:23 UTC 2007


Perhaps he wants a ramdisk?
If so, add this to /etc/fstab:
/dev/ram        /media/ramdisk  tmpfs,user  rw 0 0


On 8/30/07, Marc Rios <marcrios84 at gmail.com> wrote:
> A little question, why you want to 'mount' or 'unmount' swap?????
>
>
> 2007/8/30, Mario Vukelic <mario.vukelic at dantian.org>:
>
> >
> > On Thu, 2007-08-30 at 22:07 +0200, Nils Kassube wrote:
> > > Right - and the command needs to know which device you want to
> > > enable / disable.
> >
> > But usually then don't need to be specified on the command line. The
> > manpage you quoted says:
> >
> > Normally, the first form is used [swapon -a]
> >
> > -a: All  devices  marked  as  ''swap''  swap  devices  in /etc/fstab are
> > made available, except for those with the ''noauto'' option.  Devices
> > that are already running as swap are silently skipped.
> >
> >




More information about the ubuntu-users mailing list